Home
last modified time | relevance | path

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

/fs/ocfs2/
Dsuballoc.c181 if (le16_to_cpu(gd->bg_free_bits_count) > le16_to_cpu(gd->bg_bits)) { in ocfs2_validate_gd_self()
184 le16_to_cpu(gd->bg_bits), in ocfs2_validate_gd_self()
188 if (le16_to_cpu(gd->bg_bits) > (8 * le16_to_cpu(gd->bg_size))) { in ocfs2_validate_gd_self()
191 le16_to_cpu(gd->bg_bits), in ocfs2_validate_gd_self()
214 if (le16_to_cpu(gd->bg_bits) > max_bits) { in ocfs2_validate_gd_parent()
217 le16_to_cpu(gd->bg_bits)); in ocfs2_validate_gd_parent()
331 rec->e_cpos = cpu_to_le32(le16_to_cpu(bg->bg_bits) / in ocfs2_bg_discontig_add_extent()
334 le16_add_cpu(&bg->bg_bits, clusters * le16_to_cpu(cl->cl_bpc)); in ocfs2_bg_discontig_add_extent()
380 bg->bg_bits = cpu_to_le16(ocfs2_bits_per_group(cl)); in ocfs2_block_group_fill()
387 bg->bg_free_bits_count = cpu_to_le16(le16_to_cpu(bg->bg_bits) - 1); in ocfs2_block_group_fill()
[all …]
Dresize.c107 old_bg_clusters = le16_to_cpu(group->bg_bits) / cl_bpc; in ocfs2_update_last_group_and_inode()
110 le16_add_cpu(&group->bg_bits, num_bits); in ocfs2_update_last_group_and_inode()
161 le16_add_cpu(&group->bg_bits, -1 * num_bits); in ocfs2_update_last_group_and_inode()
324 if (le16_to_cpu(group->bg_bits) / cl_bpc + new_clusters > in ocfs2_group_extend()
389 else if (le16_to_cpu(gd->bg_bits) != input->clusters * cl_bpc) in ocfs2_check_new_group()
393 le16_to_cpu(gd->bg_bits), input->clusters); in ocfs2_check_new_group()
398 le16_to_cpu(gd->bg_bits), in ocfs2_check_new_group()
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.c482 max_bits = le16_to_cpu(bg->bg_bits); in ocfs2_info_freefrag_scan_chain()