Lines Matching refs:free_inodes
57 sb->free_inodes = cpu_to_le32(le32_to_cpu(sb->free_inodes) - 1); in ext4fs_sb_free_inodes_dec()
73 uint32_t free_inodes = le16_to_cpu(bg->free_inodes); in ext4fs_bg_free_inodes_dec() local
75 free_inodes += le16_to_cpu(bg->free_inodes_high) << 16; in ext4fs_bg_free_inodes_dec()
76 free_inodes--; in ext4fs_bg_free_inodes_dec()
78 bg->free_inodes = cpu_to_le16(free_inodes & 0xffff); in ext4fs_bg_free_inodes_dec()
80 bg->free_inodes_high = cpu_to_le16(free_inodes >> 16); in ext4fs_bg_free_inodes_dec()
99 uint32_t free_inodes = le16_to_cpu(bg->bg_itable_unused); in ext4fs_bg_itable_unused_dec() local
101 free_inodes += le16_to_cpu(bg->bg_itable_unused_high) << 16; in ext4fs_bg_itable_unused_dec()
102 free_inodes--; in ext4fs_bg_itable_unused_dec()
104 bg->bg_itable_unused = cpu_to_le16(free_inodes & 0xffff); in ext4fs_bg_itable_unused_dec()
106 bg->bg_itable_unused_high = cpu_to_le16(free_inodes >> 16); in ext4fs_bg_itable_unused_dec()
135 uint32_t free_inodes = le16_to_cpu(bg->free_inodes); in ext4fs_bg_get_free_inodes() local
137 free_inodes += le16_to_cpu(bg->free_inodes_high) << 16; in ext4fs_bg_get_free_inodes()
138 return free_inodes; in ext4fs_bg_get_free_inodes()
1104 uint32_t free_inodes; in ext4fs_get_new_inode_no() local
1107 free_inodes = ext4fs_bg_get_free_inodes(bgd, fs); in ext4fs_get_new_inode_no()
1108 if (free_inodes) { in ext4fs_get_new_inode_no()
1113 bgd->bg_itable_unused = free_inodes; in ext4fs_get_new_inode_no()
1188 bgd->bg_itable_unused = bgd->free_inodes; in ext4fs_get_new_inode_no()