Searched refs:rm_startblock (Results 1 – 14 of 14) sorted by relevance
/openbmc/linux/fs/xfs/libxfs/ |
H A D | xfs_rmap.c | 104 rec.rmap.rm_startblock = cpu_to_be32(irec->rm_startblock); in xfs_rmap_update() 201 irec->rm_startblock = be32_to_cpu(rec->rmap.rm_startblock); in xfs_rmap_btrec_to_irec() 968 gtrec.rm_startblock, in xfs_rmap_map() 1410 NEW.rm_startblock = bno; in xfs_rmap_convert() 1442 NEW.rm_startblock = bno; in xfs_rmap_convert() 1467 NEW.rm_startblock = bno; in xfs_rmap_convert() 1878 NEW.rm_startblock = bno; in xfs_rmap_convert_shared() 2692 if (a->rm_startblock < b->rm_startblock) in xfs_rmap_compare() 2694 else if (a->rm_startblock > b->rm_startblock) in xfs_rmap_compare() 2807 delta = (int64_t)roc->good.rm_startblock - check.rm_startblock; in xfs_rmap_count_owners_helper() [all …]
|
H A D | xfs_rmap_btree.c | 174 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() 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() 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() 440 x = be32_to_cpu(r1->rmap.rm_startblock); in xfs_rmapbt_recs_inorder() 441 y = be32_to_cpu(r2->rmap.rm_startblock); in xfs_rmapbt_recs_inorder() [all …]
|
H A D | xfs_ag.c | 598 rrec->rm_startblock = 0; in xfs_rmaproot_init() 605 rrec->rm_startblock = cpu_to_be32(XFS_BNO_BLOCK(mp)); in xfs_rmaproot_init() 612 rrec->rm_startblock = cpu_to_be32(XFS_IBT_BLOCK(mp)); in xfs_rmaproot_init() 620 rrec->rm_startblock = cpu_to_be32(XFS_RMAP_BLOCK(mp)); in xfs_rmaproot_init() 628 rrec->rm_startblock = cpu_to_be32(xfs_refc_block(mp)); in xfs_rmaproot_init() 639 rrec->rm_startblock = cpu_to_be32( in xfs_rmaproot_init()
|
H A D | xfs_types.h | 193 xfs_agblock_t rm_startblock; /* extent start block */ member
|
H A D | xfs_format.h | 1528 __be32 rm_startblock; /* extent start block */ member 1573 __be32 rm_startblock; /* extent start block */ member
|
/openbmc/linux/fs/xfs/ |
H A 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() 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()
|
H A D | xfs_fsmap.c | 224 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 …]
|
H A D | xfs_trace.h | 3591 __entry->bno = rmap->rm_startblock;
|
/openbmc/linux/fs/xfs/scrub/ |
H A D | refcount.c | 111 rm_last = rec->rm_startblock + rec->rm_blockcount - 1; 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() 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() 358 *next_bno = rec->rm_startblock + rec->rm_blockcount; in xchk_refcountbt_rmap_check_gap() 382 low.rm_startblock = rrc->next_unshared_agbno; in xchk_refcountbt_xref_gaps() [all …]
|
H A D | rmap.c | 91 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()
|
H A D | bmap.c | 187 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()
|
H A D | repair.c | 629 rec->rm_owner, rec->rm_startblock + b, in xrep_findroot_rmap()
|
H A D | agheader_repair.c | 485 error = xagb_bitmap_set(ra->freesp, rec->rm_startblock, in xrep_agfl_walk_rmap()
|
/openbmc/linux/Documentation/filesystems/ |
H A D | xfs-online-fsck-design.rst | 1018 xfs_agblock_t rm_startblock; /* extent start block */
|