| /linux/fs/xfs/libxfs/ |
| A D | xfs_rmap.c | 107 rec.rmap.rm_startblock = cpu_to_be32(irec->rm_startblock); in xfs_rmap_update() 203 irec->rm_startblock = be32_to_cpu(rec->rmap.rm_startblock); in xfs_rmap_btrec_to_irec() 1514 NEW.rm_startblock = bno; in xfs_rmap_convert() 1546 NEW.rm_startblock = bno; in xfs_rmap_convert() 1572 NEW.rm_startblock = bno; in xfs_rmap_convert() 1990 NEW.rm_startblock = bno; in xfs_rmap_convert_shared() 2059 NEW.rm_startblock = bno; in xfs_rmap_convert_shared() 2782 if (a->rm_startblock < b->rm_startblock) in xfs_rmap_compare() 2784 else if (a->rm_startblock > b->rm_startblock) in xfs_rmap_compare() 2897 delta = (int64_t)roc->good.rm_startblock - check.rm_startblock; in xfs_rmap_count_owners_helper() [all …]
|
| A D | xfs_rmap_btree.c | 177 key->rmap.rm_startblock = rec->rmap.rm_startblock; in xfs_rmapbt_init_key_from_rec() 199 key->rmap.rm_startblock = rec->rmap.rm_startblock; in xfs_rmapbt_init_high_key_from_rec() 216 rec->rmap.rm_startblock = cpu_to_be32(cur->bc_rec.r.rm_startblock); in xfs_rmapbt_init_rec_from_cur() 255 d = (int64_t)be32_to_cpu(kp->rm_startblock) - rec->rm_startblock; in xfs_rmapbt_key_diff() 288 ASSERT(!mask || mask->rmap.rm_startblock); in xfs_rmapbt_diff_two_keys() 291 be32_to_cpu(kp2->rm_startblock); in xfs_rmapbt_diff_two_keys() 424 x = be32_to_cpu(k1->rmap.rm_startblock); in xfs_rmapbt_keys_inorder() 425 y = be32_to_cpu(k2->rmap.rm_startblock); in xfs_rmapbt_keys_inorder() 454 x = be32_to_cpu(r1->rmap.rm_startblock); in xfs_rmapbt_recs_inorder() 455 y = be32_to_cpu(r2->rmap.rm_startblock); in xfs_rmapbt_recs_inorder() [all …]
|
| A D | xfs_ag.c | 495 rrec->rm_startblock = 0; in xfs_rmaproot_init() 502 rrec->rm_startblock = cpu_to_be32(XFS_BNO_BLOCK(mp)); in xfs_rmaproot_init() 509 rrec->rm_startblock = cpu_to_be32(XFS_IBT_BLOCK(mp)); in xfs_rmaproot_init() 517 rrec->rm_startblock = cpu_to_be32(XFS_RMAP_BLOCK(mp)); in xfs_rmaproot_init() 525 rrec->rm_startblock = cpu_to_be32(xfs_refc_block(mp)); in xfs_rmaproot_init() 536 rrec->rm_startblock = cpu_to_be32( in xfs_rmaproot_init()
|
| A D | xfs_types.h | 181 xfs_agblock_t rm_startblock; /* extent start block */ member
|
| A D | xfs_format.h | 1527 __be32 rm_startblock; /* extent start block */ member 1572 __be32 rm_startblock; /* extent start block */ member
|
| /linux/fs/xfs/scrub/ |
| A D | refcount.c | 123 rm_last = rec->rm_startblock + rec->rm_blockcount - 1; in xchk_refcountbt_rmap_check() 194 if (frag->rm.rm_startblock < bno) in xchk_refcountbt_process_rmap_fragments() 196 bno = frag->rm.rm_startblock; in xchk_refcountbt_process_rmap_fragments() 207 bno = frag->rm.rm_startblock + frag->rm.rm_blockcount; in xchk_refcountbt_process_rmap_fragments() 226 bno = frag->rm.rm_startblock + frag->rm.rm_blockcount; in xchk_refcountbt_process_rmap_fragments() 239 bno = frag->rm.rm_startblock + frag->rm.rm_blockcount; in xchk_refcountbt_process_rmap_fragments() 240 if (frag->rm.rm_startblock != rbno) in xchk_refcountbt_process_rmap_fragments() 307 low.rm_startblock = irec->rc_startblock; in xchk_refcountbt_xref_rmap() 370 *next_bno = rec->rm_startblock + rec->rm_blockcount; in xchk_refcountbt_rmap_check_gap() 394 low.rm_startblock = rrc->next_unshared_agbno; in xchk_refcountbt_xref_gaps() [all …]
|
| A D | rmap.c | 101 error = xfs_refcount_find_shared(sc->sa.refc_cur, irec->rm_startblock, in xchk_rmapbt_xref_refc() 115 xfs_agblock_t agbno = irec->rm_startblock; in xchk_rmapbt_xref() 127 xchk_xref_is_cow_staging(sc, irec->rm_startblock, in xchk_rmapbt_xref() 217 pnext = cr->overlap_rec.rm_startblock + cr->overlap_rec.rm_blockcount; in xchk_rmapbt_check_overlapping() 218 if (pnext <= irec->rm_startblock) in xchk_rmapbt_check_overlapping() 227 inext = irec->rm_startblock + irec->rm_blockcount; in xchk_rmapbt_check_overlapping() 249 if (r1->rm_startblock + r1->rm_blockcount != r2->rm_startblock) in xchk_rmap_mergeable() 327 if (xagb_bitmap_test(bmp, irec->rm_startblock, &fsbcount)) { in xchk_rmapbt_mark_bitmap() 348 return xagb_bitmap_clear(bmp, irec->rm_startblock, irec->rm_blockcount); in xchk_rmapbt_mark_bitmap()
|
| A D | ialloc_repair.c | 402 if (!xfs_verify_agbext(ri->sc->sa.pag, rec->rm_startblock, in xrep_ibt_record_old_btree_blocks() 406 return xagb_bitmap_set(&ri->old_iallocbt_blocks, rec->rm_startblock, in xrep_ibt_record_old_btree_blocks() 421 error = xrep_ibt_check_inode_ext(ri->sc, rec->rm_startblock, in xrep_ibt_record_inode_blocks() 427 rec->rm_startblock, rec->rm_blockcount, rec->rm_owner, in xrep_ibt_record_inode_blocks() 438 rec->rm_startblock + cluster_base); in xrep_ibt_record_inode_blocks()
|
| A D | refcount_repair.c | 271 error = xrep_refc_stash_cow(rr, rmap->rm_startblock, in xrep_refc_walk_rmaps() 279 rmap->rm_startblock, in xrep_refc_walk_rmaps() 385 while (*have && rmap->rm_startblock == bno) { in xrep_refc_push_rmaps_at() 446 sbno = cbno = rmap.rm_startblock; in xrep_refc_find_refcounts()
|
| A D | rmap_repair.c | 197 error = xfs_alloc_has_records(sc->sa.bno_cur, rec->rm_startblock, in xrep_rmap_check_mapping() 218 .rm_startblock = startblock, in xrep_rmap_stash() 327 return xrep_rmap_stash(rf->rr, rf->accum.rm_startblock, in xrep_rmap_stash_accumulated() 359 agbno == accum->rm_startblock + accum->rm_blockcount && in xrep_rmap_visit_bmbt() 370 accum->rm_startblock = agbno; in xrep_rmap_visit_bmbt() 1418 if (rec->rm_startblock > rfg->next_agbno) { in xrep_rmap_find_gaps() 1420 rec->rm_startblock - rfg->next_agbno); in xrep_rmap_find_gaps() 1426 rec->rm_startblock + rec->rm_blockcount); in xrep_rmap_find_gaps()
|
| A D | bmap.c | 211 if (rmap.rm_startblock != agbno) in xchk_bmap_xref_rmap() 215 rmap_end = (unsigned long long)rmap.rm_startblock + rmap.rm_blockcount; in xchk_bmap_xref_rmap() 279 if (rmap.rm_startblock > agbno) in xchk_bmap_xref_rmap_cow() 283 rmap_end = (unsigned long long)rmap.rm_startblock + rmap.rm_blockcount; in xchk_bmap_xref_rmap_cow() 605 check_rec.rm_startblock)) in xchk_bmap_check_rmap() 613 check_rec.rm_startblock += irec.br_blockcount; in xchk_bmap_check_rmap()
|
| A D | rcbag.c | 101 bagrec.rbg_startblock = rmap->rm_startblock; in rcbag_add() 162 next_bno = next_rmap->rm_startblock; in rcbag_next_edge()
|
| A D | alloc_repair.c | 236 rec->rm_startblock, rec->rm_blockcount); in xrep_abt_walk_rmap() 247 if (rec->rm_startblock > ra->next_agbno) { in xrep_abt_walk_rmap() 248 error = xrep_abt_stash(ra, rec->rm_startblock); in xrep_abt_walk_rmap() 258 rec->rm_startblock + rec->rm_blockcount); in xrep_abt_walk_rmap()
|
| A D | bmap_repair.c | 199 if (!xfs_verify_agbext(cur->bc_ag.pag, rec->rm_startblock, in xrep_bmap_check_fork_rmap() 214 error = xfs_alloc_has_records(sc->sa.bno_cur, rec->rm_startblock, in xrep_bmap_check_fork_rmap() 223 rec->rm_startblock, rec->rm_blockcount, &outcome); in xrep_bmap_check_fork_rmap() 273 rec->rm_startblock); in xrep_bmap_walk_rmap()
|
| A D | cow_repair.c | 211 rec_bno = rec->rm_startblock; in xrep_cow_mark_missing_staging_rmap() 287 rm_low.rm_startblock = xc->irec_startbno; in xrep_cow_find_bad() 289 rm_high.rm_startblock = xc->irec_startbno + xc->irec.br_blockcount - 1; in xrep_cow_find_bad()
|
| A D | rcbag_btree.c | 323 rec->rbg_startblock = rmap->rm_startblock; in rcbagbt_lookup_eq()
|
| A D | repair.c | 649 rec->rm_owner, rec->rm_startblock + b, in xrep_findroot_rmap()
|
| A D | agheader_repair.c | 479 error = xagb_bitmap_set(ra->freesp, rec->rm_startblock, in xrep_agfl_walk_rmap()
|
| A D | trace.h | 2156 __entry->agbno = rec->rm_startblock;
|
| /linux/fs/xfs/ |
| A D | xfs_notify_failure.c | 42 if (notify->startblock > rec->rm_startblock) in xfs_failure_pgoff() 44 notify->startblock - rec->rm_startblock); in xfs_failure_pgoff() 59 start_cross = max(rec->rm_startblock, notify->startblock); in xfs_failure_pgcnt() 61 end_rec = rec->rm_startblock + rec->rm_blockcount; in xfs_failure_pgcnt() 213 ri_low.rm_startblock = XFS_FSB_TO_AGBNO(mp, fsbno); in xfs_dax_notify_ddev_failure() 215 ri_high.rm_startblock = XFS_FSB_TO_AGBNO(mp, end_fsbno); in xfs_dax_notify_ddev_failure() 219 ri_high.rm_startblock); in xfs_dax_notify_ddev_failure() 220 notify.startblock = ri_low.rm_startblock; in xfs_dax_notify_ddev_failure() 221 notify.blockcount = range_agend + 1 - ri_low.rm_startblock; in xfs_dax_notify_ddev_failure()
|
| A D | xfs_fsmap.c | 226 error = xfs_refcount_find_shared(cur, rec->rm_startblock, in xfs_getfsmap_is_shared() 399 fsb = XFS_AGB_TO_FSB(mp, cur->bc_ag.pag->pag_agno, rec->rm_startblock); in xfs_getfsmap_datadev_helper() 420 irec.rm_startblock = rec->ar_startblock; in xfs_getfsmap_datadev_bnobt_helper() 512 info->low.rm_startblock = XFS_FSB_TO_AGBNO(mp, start_fsb); in __xfs_getfsmap_datadev() 514 info->high.rm_startblock = -1U; in __xfs_getfsmap_datadev() 530 info->high.rm_startblock = XFS_FSB_TO_AGBNO(mp, in __xfs_getfsmap_datadev() 647 key->ar_startblock = info->low.rm_startblock; in xfs_getfsmap_datadev_bnobt_query() 648 key[1].ar_startblock = info->high.rm_startblock; in xfs_getfsmap_datadev_bnobt_query() 699 rmap.rm_startblock = 0; in xfs_getfsmap_logdev() 705 rec_daddr = XFS_FSB_TO_BB(mp, rmap.rm_startblock); in xfs_getfsmap_logdev() [all …]
|
| A D | xfs_trace.h | 3859 __entry->bno = rmap->rm_startblock;
|
| /linux/Documentation/filesystems/xfs/ |
| A D | xfs-online-fsck-design.rst | 1018 xfs_agblock_t rm_startblock; /* extent start block */
|