Home
last modified time | relevance | path

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

/linux-6.12.1/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()
128 le16_to_cpu(group->bg_bits), 0); in ocfs2_update_last_group_and_inode()
168 le16_add_cpu(&group->bg_bits, -1 * num_bits); in ocfs2_update_last_group_and_inode()
332 if (le16_to_cpu(group->bg_bits) / cl_bpc + new_clusters > in ocfs2_group_extend()
397 else if (le16_to_cpu(gd->bg_bits) != input->clusters * cl_bpc) in ocfs2_check_new_group()
401 le16_to_cpu(gd->bg_bits), input->clusters); in ocfs2_check_new_group()
406 le16_to_cpu(gd->bg_bits), in ocfs2_check_new_group()
Dsuballoc.c185 if (le16_to_cpu(gd->bg_free_bits_count) > le16_to_cpu(gd->bg_bits)) { in ocfs2_validate_gd_self()
188 le16_to_cpu(gd->bg_bits), in ocfs2_validate_gd_self()
192 if (le16_to_cpu(gd->bg_bits) > (8 * le16_to_cpu(gd->bg_size))) { in ocfs2_validate_gd_self()
195 le16_to_cpu(gd->bg_bits), in ocfs2_validate_gd_self()
218 if (le16_to_cpu(gd->bg_bits) > max_bits) { in ocfs2_validate_gd_parent()
221 le16_to_cpu(gd->bg_bits)); in ocfs2_validate_gd_parent()
335 rec->e_cpos = cpu_to_le32(le16_to_cpu(bg->bg_bits) / in ocfs2_bg_discontig_add_extent()
338 le16_add_cpu(&bg->bg_bits, clusters * le16_to_cpu(cl->cl_bpc)); in ocfs2_bg_discontig_add_extent()
384 bg->bg_bits = cpu_to_le16(ocfs2_bits_per_group(cl)); in ocfs2_block_group_fill()
391 bg->bg_free_bits_count = cpu_to_le16(le16_to_cpu(bg->bg_bits) - 1); in ocfs2_block_group_fill()
[all …]
Dmove_extents.c437 (le16_to_cpu(bg->bg_bits) << bits_per_unit))) { in ocfs2_find_victim_alloc_group()
444 blkno, le16_to_cpu(bg->bg_bits), in ocfs2_find_victim_alloc_group()
504 if ((le16_to_cpu(bg->bg_bits) - goal_bit) * osb->s_clustersize < in ocfs2_validate_and_adjust_move_goal()
531 for (i = base_bit; i < le16_to_cpu(gd->bg_bits); i++) { in ocfs2_probe_alloc_group()
Docfs2_fs.h881 __le16 bg_bits; /* Bits represented by this member
Dioctl.c483 max_bits = le16_to_cpu(bg->bg_bits); in ocfs2_info_freefrag_scan_chain()