/linux-master/fs/xfs/libxfs/ |
H A D | xfs_rmap.c | 47 cur->bc_rec.r.rm_startblock = bno; 82 cur->bc_rec.r.rm_startblock = bno; 104 irec->rm_startblock, irec->rm_blockcount, 107 rec.rmap.rm_startblock = cpu_to_be32(irec->rm_startblock); 143 rcur->bc_rec.r.rm_startblock = agbno; 208 irec->rm_startblock = be32_to_cpu(rec->rmap.rm_startblock); 229 if (irec->rm_startblock <= XFS_AGFL_BLOCK(mp)) { 236 if (!xfs_verify_agbext(pag, irec->rm_startblock, [all...] |
H A D | xfs_rmap_btree.c | 172 key->rmap.rm_startblock = rec->rmap.rm_startblock; 194 key->rmap.rm_startblock = rec->rmap.rm_startblock; 195 be32_add_cpu(&key->rmap.rm_startblock, adj); 211 rec->rmap.rm_startblock = cpu_to_be32(cur->bc_rec.r.rm_startblock); 250 d = (int64_t)be32_to_cpu(kp->rm_startblock) - rec->rm_startblock; 283 ASSERT(!mask || mask->rmap.rm_startblock); [all...] |
H A D | xfs_types.h | 181 xfs_agblock_t rm_startblock; /* extent start block */ member in struct:xfs_rmap_irec
|
H A D | xfs_ag.c | 590 rrec->rm_startblock = 0; 597 rrec->rm_startblock = cpu_to_be32(XFS_BNO_BLOCK(mp)); 604 rrec->rm_startblock = cpu_to_be32(XFS_IBT_BLOCK(mp)); 612 rrec->rm_startblock = cpu_to_be32(XFS_RMAP_BLOCK(mp)); 620 rrec->rm_startblock = cpu_to_be32(xfs_refc_block(mp)); 631 rrec->rm_startblock = cpu_to_be32(
|
H A D | xfs_format.h | 1518 __be32 rm_startblock; /* extent start block */ member in struct:xfs_rmap_rec 1563 __be32 rm_startblock; /* extent start block */ member in struct:xfs_rmap_key
|
/linux-master/fs/xfs/ |
H A D | xfs_notify_failure.c | 42 if (notify->startblock > rec->rm_startblock) 44 notify->startblock - rec->rm_startblock); 59 start_cross = max(rec->rm_startblock, notify->startblock); 61 end_rec = rec->rm_startblock + rec->rm_blockcount; 213 ri_low.rm_startblock = XFS_FSB_TO_AGBNO(mp, fsbno); 215 ri_high.rm_startblock = XFS_FSB_TO_AGBNO(mp, end_fsbno); 219 ri_high.rm_startblock); 220 notify.startblock = ri_low.rm_startblock; 221 notify.blockcount = range_agend + 1 - ri_low.rm_startblock;
|
H A D | xfs_fsmap.c | 224 error = xfs_refcount_find_shared(cur, rec->rm_startblock, 263 * Format a reverse mapping for getfsmap, having translated rm_startblock 385 fsb = XFS_AGB_TO_FSB(mp, cur->bc_ag.pag->pag_agno, rec->rm_startblock); 406 irec.rm_startblock = rec->ar_startblock; 461 rmap.rm_startblock = 0; 467 rec_daddr = XFS_FSB_TO_BB(mp, rmap.rm_startblock); 488 irec.rm_startblock = rtbno; 633 info->low.rm_startblock = XFS_FSB_TO_AGBNO(mp, start_fsb); 635 info->high.rm_startblock = -1U; 651 info->high.rm_startblock [all...] |
H A D | xfs_trace.h | 3768 __entry->bno = rmap->rm_startblock;
|
/linux-master/fs/xfs/scrub/ |
H A D | refcount.c | 123 rm_last = rec->rm_startblock + rec->rm_blockcount - 1; 132 if (rec->rm_startblock <= refchk->bno && rm_last >= rc_last) { 194 if (frag->rm.rm_startblock < bno) 196 bno = frag->rm.rm_startblock; 205 if (frag->rm.rm_startblock > refchk->bno || nr > target_nr) 207 bno = frag->rm.rm_startblock + frag->rm.rm_blockcount; 226 bno = frag->rm.rm_startblock + frag->rm.rm_blockcount; 239 bno = frag->rm.rm_startblock + frag->rm.rm_blockcount; 240 if (frag->rm.rm_startblock != rbno) 307 low.rm_startblock [all...] |
H A D | rmap.c | 101 error = xfs_refcount_find_shared(sc->sa.refc_cur, irec->rm_startblock, 115 xfs_agblock_t agbno = irec->rm_startblock; 127 xchk_xref_is_cow_staging(sc, irec->rm_startblock, 217 pnext = cr->overlap_rec.rm_startblock + cr->overlap_rec.rm_blockcount; 218 if (pnext <= irec->rm_startblock) 227 inext = irec->rm_startblock + irec->rm_blockcount; 249 if (r1->rm_startblock + r1->rm_blockcount != r2->rm_startblock) 327 if (xagb_bitmap_test(bmp, irec->rm_startblock, &fsbcount)) { 348 return xagb_bitmap_clear(bmp, irec->rm_startblock, ire [all...] |
H A D | refcount_repair.c | 271 error = xrep_refc_stash_cow(rr, rmap->rm_startblock, 279 rmap->rm_startblock, 385 while (*have && rmap->rm_startblock == bno) { 446 sbno = cbno = rmap.rm_startblock;
|
H A D | rcbag.c | 101 bagrec.rbg_startblock = rmap->rm_startblock; 162 next_bno = next_rmap->rm_startblock;
|
H A D | ialloc_repair.c | 402 if (!xfs_verify_agbext(ri->sc->sa.pag, rec->rm_startblock, 406 return xagb_bitmap_set(&ri->old_iallocbt_blocks, rec->rm_startblock, 421 error = xrep_ibt_check_inode_ext(ri->sc, rec->rm_startblock, 427 rec->rm_startblock, rec->rm_blockcount, rec->rm_owner, 438 rec->rm_startblock + cluster_base);
|
H A D | cow_repair.c | 211 rec_bno = rec->rm_startblock; 287 rm_low.rm_startblock = xc->irec_startbno; 289 rm_high.rm_startblock = xc->irec_startbno + xc->irec.br_blockcount - 1;
|
H A D | alloc_repair.c | 236 rec->rm_startblock, rec->rm_blockcount); 247 if (rec->rm_startblock > ra->next_agbno) { 248 error = xrep_abt_stash(ra, rec->rm_startblock); 258 rec->rm_startblock + rec->rm_blockcount);
|
H A D | bmap_repair.c | 199 if (!xfs_verify_agbext(cur->bc_ag.pag, rec->rm_startblock, 214 error = xfs_alloc_has_records(sc->sa.bno_cur, rec->rm_startblock, 223 rec->rm_startblock, rec->rm_blockcount, &outcome); 273 rec->rm_startblock);
|
H A D | rmap_repair.c | 197 error = xfs_alloc_has_records(sc->sa.bno_cur, rec->rm_startblock, 218 .rm_startblock = startblock, 327 return xrep_rmap_stash(rf->rr, rf->accum.rm_startblock, 359 agbno == accum->rm_startblock + accum->rm_blockcount && 370 accum->rm_startblock = agbno; 1440 if (rec->rm_startblock > rfg->next_agbno) { 1442 rec->rm_startblock - rfg->next_agbno); 1448 rec->rm_startblock + rec->rm_blockcount);
|
H A D | bmap.c | 211 if (rmap.rm_startblock != agbno) 215 rmap_end = (unsigned long long)rmap.rm_startblock + rmap.rm_blockcount; 279 if (rmap.rm_startblock > agbno) 283 rmap_end = (unsigned long long)rmap.rm_startblock + rmap.rm_blockcount; 605 check_rec.rm_startblock)) 613 check_rec.rm_startblock += irec.br_blockcount;
|
H A D | rcbag_btree.c | 323 rec->rbg_startblock = rmap->rm_startblock;
|
H A D | repair.c | 644 rec->rm_owner, rec->rm_startblock + b,
|
H A D | agheader_repair.c | 474 error = xagb_bitmap_set(ra->freesp, rec->rm_startblock,
|
H A D | trace.h | 1742 __entry->agbno = rec->rm_startblock;
|