Home
last modified time | relevance | path

Searched refs:rrec (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/fs/xfs/libxfs/
Dxfs_ag.c481 struct xfs_rmap_rec *rrec; in xfs_rmaproot_init() local
494 rrec = XFS_RMAP_REC_ADDR(block, 1); in xfs_rmaproot_init()
495 rrec->rm_startblock = 0; in xfs_rmaproot_init()
496 rrec->rm_blockcount = cpu_to_be32(XFS_BNO_BLOCK(mp)); in xfs_rmaproot_init()
497 rrec->rm_owner = cpu_to_be64(XFS_RMAP_OWN_FS); in xfs_rmaproot_init()
498 rrec->rm_offset = 0; in xfs_rmaproot_init()
501 rrec = XFS_RMAP_REC_ADDR(block, 2); in xfs_rmaproot_init()
502 rrec->rm_startblock = cpu_to_be32(XFS_BNO_BLOCK(mp)); in xfs_rmaproot_init()
503 rrec->rm_blockcount = cpu_to_be32(2); in xfs_rmaproot_init()
504 rrec->rm_owner = cpu_to_be64(XFS_RMAP_OWN_AG); in xfs_rmaproot_init()
[all …]
Dxfs_ialloc.c1382 struct xfs_inobt_rec_incore rrec; in xfs_dialloc_ag_finobt_near() local
1417 error = xfs_inobt_get_rec(rcur, &rrec, &j); in xfs_dialloc_ag_finobt_near()
1438 (rrec.ir_startino - pagino)) { in xfs_dialloc_ag_finobt_near()
1439 *rec = rrec; in xfs_dialloc_ag_finobt_near()
1447 *rec = rrec; in xfs_dialloc_ag_finobt_near()
/linux-6.12.1/fs/xfs/scrub/
Dcow_repair.c139 struct xfs_refcount_irec rrec; in xrep_cow_mark_shared_staging() local
146 xrep_cow_trim_refcount(xc, &rrec, rec); in xrep_cow_mark_shared_staging()
149 rrec.rc_startblock); in xrep_cow_mark_shared_staging()
150 return xrep_cow_mark_file_range(xc, fsbno, rrec.rc_blockcount); in xrep_cow_mark_shared_staging()
168 struct xfs_refcount_irec rrec; in xrep_cow_mark_missing_staging() local
175 xrep_cow_trim_refcount(xc, &rrec, rec); in xrep_cow_mark_missing_staging()
177 if (xc->next_bno >= rrec.rc_startblock) in xrep_cow_mark_missing_staging()
183 rrec.rc_startblock - xc->next_bno); in xrep_cow_mark_missing_staging()
188 xc->next_bno = rrec.rc_startblock + rrec.rc_blockcount; in xrep_cow_mark_missing_staging()