Lines Matching refs:bmbt
350 key->bmbt.br_startoff = in xfs_bmbt_init_key_from_rec()
351 cpu_to_be64(xfs_bmbt_disk_get_startoff(&rec->bmbt)); in xfs_bmbt_init_key_from_rec()
359 key->bmbt.br_startoff = cpu_to_be64( in xfs_bmbt_init_high_key_from_rec()
360 xfs_bmbt_disk_get_startoff(&rec->bmbt) + in xfs_bmbt_init_high_key_from_rec()
361 xfs_bmbt_disk_get_blockcount(&rec->bmbt) - 1); in xfs_bmbt_init_high_key_from_rec()
369 xfs_bmbt_disk_set_all(&rec->bmbt, &cur->bc_rec.b); in xfs_bmbt_init_rec_from_cur()
377 return (int64_t)be64_to_cpu(key->bmbt.br_startoff) - in xfs_bmbt_key_diff()
388 uint64_t a = be64_to_cpu(k1->bmbt.br_startoff); in xfs_bmbt_diff_two_keys()
389 uint64_t b = be64_to_cpu(k2->bmbt.br_startoff); in xfs_bmbt_diff_two_keys()
391 ASSERT(!mask || mask->bmbt.br_startoff); in xfs_bmbt_diff_two_keys()
491 return be64_to_cpu(k1->bmbt.br_startoff) < in xfs_bmbt_keys_inorder()
492 be64_to_cpu(k2->bmbt.br_startoff); in xfs_bmbt_keys_inorder()
501 return xfs_bmbt_disk_get_startoff(&r1->bmbt) + in xfs_bmbt_recs_inorder()
502 xfs_bmbt_disk_get_blockcount(&r1->bmbt) <= in xfs_bmbt_recs_inorder()
503 xfs_bmbt_disk_get_startoff(&r2->bmbt); in xfs_bmbt_recs_inorder()
513 ASSERT(!mask || mask->bmbt.br_startoff); in xfs_bmbt_keys_contiguous()
515 return xbtree_key_contig(be64_to_cpu(key1->bmbt.br_startoff), in xfs_bmbt_keys_contiguous()
516 be64_to_cpu(key2->bmbt.br_startoff)); in xfs_bmbt_keys_contiguous()