Searched refs:rm_startblock (Results 1 – 13 of 13) sorted by relevance
/linux-6.1.9/fs/xfs/libxfs/ |
D | xfs_rmap.c | 46 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_agbext(pag, irec->rm_startblock, in xfs_rmap_get_rec() 255 irec->rm_owner, irec->rm_flags, irec->rm_startblock, in xfs_rmap_get_rec() 275 cur->bc_ag.pag->pag_agno, rec->rm_startblock, in xfs_rmap_find_left_neighbor_helper() [all …]
|
D | xfs_rmap_btree.c | 164 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 …]
|
D | xfs_ag.c | 499 rrec->rm_startblock = 0; in xfs_rmaproot_init() 506 rrec->rm_startblock = cpu_to_be32(XFS_BNO_BLOCK(mp)); in xfs_rmaproot_init() 513 rrec->rm_startblock = cpu_to_be32(XFS_IBT_BLOCK(mp)); in xfs_rmaproot_init() 521 rrec->rm_startblock = cpu_to_be32(XFS_RMAP_BLOCK(mp)); in xfs_rmaproot_init() 529 rrec->rm_startblock = cpu_to_be32(xfs_refc_block(mp)); in xfs_rmaproot_init() 540 rrec->rm_startblock = cpu_to_be32( in xfs_rmaproot_init()
|
D | xfs_types.h | 192 xfs_agblock_t rm_startblock; /* extent start block */ member
|
D | xfs_format.h | 1528 __be32 rm_startblock; /* extent start block */ member 1573 __be32 rm_startblock; /* extent start block */ member
|
/linux-6.1.9/fs/xfs/ |
D | xfs_notify_failure.c | 41 if (notify->startblock > rec->rm_startblock) in xfs_failure_pgoff() 43 notify->startblock - rec->rm_startblock); in xfs_failure_pgoff() 58 start_cross = max(rec->rm_startblock, notify->startblock); in xfs_failure_pgcnt() 60 end_rec = rec->rm_startblock + rec->rm_blockcount; in xfs_failure_pgcnt() 145 ri_low.rm_startblock = XFS_FSB_TO_AGBNO(mp, fsbno); in xfs_dax_notify_ddev_failure() 147 ri_high.rm_startblock = XFS_FSB_TO_AGBNO(mp, end_fsbno); in xfs_dax_notify_ddev_failure() 151 ri_high.rm_startblock); in xfs_dax_notify_ddev_failure() 152 notify.startblock = ri_low.rm_startblock; in xfs_dax_notify_ddev_failure() 153 notify.blockcount = agend - ri_low.rm_startblock; in xfs_dax_notify_ddev_failure()
|
D | xfs_fsmap.c | 215 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 …]
|
D | xfs_trace.h | 3475 __entry->bno = rmap->rm_startblock;
|
/linux-6.1.9/fs/xfs/scrub/ |
D | refcount.c | 108 rm_last = rec->rm_startblock + rec->rm_blockcount - 1; in xchk_refcountbt_rmap_check() 117 if (rec->rm_startblock <= refchk->bno && rm_last >= rc_last) { in xchk_refcountbt_rmap_check() 179 if (frag->rm.rm_startblock < bno) in xchk_refcountbt_process_rmap_fragments() 181 bno = frag->rm.rm_startblock; in xchk_refcountbt_process_rmap_fragments() 190 if (frag->rm.rm_startblock > refchk->bno || nr > target_nr) in xchk_refcountbt_process_rmap_fragments() 192 bno = frag->rm.rm_startblock + frag->rm.rm_blockcount; in xchk_refcountbt_process_rmap_fragments() 211 bno = frag->rm.rm_startblock + frag->rm.rm_blockcount; in xchk_refcountbt_process_rmap_fragments() 224 bno = frag->rm.rm_startblock + frag->rm.rm_blockcount; in xchk_refcountbt_process_rmap_fragments() 225 if (frag->rm.rm_startblock != rbno) in xchk_refcountbt_process_rmap_fragments() 292 low.rm_startblock = irec->rc_startblock; in xchk_refcountbt_xref_rmap() [all …]
|
D | rmap.c | 55 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(pag, irec.rm_startblock) || in xchk_rmapbt_rec() 125 !xfs_verify_agbno(pag, irec.rm_startblock + in xchk_rmapbt_rec()
|
D | bmap.c | 173 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()
|
D | repair.c | 856 rec->rm_owner, rec->rm_startblock + b, in xrep_findroot_rmap()
|
D | agheader_repair.c | 471 rec->rm_startblock); in xrep_agfl_walk_rmap()
|