Lines Matching refs:le16_to_cpu

107 	u16 cl_bpc = le16_to_cpu(cl->cl_bpc);  in ocfs2_update_last_group_and_inode()
108 u16 cl_cpg = le16_to_cpu(cl->cl_cpg); in ocfs2_update_last_group_and_inode()
123 old_bg_clusters = le16_to_cpu(group->bg_bits) / cl_bpc; in ocfs2_update_last_group_and_inode()
151 chain = le16_to_cpu(group->bg_chain); in ocfs2_update_last_group_and_inode()
318 if (le16_to_cpu(fe->id2.i_chain.cl_cpg) != in ocfs2_group_extend()
339 cl_bpc = le16_to_cpu(fe->id2.i_chain.cl_bpc); in ocfs2_group_extend()
340 if (le16_to_cpu(group->bg_bits) / cl_bpc + new_clusters > in ocfs2_group_extend()
341 le16_to_cpu(fe->id2.i_chain.cl_cpg)) { in ocfs2_group_extend()
393 u16 cl_bpc = le16_to_cpu(di->id2.i_chain.cl_bpc); in ocfs2_check_new_group()
400 if (le16_to_cpu(gd->bg_chain) != input->chain) in ocfs2_check_new_group()
404 le16_to_cpu(gd->bg_chain), input->chain); in ocfs2_check_new_group()
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()
410 else if (le16_to_cpu(gd->bg_free_bits_count) != input->frees * cl_bpc) in ocfs2_check_new_group()
414 le16_to_cpu(gd->bg_bits), in ocfs2_check_new_group()
428 u16 cl_count = le16_to_cpu(di->id2.i_chain.cl_count); in ocfs2_verify_group_and_input()
429 u16 cl_cpg = le16_to_cpu(di->id2.i_chain.cl_cpg); in ocfs2_verify_group_and_input()
430 u16 next_free = le16_to_cpu(di->id2.i_chain.cl_next_free_rec); in ocfs2_verify_group_and_input()
499 if (le16_to_cpu(fe->id2.i_chain.cl_cpg) != in ocfs2_group_add()
533 cl_bpc = le16_to_cpu(fe->id2.i_chain.cl_bpc); in ocfs2_group_add()
557 if (input->chain == le16_to_cpu(cl->cl_next_free_rec)) { in ocfs2_group_add()