Home
last modified time | relevance | path

Searched refs:rm_startblock (Results 1 – 11 of 11) sorted by relevance

/linux-5.19.10/fs/xfs/libxfs/
Dxfs_rmap.c46 cur->bc_rec.r.rm_startblock = bno; in xfs_rmap_lookup_le()
79 cur->bc_rec.r.rm_startblock = bno; in xfs_rmap_lookup_eq()
101 irec->rm_startblock, irec->rm_blockcount, in xfs_rmap_update()
104 rec.rmap.rm_startblock = cpu_to_be32(irec->rm_startblock); in xfs_rmap_update()
139 rcur->bc_rec.r.rm_startblock = agbno; in xfs_rmap_insert()
201 irec->rm_startblock = be32_to_cpu(rec->rmap.rm_startblock); in xfs_rmap_btrec_to_irec()
231 if (irec->rm_startblock <= XFS_AGFL_BLOCK(mp)) { in xfs_rmap_get_rec()
238 if (!xfs_verify_agbno(mp, agno, irec->rm_startblock)) in xfs_rmap_get_rec()
240 if (irec->rm_startblock > in xfs_rmap_get_rec()
241 irec->rm_startblock + irec->rm_blockcount) in xfs_rmap_get_rec()
[all …]
Dxfs_rmap_btree.c164 key->rmap.rm_startblock = rec->rmap.rm_startblock; in xfs_rmapbt_init_key_from_rec()
186 key->rmap.rm_startblock = rec->rmap.rm_startblock; in xfs_rmapbt_init_high_key_from_rec()
187 be32_add_cpu(&key->rmap.rm_startblock, adj); in xfs_rmapbt_init_high_key_from_rec()
203 rec->rmap.rm_startblock = cpu_to_be32(cur->bc_rec.r.rm_startblock); in xfs_rmapbt_init_rec_from_cur()
232 d = (int64_t)be32_to_cpu(kp->rm_startblock) - rec->rm_startblock; in xfs_rmapbt_key_diff()
263 d = (int64_t)be32_to_cpu(kp1->rm_startblock) - in xfs_rmapbt_diff_two_keys()
264 be32_to_cpu(kp2->rm_startblock); in xfs_rmapbt_diff_two_keys()
378 x = be32_to_cpu(k1->rmap.rm_startblock); in xfs_rmapbt_keys_inorder()
379 y = be32_to_cpu(k2->rmap.rm_startblock); in xfs_rmapbt_keys_inorder()
408 x = be32_to_cpu(r1->rmap.rm_startblock); in xfs_rmapbt_recs_inorder()
[all …]
Dxfs_ag.c444 rrec->rm_startblock = 0; in xfs_rmaproot_init()
451 rrec->rm_startblock = cpu_to_be32(XFS_BNO_BLOCK(mp)); in xfs_rmaproot_init()
458 rrec->rm_startblock = cpu_to_be32(XFS_IBT_BLOCK(mp)); in xfs_rmaproot_init()
466 rrec->rm_startblock = cpu_to_be32(XFS_RMAP_BLOCK(mp)); in xfs_rmaproot_init()
474 rrec->rm_startblock = cpu_to_be32(xfs_refc_block(mp)); in xfs_rmaproot_init()
485 rrec->rm_startblock = cpu_to_be32( in xfs_rmaproot_init()
Dxfs_format.h1528 __be32 rm_startblock; /* extent start block */ member
1574 xfs_agblock_t rm_startblock; /* extent start block */ member
1587 __be32 rm_startblock; /* extent start block */ member
/linux-5.19.10/fs/xfs/scrub/
Drmap.c55 error = xfs_refcount_find_shared(sc->sa.refc_cur, irec->rm_startblock, in xchk_rmapbt_xref_refc()
69 xfs_agblock_t agbno = irec->rm_startblock; in xchk_rmapbt_xref()
81 xchk_xref_is_cow_staging(sc, irec->rm_startblock, in xchk_rmapbt_xref()
107 if (irec.rm_startblock + irec.rm_blockcount <= irec.rm_startblock) in xchk_rmapbt_rec()
116 if (irec.rm_startblock != 0 || in xchk_rmapbt_rec()
124 if (!xfs_verify_agbno(mp, agno, irec.rm_startblock) || in xchk_rmapbt_rec()
125 !xfs_verify_agbno(mp, agno, irec.rm_startblock + in xchk_rmapbt_rec()
Drefcount.c106 rm_last = rec->rm_startblock + rec->rm_blockcount - 1; in xchk_refcountbt_rmap_check()
115 if (rec->rm_startblock <= refchk->bno && rm_last >= rc_last) { in xchk_refcountbt_rmap_check()
177 if (frag->rm.rm_startblock < bno) in xchk_refcountbt_process_rmap_fragments()
179 bno = frag->rm.rm_startblock; in xchk_refcountbt_process_rmap_fragments()
188 if (frag->rm.rm_startblock > refchk->bno || nr > target_nr) in xchk_refcountbt_process_rmap_fragments()
190 bno = frag->rm.rm_startblock + frag->rm.rm_blockcount; in xchk_refcountbt_process_rmap_fragments()
209 bno = frag->rm.rm_startblock + frag->rm.rm_blockcount; in xchk_refcountbt_process_rmap_fragments()
222 bno = frag->rm.rm_startblock + frag->rm.rm_blockcount; in xchk_refcountbt_process_rmap_fragments()
223 if (frag->rm.rm_startblock != rbno) in xchk_refcountbt_process_rmap_fragments()
292 low.rm_startblock = bno; in xchk_refcountbt_xref_rmap()
[all …]
Dbmap.c173 rmap_end = (unsigned long long)rmap.rm_startblock + rmap.rm_blockcount; in xchk_bmap_xref_rmap()
174 if (rmap.rm_startblock > agbno || in xchk_bmap_xref_rmap()
506 check_rec.rm_startblock)) in xchk_bmap_check_rmap()
514 check_rec.rm_startblock += irec.br_blockcount; in xchk_bmap_check_rmap()
Drepair.c857 rec->rm_owner, rec->rm_startblock + b, in xrep_findroot_rmap()
Dagheader_repair.c475 rec->rm_startblock); in xrep_agfl_walk_rmap()
/linux-5.19.10/fs/xfs/
Dxfs_fsmap.c215 error = xfs_refcount_find_shared(cur, rec->rm_startblock, in xfs_getfsmap_is_shared()
358 fsb = XFS_AGB_TO_FSB(mp, cur->bc_ag.pag->pag_agno, rec->rm_startblock); in xfs_getfsmap_datadev_helper()
379 irec.rm_startblock = rec->ar_startblock; in xfs_getfsmap_datadev_bnobt_helper()
415 info->low.rm_startblock = XFS_BB_TO_FSBT(mp, keys[0].fmr_physical); in xfs_getfsmap_logdev()
426 info->high.rm_startblock = -1U; in xfs_getfsmap_logdev()
440 rmap.rm_startblock = 0; in xfs_getfsmap_logdev()
462 irec.rm_startblock = rec->ar_startext * mp->m_sb.sb_rextsize; in xfs_getfsmap_rtdev_rtbitmap_helper()
463 rec_daddr = XFS_FSB_TO_BB(mp, irec.rm_startblock); in xfs_getfsmap_rtdev_rtbitmap_helper()
494 info->low.rm_startblock = start_fsb; in __xfs_getfsmap_rtdev()
502 info->high.rm_startblock = end_fsb; in __xfs_getfsmap_rtdev()
[all …]
Dxfs_trace.h3445 __entry->bno = rmap->rm_startblock;