Home
last modified time | relevance | path

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

/linux-4.19.296/fs/ocfs2/
Dresize.c123 old_bg_clusters = le16_to_cpu(group->bg_bits) / cl_bpc; in ocfs2_update_last_group_and_inode()
126 le16_add_cpu(&group->bg_bits, num_bits); in ocfs2_update_last_group_and_inode()
177 le16_add_cpu(&group->bg_bits, -1 * num_bits); in ocfs2_update_last_group_and_inode()
340 if (le16_to_cpu(group->bg_bits) / cl_bpc + new_clusters > in ocfs2_group_extend()
405 else if (le16_to_cpu(gd->bg_bits) != input->clusters * cl_bpc) in ocfs2_check_new_group()
409 le16_to_cpu(gd->bg_bits), input->clusters); in ocfs2_check_new_group()
414 le16_to_cpu(gd->bg_bits), in ocfs2_check_new_group()
Dsuballoc.c197 if (le16_to_cpu(gd->bg_free_bits_count) > le16_to_cpu(gd->bg_bits)) { in ocfs2_validate_gd_self()
200 le16_to_cpu(gd->bg_bits), in ocfs2_validate_gd_self()
204 if (le16_to_cpu(gd->bg_bits) > (8 * le16_to_cpu(gd->bg_size))) { in ocfs2_validate_gd_self()
207 le16_to_cpu(gd->bg_bits), in ocfs2_validate_gd_self()
230 if (le16_to_cpu(gd->bg_bits) > max_bits) { in ocfs2_validate_gd_parent()
233 le16_to_cpu(gd->bg_bits)); in ocfs2_validate_gd_parent()
347 rec->e_cpos = cpu_to_le32(le16_to_cpu(bg->bg_bits) / in ocfs2_bg_discontig_add_extent()
350 le16_add_cpu(&bg->bg_bits, clusters * le16_to_cpu(cl->cl_bpc)); in ocfs2_bg_discontig_add_extent()
396 bg->bg_bits = cpu_to_le16(ocfs2_bits_per_group(cl)); in ocfs2_block_group_fill()
403 bg->bg_free_bits_count = cpu_to_le16(le16_to_cpu(bg->bg_bits) - 1); in ocfs2_block_group_fill()
[all …]
Dmove_extents.c447 (le16_to_cpu(bg->bg_bits) << bits_per_unit))) { in ocfs2_find_victim_alloc_group()
454 blkno, le16_to_cpu(bg->bg_bits), in ocfs2_find_victim_alloc_group()
514 if ((le16_to_cpu(bg->bg_bits) - goal_bit) * osb->s_clustersize < in ocfs2_validate_and_adjust_move_goal()
541 for (i = base_bit; i < le16_to_cpu(gd->bg_bits); i++) { in ocfs2_probe_alloc_group()
Docfs2_fs.h922 __le16 bg_bits; /* Bits represented by this member
Dioctl.c485 max_bits = le16_to_cpu(bg->bg_bits); in ocfs2_info_freefrag_scan_chain()