/src/sys/fs/v7fs/ |
v7fs_superblock.h | 34 struct v7fs_self; 38 int v7fs_superblock_load(struct v7fs_self *); 39 int v7fs_superblock_writeback(struct v7fs_self *); 40 int v7fs_freeblock_update(struct v7fs_self *, v7fs_daddr_t); 41 int v7fs_freeblock_endian_convert(struct v7fs_self *, struct v7fs_freeblock *); 42 int v7fs_freeinode_update(struct v7fs_self *); 45 void v7fs_superblock_status(struct v7fs_self *); 46 void v7fs_superblock_dump(const struct v7fs_self *);
|
v7fs_datablock.h | 36 bool datablock_number_sanity(const struct v7fs_self *, v7fs_daddr_t); 37 int v7fs_datablock_allocate(struct v7fs_self *, v7fs_daddr_t *); 38 int v7fs_datablock_foreach(struct v7fs_self *, struct v7fs_inode *, 39 int (*)(struct v7fs_self *, void *, v7fs_daddr_t, size_t), void *); 40 v7fs_daddr_t v7fs_datablock_last(struct v7fs_self *, struct v7fs_inode *, 42 int v7fs_datablock_expand(struct v7fs_self *, struct v7fs_inode *, size_t); 43 int v7fs_datablock_contract(struct v7fs_self *, struct v7fs_inode *, size_t); 44 int v7fs_datablock_size_change(struct v7fs_self *, size_t, struct v7fs_inode *);
|
v7fs_file.h | 44 int v7fs_file_lookup_by_name(struct v7fs_self *, struct v7fs_inode *, 46 int v7fs_file_allocate(struct v7fs_self *, struct v7fs_inode *, const char *, 48 int v7fs_file_deallocate(struct v7fs_self *, struct v7fs_inode *, const char *, 50 int v7fs_directory_add_entry(struct v7fs_self *,struct v7fs_inode *, v7fs_ino_t, 52 int v7fs_directory_remove_entry(struct v7fs_self *,struct v7fs_inode *, 56 int v7fs_file_rename(struct v7fs_self *, struct v7fs_inode *, const char *, 58 int v7fs_directory_replace_entry(struct v7fs_self *, struct v7fs_inode *, 60 int v7fs_file_link(struct v7fs_self *, struct v7fs_inode *, struct v7fs_inode *, 62 bool v7fs_file_lookup_by_number(struct v7fs_self *, struct v7fs_inode *, 64 int v7fs_file_symlink(struct v7fs_self *, struct v7fs_inode *, const char *) [all...] |
v7fs_dirent.h | 35 bool v7fs_dirent_endian_convert(struct v7fs_self *, struct v7fs_dirent *, int);
|
v7fs_inode.h | 71 int v7fs_inode_allocate(struct v7fs_self *, v7fs_ino_t *); 72 void v7fs_inode_deallocate(struct v7fs_self *, v7fs_ino_t); 75 int v7fs_inode_load(struct v7fs_self *, struct v7fs_inode *, v7fs_ino_t); 76 int v7fs_inode_writeback(struct v7fs_self *, struct v7fs_inode *); 77 void v7fs_inode_setup_memory_image(const struct v7fs_self *, 88 int v7fs_ilist_foreach(struct v7fs_self *, int (*)(struct v7fs_self *, void *,
|
v7fs_impl.h | 102 struct v7fs_self { struct 136 int v7fs_io_init(struct v7fs_self **, const struct v7fs_mount_device *, size_t); 137 void v7fs_io_fini(struct v7fs_self *); 138 void *scratch_read(struct v7fs_self *, daddr_t); 139 void scratch_free(struct v7fs_self *, void *); 140 int scratch_remain(const struct v7fs_self *);
|
v7fs_endian.h | 35 struct v7fs_self; 45 void v7fs_endian_init(struct v7fs_self *);
|
v7fs_datablock.c | 65 static int v7fs_datablock_deallocate(struct v7fs_self *, v7fs_daddr_t); 66 static int v7fs_loop1(struct v7fs_self *, v7fs_daddr_t, size_t *, 67 int (*)(struct v7fs_self *, void *, v7fs_daddr_t, size_t), void *); 68 static int v7fs_loop2(struct v7fs_self *, v7fs_daddr_t, size_t *, 69 int (*)(struct v7fs_self *, void *, v7fs_daddr_t, size_t), void *); 70 static v7fs_daddr_t v7fs_link(struct v7fs_self *, v7fs_daddr_t, int); 71 static v7fs_daddr_t v7fs_add_leaf(struct v7fs_self *, v7fs_daddr_t, int); 72 static v7fs_daddr_t v7fs_unlink(struct v7fs_self *, v7fs_daddr_t, int); 73 static v7fs_daddr_t v7fs_remove_leaf(struct v7fs_self *, v7fs_daddr_t, int); 74 static v7fs_daddr_t v7fs_remove_self(struct v7fs_self *, v7fs_daddr_t) [all...] |
v7fs_file_util.c | 61 static int replace_subr(struct v7fs_self *, void *, v7fs_daddr_t, size_t); 62 static int lookup_by_number_subr(struct v7fs_self *, void *, v7fs_daddr_t, 64 static int can_dirmove(struct v7fs_self *, v7fs_ino_t, v7fs_ino_t); 65 static int lookup_parent_from_dir_subr(struct v7fs_self *, void *, 69 v7fs_file_link(struct v7fs_self *fs, struct v7fs_inode *parent_dir, 88 v7fs_file_symlink(struct v7fs_self *fs, struct v7fs_inode *p, 121 v7fs_file_rename(struct v7fs_self *fs, struct v7fs_inode *parent_from, 187 v7fs_directory_replace_entry(struct v7fs_self *fs, struct v7fs_inode *self_dir, 203 replace_subr(struct v7fs_self *fs, void *ctx, v7fs_daddr_t blk, size_t sz) 237 v7fs_file_lookup_by_number(struct v7fs_self *fs, struct v7fs_inode *parent_dir [all...] |
v7fs_io.c | 64 scratch_read(struct v7fs_self *fs, daddr_t blk) 107 scratch_remain(const struct v7fs_self *fs) 126 scratch_free(struct v7fs_self *fs __unused, void *p)
|
v7fs_superblock.c | 66 static void v7fs_superblock_endian_convert(struct v7fs_self *, 68 static int v7fs_superblock_sanity(struct v7fs_self *); 72 v7fs_superblock_load(struct v7fs_self *fs) 92 v7fs_superblock_writeback(struct v7fs_self *fs) 118 v7fs_superblock_sanity(struct v7fs_self *fs) 143 v7fs_freeblock_update(struct v7fs_self *fs, v7fs_daddr_t blk) 172 v7fs_freeblock_endian_convert(struct v7fs_self *fs __unused, 197 v7fs_freeinode_update(struct v7fs_self *fs) 233 v7fs_superblock_endian_convert(struct v7fs_self *fs __unused,
|
v7fs_inode.c | 64 static void v7fs_inode_setup_disk_image(const struct v7fs_self *, 66 static int v7fs_inode_inquire_disk_location(const struct v7fs_self *, 100 v7fs_inode_allocate(struct v7fs_self *fs, v7fs_ino_t *ino) 139 v7fs_inode_deallocate(struct v7fs_self *fs, v7fs_ino_t ino) 161 v7fs_inode_setup_memory_image(const struct v7fs_self *fs __unused, 195 v7fs_inode_setup_disk_image(const struct v7fs_self *fs __unused, 221 v7fs_inode_load(struct v7fs_self *fs, struct v7fs_inode *p, v7fs_ino_t n) 249 v7fs_inode_writeback(struct v7fs_self *fs, struct v7fs_inode *mem) 280 v7fs_inode_inquire_disk_location(const struct v7fs_self *fs
|
v7fs_superblock_util.c | 64 v7fs_superblock_status(struct v7fs_self *fs) 80 v7fs_superblock_dump(const struct v7fs_self *fs)
|
v7fs_file.c | 65 static int lookup_subr(struct v7fs_self *, void *, v7fs_daddr_t, size_t); 66 static int remove_subr(struct v7fs_self *, void *, v7fs_daddr_t, size_t); 69 v7fs_file_lookup_by_name(struct v7fs_self *fs, struct v7fs_inode *parent_dir, 94 lookup_subr(struct v7fs_self *fs, void *ctx, v7fs_daddr_t blk, size_t sz) 129 v7fs_file_allocate(struct v7fs_self *fs, struct v7fs_inode *parent_dir, 222 v7fs_file_deallocate(struct v7fs_self *fs, struct v7fs_inode *parent_dir, 275 v7fs_directory_add_entry(struct v7fs_self *fs, struct v7fs_inode *parent_dir, 329 v7fs_directory_remove_entry(struct v7fs_self *fs, struct v7fs_inode *parent_dir, 381 remove_subr(struct v7fs_self *fs, void *ctx, v7fs_daddr_t blk, size_t sz)
|
v7fs_dirent.c | 63 v7fs_dirent_endian_convert(struct v7fs_self *fs, struct v7fs_dirent *dir, int n)
|
v7fs_io_user.c | 71 v7fs_io_init(struct v7fs_self **fs, const struct v7fs_mount_device *mount, 74 struct v7fs_self *p; 76 if (!(p = (struct v7fs_self *)malloc(sizeof(*p)))) 107 v7fs_io_fini(struct v7fs_self *fs)
|
v7fs_inode_util.c | 96 (struct v7fs_self *fs, 97 int (*func)(struct v7fs_self *, void *, struct v7fs_inode *, v7fs_ino_t),
|
/src/sbin/fsck_v7fs/ |
fsck_v7fs.h | 55 char *filename(struct v7fs_self *, v7fs_ino_t); 62 int pathname_check(struct v7fs_self *); 63 int ilist_check(struct v7fs_self *); 64 int freeinode_check(struct v7fs_self *); 65 int freeblock_check(struct v7fs_self *); 66 int datablock_vs_datablock_check(struct v7fs_self *); 67 int datablock_vs_freeblock_check(struct v7fs_self *); 68 int freeblock_vs_freeblock_check(struct v7fs_self *); 70 void freeblock_dup_remove(struct v7fs_self *, v7fs_daddr_t); 72 int v7fs_freeblock_foreach(struct v7fs_self *, [all...] |
datablock.c | 49 static void datablock_dup_remove(struct v7fs_self *, v7fs_ino_t, v7fs_ino_t, 62 freeblock_subr(struct v7fs_self *fs, void *ctx, v7fs_daddr_t freeblk) 80 datablock_subr(struct v7fs_self *fs, void *ctx, v7fs_daddr_t blk, 95 inode_subr(struct v7fs_self *fs, void *ctx, struct v7fs_inode *p, 111 datablock_vs_freeblock_check(struct v7fs_self *fs) 133 datablock_i_j(struct v7fs_self *fs, void *ctx, v7fs_daddr_t blk, size_t sz 154 loopover_j(struct v7fs_self *fs, void *ctx, struct v7fs_inode *p, 173 datablock_i(struct v7fs_self *fs, void *ctx, v7fs_daddr_t blk, 189 loopover_i(struct v7fs_self *fs, void *ctx, struct v7fs_inode *inode, 206 datablock_vs_datablock_check(struct v7fs_self *fs [all...] |
pathname.c | 58 connect_lost_and_found(struct v7fs_self *fs, v7fs_ino_t ino) 84 lookup_child_subr(struct v7fs_self *fs, void *ctx, v7fs_daddr_t blk, size_t sz) 123 lookup_child_from_dir(struct v7fs_self *fs, struct v7fs_inode *p, bool print) 140 lookup_parent_from_file_subr(struct v7fs_self *fs, void *ctx, 158 lookup_parent_from_file(struct v7fs_self *fs, v7fs_ino_t ino) 169 lookup_parent_from_dir_subr(struct v7fs_self *fs, void *ctx, v7fs_daddr_t blk, 199 lookup_parent_from_dir(struct v7fs_self *fs, struct v7fs_inode *p) 210 pathname_check_file(struct v7fs_self *fs, struct v7fs_inode *p, v7fs_ino_t ino) 232 pathname_check_dir(struct v7fs_self *fs, struct v7fs_inode *p, v7fs_ino_t ino) 271 pathname_subr(struct v7fs_self *fs, void *ctx __unused, struct v7fs_inode *p [all...] |
inode.c | 53 freeinode_check(struct v7fs_self *fs) 99 v7fs_inode_check(struct v7fs_self *fs, struct v7fs_inode *p, v7fs_ino_t ino) 118 ilistcheck_subr(struct v7fs_self *fs, void *ctx, struct v7fs_inode *p, 135 ilist_check(struct v7fs_self *fs)
|
freeblock.c | 55 freeblock_subr_cnt(struct v7fs_self *fs __unused, void *ctx, 65 freeblock_subr_j(struct v7fs_self *fs, void *ctx, v7fs_daddr_t blk) 94 freeblock_subr_i(struct v7fs_self *fs, void *ctx, v7fs_daddr_t blk) 117 freeblock_vs_freeblock_check(struct v7fs_self *fs) 133 freeblock_dup_remove(struct v7fs_self *fs, v7fs_daddr_t dupblk) 207 v7fs_freeblock_foreach(struct v7fs_self *fs, 208 int (*func)(struct v7fs_self *, void *, v7fs_daddr_t), void *ctx) 262 freeblock_check(struct v7fs_self *fs)
|
main.c | 52 static int check_filesystem(struct v7fs_self *, int); 53 static int make_lost_and_found(struct v7fs_self *, struct v7fs_inode *); 60 struct v7fs_self *fs; 89 check_filesystem(struct v7fs_self *fs, int flags) 223 make_lost_and_found(struct v7fs_self *fs, struct v7fs_inode *p)
|
/src/sbin/newfs_v7fs/ |
main.c | 76 partition_check(struct v7fs_self *fs) 99 make_root(struct v7fs_self *fs) 160 make_freeblocklist(struct v7fs_self *fs, v7fs_daddr_t listblk, uint8_t *buf) 201 make_filesystem(struct v7fs_self *fs, v7fs_daddr_t volume_size, 273 struct v7fs_self *fs;
|
/src/usr.sbin/makefs/v7fs/ |
v7fs_populate.c | 81 allocate(struct v7fs_self *fs, struct v7fs_inode *parent_inode, fsnode *node, 115 copy_subr(struct v7fs_self *fs, void *ctx, v7fs_daddr_t blk, size_t sz) 133 file_copy(struct v7fs_self *fs, struct v7fs_inode *parent_inode, fsnode *node, 194 populate_walk(struct v7fs_self *fs, struct v7fs_inode *parent_inode, 264 struct v7fs_self *fs;
|