Lines Matching refs:fs
94 static errcode_t alloc_icount(ext2_filsys fs, int flags, ext2_icount_t *ret)
106 retval = ext2fs_allocate_inode_bitmap(fs, 0, &icount->single);
111 retval = ext2fs_allocate_inode_bitmap(fs, 0,
119 icount->num_inodes = fs->super->s_inodes_count;
176 errcode_t ext2fs_create_icount_tdb(ext2_filsys fs, char *tdb_dir,
184 retval = alloc_icount(fs, flags, &icount);
191 uuid_unparse(fs->super->s_uuid, uuid);
212 errcode_t ext2fs_create_icount2(ext2_filsys fs, int flags, unsigned int size,
226 retval = alloc_icount(fs, flags, &icount);
238 retval = ext2fs_get_num_dirs(fs, &icount->size);
241 icount->size += fs->super->s_inodes_count / 50;
277 errcode_t ext2fs_create_icount(ext2_filsys fs, int flags,
281 return ext2fs_create_icount2(fs, flags, size, 0, ret);
749 retval = ext2fs_initialize("test fs", 0, ¶m,