Lines Matching refs:be32_to_cpu
132 if (be32_to_cpu(rec->alloc.ar_blockcount) <= in xfs_allocbt_update_lastrec()
133 be32_to_cpu(agf->agf_longest)) in xfs_allocbt_update_lastrec()
160 pag->pagf_longest = be32_to_cpu(len); in xfs_allocbt_update_lastrec()
196 x = be32_to_cpu(rec->alloc.ar_startblock); in xfs_bnobt_init_high_key_from_rec()
197 x += be32_to_cpu(rec->alloc.ar_blockcount) - 1; in xfs_bnobt_init_high_key_from_rec()
227 ASSERT(cur->bc_ag.pag->pag_agno == be32_to_cpu(agf->agf_seqno)); in xfs_allocbt_init_ptr_from_cur()
240 return (int64_t)be32_to_cpu(kp->ar_startblock) - rec->ar_startblock; in xfs_bnobt_key_diff()
252 diff = (int64_t)be32_to_cpu(kp->ar_blockcount) - rec->ar_blockcount; in xfs_cntbt_key_diff()
256 return (int64_t)be32_to_cpu(kp->ar_startblock) - rec->ar_startblock; in xfs_cntbt_key_diff()
265 return (int64_t)be32_to_cpu(k1->alloc.ar_startblock) - in xfs_bnobt_diff_two_keys()
266 be32_to_cpu(k2->alloc.ar_startblock); in xfs_bnobt_diff_two_keys()
277 diff = be32_to_cpu(k1->alloc.ar_blockcount) - in xfs_cntbt_diff_two_keys()
278 be32_to_cpu(k2->alloc.ar_blockcount); in xfs_cntbt_diff_two_keys()
282 return be32_to_cpu(k1->alloc.ar_startblock) - in xfs_cntbt_diff_two_keys()
283 be32_to_cpu(k2->alloc.ar_startblock); in xfs_cntbt_diff_two_keys()
385 return be32_to_cpu(k1->alloc.ar_startblock) < in xfs_bnobt_keys_inorder()
386 be32_to_cpu(k2->alloc.ar_startblock); in xfs_bnobt_keys_inorder()
395 return be32_to_cpu(r1->alloc.ar_startblock) + in xfs_bnobt_recs_inorder()
396 be32_to_cpu(r1->alloc.ar_blockcount) <= in xfs_bnobt_recs_inorder()
397 be32_to_cpu(r2->alloc.ar_startblock); in xfs_bnobt_recs_inorder()
406 return be32_to_cpu(k1->alloc.ar_blockcount) < in xfs_cntbt_keys_inorder()
407 be32_to_cpu(k2->alloc.ar_blockcount) || in xfs_cntbt_keys_inorder()
409 be32_to_cpu(k1->alloc.ar_startblock) < in xfs_cntbt_keys_inorder()
410 be32_to_cpu(k2->alloc.ar_startblock)); in xfs_cntbt_keys_inorder()
419 return be32_to_cpu(r1->alloc.ar_blockcount) < in xfs_cntbt_recs_inorder()
420 be32_to_cpu(r2->alloc.ar_blockcount) || in xfs_cntbt_recs_inorder()
422 be32_to_cpu(r1->alloc.ar_startblock) < in xfs_cntbt_recs_inorder()
423 be32_to_cpu(r2->alloc.ar_startblock)); in xfs_cntbt_recs_inorder()
521 cur->bc_nlevels = be32_to_cpu(agf->agf_levels[XFS_BTNUM_CNT]); in xfs_allocbt_init_cursor()
523 cur->bc_nlevels = be32_to_cpu(agf->agf_levels[XFS_BTNUM_BNO]); in xfs_allocbt_init_cursor()