Home
last modified time | relevance | path

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

/Linux-v6.6/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()
222 if (irec->rm_startblock <= XFS_AGFL_BLOCK(mp)) { in xfs_rmap_check_irec()
229 if (!xfs_verify_agbext(cur->bc_ag.pag, irec->rm_startblock, in xfs_rmap_check_irec()
278 irec->rm_owner, irec->rm_flags, irec->rm_startblock, in xfs_rmap_complain_bad_rec()
324 cur->bc_ag.pag->pag_agno, rec->rm_startblock, in xfs_rmap_find_left_neighbor_helper()
[all …]
Dxfs_rmap_btree.c174 key->rmap.rm_startblock = rec->rmap.rm_startblock; in xfs_rmapbt_init_key_from_rec()
196 key->rmap.rm_startblock = rec->rmap.rm_startblock; in xfs_rmapbt_init_high_key_from_rec()
197 be32_add_cpu(&key->rmap.rm_startblock, adj); in xfs_rmapbt_init_high_key_from_rec()
213 rec->rmap.rm_startblock = cpu_to_be32(cur->bc_rec.r.rm_startblock); in xfs_rmapbt_init_rec_from_cur()
252 d = (int64_t)be32_to_cpu(kp->rm_startblock) - rec->rm_startblock; in xfs_rmapbt_key_diff()
285 ASSERT(!mask || mask->rmap.rm_startblock); in xfs_rmapbt_diff_two_keys()
287 d = (int64_t)be32_to_cpu(kp1->rm_startblock) - in xfs_rmapbt_diff_two_keys()
288 be32_to_cpu(kp2->rm_startblock); in xfs_rmapbt_diff_two_keys()
410 x = be32_to_cpu(k1->rmap.rm_startblock); in xfs_rmapbt_keys_inorder()
411 y = be32_to_cpu(k2->rmap.rm_startblock); in xfs_rmapbt_keys_inorder()
[all …]
Dxfs_ag.c578 rrec->rm_startblock = 0; in xfs_rmaproot_init()
585 rrec->rm_startblock = cpu_to_be32(XFS_BNO_BLOCK(mp)); in xfs_rmaproot_init()
592 rrec->rm_startblock = cpu_to_be32(XFS_IBT_BLOCK(mp)); in xfs_rmaproot_init()
600 rrec->rm_startblock = cpu_to_be32(XFS_RMAP_BLOCK(mp)); in xfs_rmaproot_init()
608 rrec->rm_startblock = cpu_to_be32(xfs_refc_block(mp)); in xfs_rmaproot_init()
619 rrec->rm_startblock = cpu_to_be32( in xfs_rmaproot_init()
Dxfs_types.h192 xfs_agblock_t rm_startblock; /* extent start block */ member
Dxfs_format.h1528 __be32 rm_startblock; /* extent start block */ member
1573 __be32 rm_startblock; /* extent start block */ member
/Linux-v6.6/fs/xfs/
Dxfs_notify_failure.c41 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()
146 ri_low.rm_startblock = XFS_FSB_TO_AGBNO(mp, fsbno); in xfs_dax_notify_ddev_failure()
148 ri_high.rm_startblock = XFS_FSB_TO_AGBNO(mp, end_fsbno); in xfs_dax_notify_ddev_failure()
152 ri_high.rm_startblock); in xfs_dax_notify_ddev_failure()
153 notify.startblock = ri_low.rm_startblock; in xfs_dax_notify_ddev_failure()
154 notify.blockcount = range_agend + 1 - ri_low.rm_startblock; in xfs_dax_notify_ddev_failure()
Dxfs_fsmap.c224 error = xfs_refcount_find_shared(cur, rec->rm_startblock, in xfs_getfsmap_is_shared()
385 fsb = XFS_AGB_TO_FSB(mp, cur->bc_ag.pag->pag_agno, rec->rm_startblock); in xfs_getfsmap_datadev_helper()
406 irec.rm_startblock = rec->ar_startblock; in xfs_getfsmap_datadev_bnobt_helper()
461 rmap.rm_startblock = 0; in xfs_getfsmap_logdev()
467 rec_daddr = XFS_FSB_TO_BB(mp, rmap.rm_startblock); in xfs_getfsmap_logdev()
488 irec.rm_startblock = rtbno; in xfs_getfsmap_rtdev_rtbitmap_helper()
636 info->low.rm_startblock = XFS_FSB_TO_AGBNO(mp, start_fsb); in __xfs_getfsmap_datadev()
638 info->high.rm_startblock = -1U; in __xfs_getfsmap_datadev()
654 info->high.rm_startblock = XFS_FSB_TO_AGBNO(mp, in __xfs_getfsmap_datadev()
771 key->ar_startblock = info->low.rm_startblock; in xfs_getfsmap_datadev_bnobt_query()
[all …]
Dxfs_trace.h3596 __entry->bno = rmap->rm_startblock;
/Linux-v6.6/fs/xfs/scrub/
Drefcount.c111 rm_last = rec->rm_startblock + rec->rm_blockcount - 1; in xchk_refcountbt_rmap_check()
120 if (rec->rm_startblock <= refchk->bno && rm_last >= rc_last) { in xchk_refcountbt_rmap_check()
182 if (frag->rm.rm_startblock < bno) in xchk_refcountbt_process_rmap_fragments()
184 bno = frag->rm.rm_startblock; in xchk_refcountbt_process_rmap_fragments()
193 if (frag->rm.rm_startblock > refchk->bno || nr > target_nr) in xchk_refcountbt_process_rmap_fragments()
195 bno = frag->rm.rm_startblock + frag->rm.rm_blockcount; in xchk_refcountbt_process_rmap_fragments()
214 bno = frag->rm.rm_startblock + frag->rm.rm_blockcount; in xchk_refcountbt_process_rmap_fragments()
227 bno = frag->rm.rm_startblock + frag->rm.rm_blockcount; in xchk_refcountbt_process_rmap_fragments()
228 if (frag->rm.rm_startblock != rbno) in xchk_refcountbt_process_rmap_fragments()
295 low.rm_startblock = irec->rc_startblock; in xchk_refcountbt_xref_rmap()
[all …]
Drmap.c91 error = xfs_refcount_find_shared(sc->sa.refc_cur, irec->rm_startblock, in xchk_rmapbt_xref_refc()
105 xfs_agblock_t agbno = irec->rm_startblock; in xchk_rmapbt_xref()
117 xchk_xref_is_cow_staging(sc, irec->rm_startblock, in xchk_rmapbt_xref()
207 pnext = cr->overlap_rec.rm_startblock + cr->overlap_rec.rm_blockcount; in xchk_rmapbt_check_overlapping()
208 if (pnext <= irec->rm_startblock) in xchk_rmapbt_check_overlapping()
217 inext = irec->rm_startblock + irec->rm_blockcount; in xchk_rmapbt_check_overlapping()
239 if (r1->rm_startblock + r1->rm_blockcount != r2->rm_startblock) in xchk_rmap_mergeable()
317 if (xagb_bitmap_test(bmp, irec->rm_startblock, &fsbcount)) { in xchk_rmapbt_mark_bitmap()
338 return xagb_bitmap_clear(bmp, irec->rm_startblock, irec->rm_blockcount); in xchk_rmapbt_mark_bitmap()
Dbmap.c187 if (rmap.rm_startblock != agbno) in xchk_bmap_xref_rmap()
191 rmap_end = (unsigned long long)rmap.rm_startblock + rmap.rm_blockcount; in xchk_bmap_xref_rmap()
255 if (rmap.rm_startblock > agbno) in xchk_bmap_xref_rmap_cow()
259 rmap_end = (unsigned long long)rmap.rm_startblock + rmap.rm_blockcount; in xchk_bmap_xref_rmap_cow()
581 check_rec.rm_startblock)) in xchk_bmap_check_rmap()
589 check_rec.rm_startblock += irec.br_blockcount; in xchk_bmap_check_rmap()
Drepair.c629 rec->rm_owner, rec->rm_startblock + b, in xrep_findroot_rmap()
Dagheader_repair.c485 error = xagb_bitmap_set(ra->freesp, rec->rm_startblock, in xrep_agfl_walk_rmap()
/Linux-v6.6/Documentation/filesystems/
Dxfs-online-fsck-design.rst1018 xfs_agblock_t rm_startblock; /* extent start block */