Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/ocfs2/
Dresize.c109 old_bg_clusters = le16_to_cpu(group->bg_bits) / cl_bpc; in ocfs2_update_last_group_and_inode()
112 le16_add_cpu(&group->bg_bits, num_bits); in ocfs2_update_last_group_and_inode()
163 le16_add_cpu(&group->bg_bits, -1 * num_bits); in ocfs2_update_last_group_and_inode()
326 if (le16_to_cpu(group->bg_bits) / cl_bpc + new_clusters > in ocfs2_group_extend()
391 else if (le16_to_cpu(gd->bg_bits) != input->clusters * cl_bpc) in ocfs2_check_new_group()
395 le16_to_cpu(gd->bg_bits), input->clusters); in ocfs2_check_new_group()
400 le16_to_cpu(gd->bg_bits), in ocfs2_check_new_group()
Dsuballoc.c183 if (le16_to_cpu(gd->bg_free_bits_count) > le16_to_cpu(gd->bg_bits)) { in ocfs2_validate_gd_self()
186 le16_to_cpu(gd->bg_bits), in ocfs2_validate_gd_self()
190 if (le16_to_cpu(gd->bg_bits) > (8 * le16_to_cpu(gd->bg_size))) { in ocfs2_validate_gd_self()
193 le16_to_cpu(gd->bg_bits), in ocfs2_validate_gd_self()
216 if (le16_to_cpu(gd->bg_bits) > max_bits) { in ocfs2_validate_gd_parent()
219 le16_to_cpu(gd->bg_bits)); in ocfs2_validate_gd_parent()
333 rec->e_cpos = cpu_to_le32(le16_to_cpu(bg->bg_bits) / in ocfs2_bg_discontig_add_extent()
336 le16_add_cpu(&bg->bg_bits, clusters * le16_to_cpu(cl->cl_bpc)); in ocfs2_bg_discontig_add_extent()
382 bg->bg_bits = cpu_to_le16(ocfs2_bits_per_group(cl)); in ocfs2_block_group_fill()
389 bg->bg_free_bits_count = cpu_to_le16(le16_to_cpu(bg->bg_bits) - 1); in ocfs2_block_group_fill()
[all …]
Dmove_extents.c449 le16_to_cpu(bg->bg_bits))) { in ocfs2_find_victim_alloc_group()
456 blkno, le16_to_cpu(bg->bg_bits), in ocfs2_find_victim_alloc_group()
516 if ((le16_to_cpu(bg->bg_bits) - goal_bit) * osb->s_clustersize < in ocfs2_validate_and_adjust_move_goal()
543 for (i = base_bit; i < le16_to_cpu(gd->bg_bits); i++) { in ocfs2_probe_alloc_group()
Docfs2_fs.h883 __le16 bg_bits; /* Bits represented by this member
Dioctl.c478 max_bits = le16_to_cpu(bg->bg_bits); in ocfs2_info_freefrag_scan_chain()