Lines Matching refs:bg_bits

197 	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()
509 le16_to_cpu(bg->bg_bits) / le16_to_cpu(cl->cl_bpc); in ocfs2_block_group_grow_discontig()
541 le16_to_cpu(bg->bg_bits) / le16_to_cpu(cl->cl_bpc); in ocfs2_block_group_grow_discontig()
737 le16_to_cpu(bg->bg_bits)); in ocfs2_block_group_alloc()
742 le32_add_cpu(&fe->id1.bitmap1.i_used, le16_to_cpu(bg->bg_bits) - in ocfs2_block_group_alloc()
744 le32_add_cpu(&fe->id1.bitmap1.i_total, le16_to_cpu(bg->bg_bits)); in ocfs2_block_group_alloc()
1379 if (le16_to_cpu(bg->bg_free_bits_count) > le16_to_cpu(bg->bg_bits)) { in ocfs2_block_group_set_bits()
1382 le16_to_cpu(bg->bg_bits), in ocfs2_block_group_set_bits()
1503 max_bits = le16_to_cpu(gd->bg_bits); in ocfs2_cluster_group_search()
1518 le16_to_cpu(gd->bg_bits), in ocfs2_cluster_group_search()
1574 le16_to_cpu(bg->bg_bits), in ocfs2_block_group_search()
2438 if (le16_to_cpu(bg->bg_free_bits_count) > le16_to_cpu(bg->bg_bits)) { in ocfs2_block_group_clear_bits()
2443 le16_to_cpu(bg->bg_bits), in ocfs2_block_group_clear_bits()
2496 BUG_ON((count + start_bit) > le16_to_cpu(group->bg_bits)); in _ocfs2_free_suballoc_bits()