Home
last modified time | relevance | path

Searched refs:flex_group (Results 1 – 5 of 5) sorted by relevance

/fs/ext4/
Dialloc.c192 ext4_group_t flex_group; in ext4_free_inode() local
280 flex_group = ext4_flex_group(sbi, block_group); in ext4_free_inode()
281 spin_lock(sb_bgl_lock(sbi, flex_group)); in ext4_free_inode()
282 sbi->s_flex_groups[flex_group].free_inodes++; in ext4_free_inode()
283 spin_unlock(sb_bgl_lock(sbi, flex_group)); in ext4_free_inode()
347 struct flex_groups *flex_group = sbi->s_flex_groups; in find_group_flex() local
363 flexbg_free_blocks = flex_group[best_flex].free_blocks; in find_group_flex()
365 if (flex_group[best_flex].free_inodes && in find_group_flex()
378 flexbg_free_blocks = flex_group[i].free_blocks; in find_group_flex()
382 flex_group[i].free_inodes) { in find_group_flex()
[all …]
Dballoc.c475 ext4_group_t flex_group = ext4_flex_group(sbi, block_group); in ext4_add_groupblocks() local
476 spin_lock(sb_bgl_lock(sbi, flex_group)); in ext4_add_groupblocks()
477 sbi->s_flex_groups[flex_group].free_blocks += blocks_freed; in ext4_add_groupblocks()
478 spin_unlock(sb_bgl_lock(sbi, flex_group)); in ext4_add_groupblocks()
Dresize.c939 ext4_group_t flex_group; in ext4_group_add() local
940 flex_group = ext4_flex_group(sbi, input->group); in ext4_group_add()
941 sbi->s_flex_groups[flex_group].free_blocks += in ext4_group_add()
943 sbi->s_flex_groups[flex_group].free_inodes += in ext4_group_add()
Dmballoc.c3094 ext4_group_t flex_group = ext4_flex_group(sbi, in ext4_mb_mark_diskspace_used() local
3096 spin_lock(sb_bgl_lock(sbi, flex_group)); in ext4_mb_mark_diskspace_used()
3097 sbi->s_flex_groups[flex_group].free_blocks -= ac->ac_b_ex.fe_len; in ext4_mb_mark_diskspace_used()
3098 spin_unlock(sb_bgl_lock(sbi, flex_group)); in ext4_mb_mark_diskspace_used()
4930 ext4_group_t flex_group = ext4_flex_group(sbi, block_group); in ext4_mb_free_blocks() local
4931 spin_lock(sb_bgl_lock(sbi, flex_group)); in ext4_mb_free_blocks()
4932 sbi->s_flex_groups[flex_group].free_blocks += count; in ext4_mb_free_blocks()
4933 spin_unlock(sb_bgl_lock(sbi, flex_group)); in ext4_mb_free_blocks()
Dsuper.c1585 ext4_group_t flex_group; in ext4_fill_flex_info() local
1612 flex_group = ext4_flex_group(sbi, i); in ext4_fill_flex_info()
1613 sbi->s_flex_groups[flex_group].free_inodes += in ext4_fill_flex_info()
1615 sbi->s_flex_groups[flex_group].free_blocks += in ext4_fill_flex_info()