Lines Matching defs:fs
60 struct v7fs_self *fs;
63 if ((error = v7fs_io_init(&fs, mount, V7FS_BSIZE))) {
68 if ((error = v7fs_superblock_load(fs))) {
79 error = check_filesystem(fs, flags);
82 v7fs_io_fini(fs);
89 check_filesystem(struct v7fs_self *fs, int flags)
95 v7fs_superblock_dump(fs);
97 if ((error = freeinode_check(fs)))
102 if ((error = freeblock_check(fs)))
107 if ((error = ilist_check(fs)))
112 if ((error = make_lost_and_found(fs, &lost_and_found)))
117 if ((error = pathname_check(fs)))
123 if ((error = freeblock_vs_freeblock_check(fs)))
130 if ((error = datablock_vs_datablock_check(fs)))
138 if ((error = datablock_vs_freeblock_check(fs)))
223 make_lost_and_found(struct v7fs_self *fs, struct v7fs_inode *p)
230 if ((error = v7fs_inode_load(fs, &root_inode, V7FS_ROOT_INODE))) {
244 if (!(error = v7fs_file_allocate(fs, &root_inode,
246 v7fs_superblock_writeback(fs);
257 if ((error = v7fs_inode_load(fs, p, ino))) {