Lines Matching refs:inuse
18 int inuse, int isdir) in ext2fs_inode_alloc_stats2() argument
29 if (inuse > 0) in ext2fs_inode_alloc_stats2()
33 ext2fs_bg_free_inodes_count_set(fs, group, ext2fs_bg_free_inodes_count(fs, group) - inuse); in ext2fs_inode_alloc_stats2()
35 ext2fs_bg_used_dirs_count_set(fs, group, ext2fs_bg_used_dirs_count(fs, group) + inuse); in ext2fs_inode_alloc_stats2()
51 fs->super->s_free_inodes_count -= inuse; in ext2fs_inode_alloc_stats2()
56 void ext2fs_inode_alloc_stats(ext2_filsys fs, ext2_ino_t ino, int inuse) in ext2fs_inode_alloc_stats() argument
58 ext2fs_inode_alloc_stats2(fs, ino, inuse, 0); in ext2fs_inode_alloc_stats()
61 void ext2fs_block_alloc_stats2(ext2_filsys fs, blk64_t blk, int inuse) in ext2fs_block_alloc_stats2() argument
72 if (inuse > 0) in ext2fs_block_alloc_stats2()
76 ext2fs_bg_free_blocks_count_set(fs, group, ext2fs_bg_free_blocks_count(fs, group) - inuse); in ext2fs_block_alloc_stats2()
81 -inuse * EXT2FS_CLUSTER_RATIO(fs)); in ext2fs_block_alloc_stats2()
85 (fs->block_alloc_stats)(fs, (blk64_t) blk, inuse); in ext2fs_block_alloc_stats2()
88 void ext2fs_block_alloc_stats(ext2_filsys fs, blk_t blk, int inuse) in ext2fs_block_alloc_stats() argument
90 ext2fs_block_alloc_stats2(fs, blk, inuse); in ext2fs_block_alloc_stats()
96 int inuse), in ext2fs_set_block_alloc_stats_callback() argument
99 int inuse)) in ext2fs_set_block_alloc_stats_callback()