Home
last modified time | relevance | path

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

/linux-4.4.14/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.c199 if (le16_to_cpu(gd->bg_free_bits_count) > le16_to_cpu(gd->bg_bits)) { in ocfs2_validate_gd_self()
202 le16_to_cpu(gd->bg_bits), in ocfs2_validate_gd_self()
206 if (le16_to_cpu(gd->bg_bits) > (8 * le16_to_cpu(gd->bg_size))) { in ocfs2_validate_gd_self()
209 le16_to_cpu(gd->bg_bits), in ocfs2_validate_gd_self()
232 if (le16_to_cpu(gd->bg_bits) > max_bits) { in ocfs2_validate_gd_parent()
235 le16_to_cpu(gd->bg_bits)); in ocfs2_validate_gd_parent()
349 rec->e_cpos = cpu_to_le32(le16_to_cpu(bg->bg_bits) / in ocfs2_bg_discontig_add_extent()
352 le16_add_cpu(&bg->bg_bits, clusters * le16_to_cpu(cl->cl_bpc)); in ocfs2_bg_discontig_add_extent()
398 bg->bg_bits = cpu_to_le16(ocfs2_bits_per_group(cl)); in ocfs2_block_group_fill()
405 bg->bg_free_bits_count = cpu_to_le16(le16_to_cpu(bg->bg_bits) - 1); in ocfs2_block_group_fill()
[all …]
Dmove_extents.c439 le16_to_cpu(bg->bg_bits))) { in ocfs2_find_victim_alloc_group()
446 blkno, le16_to_cpu(bg->bg_bits), in ocfs2_find_victim_alloc_group()
506 if ((le16_to_cpu(bg->bg_bits) - goal_bit) * osb->s_clustersize < in ocfs2_validate_and_adjust_move_goal()
533 for (i = base_bit; i < le16_to_cpu(gd->bg_bits); i++) { in ocfs2_probe_alloc_group()
Docfs2_fs.h923 __le16 bg_bits; /* Bits represented by this member
Dioctl.c484 max_bits = le16_to_cpu(bg->bg_bits); in ocfs2_info_freefrag_scan_chain()