Lines Matching refs:be32_to_cpu

131 		if (be32_to_cpu(rec->alloc.ar_blockcount) <=  in xfs_allocbt_update_lastrec()
132 be32_to_cpu(agf->agf_longest)) in xfs_allocbt_update_lastrec()
159 pag->pagf_longest = be32_to_cpu(len); in xfs_allocbt_update_lastrec()
195 x = be32_to_cpu(rec->alloc.ar_startblock); in xfs_bnobt_init_high_key_from_rec()
196 x += be32_to_cpu(rec->alloc.ar_blockcount) - 1; in xfs_bnobt_init_high_key_from_rec()
226 ASSERT(cur->bc_ag.pag->pag_agno == be32_to_cpu(agf->agf_seqno)); in xfs_allocbt_init_ptr_from_cur()
239 return (int64_t)be32_to_cpu(kp->ar_startblock) - rec->ar_startblock; in xfs_bnobt_key_diff()
251 diff = (int64_t)be32_to_cpu(kp->ar_blockcount) - rec->ar_blockcount; in xfs_cntbt_key_diff()
255 return (int64_t)be32_to_cpu(kp->ar_startblock) - rec->ar_startblock; in xfs_cntbt_key_diff()
264 return (int64_t)be32_to_cpu(k1->alloc.ar_startblock) - in xfs_bnobt_diff_two_keys()
265 be32_to_cpu(k2->alloc.ar_startblock); in xfs_bnobt_diff_two_keys()
276 diff = be32_to_cpu(k1->alloc.ar_blockcount) - in xfs_cntbt_diff_two_keys()
277 be32_to_cpu(k2->alloc.ar_blockcount); in xfs_cntbt_diff_two_keys()
281 return be32_to_cpu(k1->alloc.ar_startblock) - in xfs_cntbt_diff_two_keys()
282 be32_to_cpu(k2->alloc.ar_startblock); in xfs_cntbt_diff_two_keys()
384 return be32_to_cpu(k1->alloc.ar_startblock) < in xfs_bnobt_keys_inorder()
385 be32_to_cpu(k2->alloc.ar_startblock); in xfs_bnobt_keys_inorder()
394 return be32_to_cpu(r1->alloc.ar_startblock) + in xfs_bnobt_recs_inorder()
395 be32_to_cpu(r1->alloc.ar_blockcount) <= in xfs_bnobt_recs_inorder()
396 be32_to_cpu(r2->alloc.ar_startblock); in xfs_bnobt_recs_inorder()
405 return be32_to_cpu(k1->alloc.ar_blockcount) < in xfs_cntbt_keys_inorder()
406 be32_to_cpu(k2->alloc.ar_blockcount) || in xfs_cntbt_keys_inorder()
408 be32_to_cpu(k1->alloc.ar_startblock) < in xfs_cntbt_keys_inorder()
409 be32_to_cpu(k2->alloc.ar_startblock)); in xfs_cntbt_keys_inorder()
418 return be32_to_cpu(r1->alloc.ar_blockcount) < in xfs_cntbt_recs_inorder()
419 be32_to_cpu(r2->alloc.ar_blockcount) || in xfs_cntbt_recs_inorder()
421 be32_to_cpu(r1->alloc.ar_startblock) < in xfs_cntbt_recs_inorder()
422 be32_to_cpu(r2->alloc.ar_startblock)); in xfs_cntbt_recs_inorder()
520 cur->bc_nlevels = be32_to_cpu(agf->agf_levels[XFS_BTNUM_CNT]); in xfs_allocbt_init_cursor()
522 cur->bc_nlevels = be32_to_cpu(agf->agf_levels[XFS_BTNUM_BNO]); in xfs_allocbt_init_cursor()