Home | History | Annotate | Download | only in ext2fs

Lines Matching refs:inuse

19 			       int inuse, int isdir)
30 if (inuse > 0)
34 ext2fs_bg_free_inodes_count_set(fs, group, ext2fs_bg_free_inodes_count(fs, group) - inuse);
36 ext2fs_bg_used_dirs_count_set(fs, group, ext2fs_bg_used_dirs_count(fs, group) + inuse);
38 /* We don't strictly need to be clearing the uninit flag if inuse < 0
51 fs->super->s_free_inodes_count -= inuse;
56 void ext2fs_inode_alloc_stats(ext2_filsys fs, ext2_ino_t ino, int inuse)
58 ext2fs_inode_alloc_stats2(fs, ino, inuse, 0);
61 void ext2fs_block_alloc_stats2(ext2_filsys fs, blk64_t blk, int inuse)
72 if (inuse > 0)
76 ext2fs_bg_free_blocks_count_set(fs, group, ext2fs_bg_free_blocks_count(fs, group) - inuse);
81 -inuse * (blk64_t) EXT2FS_CLUSTER_RATIO(fs));
85 (fs->block_alloc_stats)(fs, (blk64_t) blk, inuse);
88 void ext2fs_block_alloc_stats(ext2_filsys fs, blk_t blk, int inuse)
90 ext2fs_block_alloc_stats2(fs, blk, inuse);
96 int inuse),
99 int inuse))
110 blk_t num, int inuse)
120 if (inuse == 0)
122 if (inuse > 0) {
124 inuse = 1;
127 inuse = -1;
139 inuse*n/EXT2FS_CLUSTER_RATIO(fs));
142 ext2fs_free_blocks_count_add(fs->super, -inuse * (blk64_t) n);
149 (fs->block_alloc_stats_range)(fs, blk, num, inuse);
154 blk_t num, int inuse),
156 blk_t num, int inuse))