Home
last modified time | relevance | path

Searched refs:cl_bpc (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/fs/ocfs2/
Dresize.c91 u16 cl_bpc = le16_to_cpu(cl->cl_bpc); in ocfs2_update_last_group_and_inode() local
107 old_bg_clusters = le16_to_cpu(group->bg_bits) / cl_bpc; in ocfs2_update_last_group_and_inode()
109 num_bits = new_clusters * cl_bpc; in ocfs2_update_last_group_and_inode()
267 u16 cl_bpc; in ocfs2_group_extend() local
323 cl_bpc = le16_to_cpu(fe->id2.i_chain.cl_bpc); in ocfs2_group_extend()
324 if (le16_to_cpu(group->bg_bits) / cl_bpc + new_clusters > in ocfs2_group_extend()
377 u16 cl_bpc = le16_to_cpu(di->id2.i_chain.cl_bpc); in ocfs2_check_new_group() local
389 else if (le16_to_cpu(gd->bg_bits) != input->clusters * cl_bpc) in ocfs2_check_new_group()
394 else if (le16_to_cpu(gd->bg_free_bits_count) != input->frees * cl_bpc) in ocfs2_check_new_group()
399 input->frees * cl_bpc); in ocfs2_check_new_group()
[all …]
Dsuballoc.c146 return (u32)le16_to_cpu(cl->cl_cpg) * (u32)le16_to_cpu(cl->cl_bpc); in ocfs2_bits_per_group()
213 max_bits = le16_to_cpu(di->id2.i_chain.cl_cpg) * le16_to_cpu(di->id2.i_chain.cl_bpc); in ocfs2_validate_gd_parent()
332 le16_to_cpu(cl->cl_bpc)); 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()
336 clusters * le16_to_cpu(cl->cl_bpc)); in ocfs2_bg_discontig_add_extent()
493 le16_to_cpu(bg->bg_bits) / le16_to_cpu(cl->cl_bpc); in ocfs2_block_group_grow_discontig()
525 le16_to_cpu(bg->bg_bits) / le16_to_cpu(cl->cl_bpc); in ocfs2_block_group_grow_discontig()
1623 unsigned int bpc = le16_to_cpu(cl->cl_bpc); in ocfs2_bg_discontig_fix_by_rec()
Docfs2_fs.h481 __le16 cl_bpc; /* Bits per cluster */ member