Home
last modified time | relevance | path

Searched refs:ar_startblock (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.6/fs/xfs/libxfs/
Dxfs_alloc_btree.c185 key->alloc.ar_startblock = rec->alloc.ar_startblock; in xfs_allocbt_init_key_from_rec()
196 x = be32_to_cpu(rec->alloc.ar_startblock); in xfs_bnobt_init_high_key_from_rec()
198 key->alloc.ar_startblock = cpu_to_be32(x); in xfs_bnobt_init_high_key_from_rec()
208 key->alloc.ar_startblock = 0; in xfs_cntbt_init_high_key_from_rec()
216 rec->alloc.ar_startblock = cpu_to_be32(cur->bc_rec.a.ar_startblock); in xfs_allocbt_init_rec_from_cur()
240 return (int64_t)be32_to_cpu(kp->ar_startblock) - rec->ar_startblock; in xfs_bnobt_key_diff()
256 return (int64_t)be32_to_cpu(kp->ar_startblock) - rec->ar_startblock; in xfs_cntbt_key_diff()
266 ASSERT(!mask || mask->alloc.ar_startblock); in xfs_bnobt_diff_two_keys()
268 return (int64_t)be32_to_cpu(k1->alloc.ar_startblock) - in xfs_bnobt_diff_two_keys()
269 be32_to_cpu(k2->alloc.ar_startblock); in xfs_bnobt_diff_two_keys()
[all …]
Dxfs_ag.c488 arec->ar_startblock = cpu_to_be32(mp->m_ag_prealloc_blocks); in xfs_freesp_init_recs()
510 nrec->ar_startblock = cpu_to_be32( in xfs_freesp_init_recs()
511 be32_to_cpu(arec->ar_startblock) + in xfs_freesp_init_recs()
518 be32_add_cpu(&arec->ar_startblock, mp->m_sb.sb_logblocks); in xfs_freesp_init_recs()
526 be32_to_cpu(arec->ar_startblock)); in xfs_freesp_init_recs()
Dxfs_alloc.c165 cur->bc_rec.a.ar_startblock = bno; in xfs_alloc_lookup_eq()
185 cur->bc_rec.a.ar_startblock = bno; in xfs_alloc_lookup_ge()
204 cur->bc_rec.a.ar_startblock = bno; in xfs_alloc_lookup_le()
231 rec.alloc.ar_startblock = cpu_to_be32(bno); in xfs_alloc_update()
242 irec->ar_startblock = be32_to_cpu(rec->alloc.ar_startblock); in xfs_alloc_btrec_to_irec()
258 if (!xfs_verify_agbext(pag, irec->ar_startblock, irec->ar_blockcount)) in xfs_alloc_check_irec()
277 "start block 0x%x block count 0x%x", irec->ar_startblock, in xfs_alloc_complain_bad_rec()
306 *bno = irec.ar_startblock; in xfs_alloc_get_rec()
3885 low.a.ar_startblock = bno; in xfs_alloc_has_records()
3887 high.a.ar_startblock = bno + len - 1; in xfs_alloc_has_records()
Dxfs_format.h1384 __be32 ar_startblock; /* starting block number */ member
1389 xfs_agblock_t ar_startblock; /* starting block number */ member
/Linux-v6.6/fs/xfs/scrub/
Dalloc.c89 xfs_agblock_t agbno = irec->ar_startblock; in xchk_allocbt_xref()
113 ca->prev.ar_startblock + ca->prev.ar_blockcount == irec->ar_startblock && in xchk_allocbt_mergeable()
/Linux-v6.6/fs/xfs/
Dxfs_discard.c180 if (tcur->ar_startblock == NULLAGBLOCK) in xfs_trim_gather_extents()
183 error = xfs_alloc_lookup_le(cur, tcur->ar_startblock, in xfs_trim_gather_extents()
216 tcur->ar_startblock = fbno; in xfs_trim_gather_extents()
307 .ar_startblock = NULLAGBLOCK, in xfs_trim_extents()
Dxfs_fsmap.c404 rec->ar_startblock); in xfs_getfsmap_datadev_bnobt_helper()
406 irec.rm_startblock = rec->ar_startblock; in xfs_getfsmap_datadev_bnobt_helper()
771 key->ar_startblock = info->low.rm_startblock; in xfs_getfsmap_datadev_bnobt_query()
772 key[1].ar_startblock = info->high.rm_startblock; in xfs_getfsmap_datadev_bnobt_query()