| /linux/fs/xfs/scrub/ |
| H A D | rmap.c | 102 irec->rm_blockcount, &fbno, &flen, false); in xchk_rmapbt_xref_refc() 116 xfs_extlen_t len = irec->rm_blockcount; in xchk_rmapbt_xref() 128 irec->rm_blockcount); in xchk_rmapbt_xref() 213 if (cr->overlap_rec.rm_blockcount == 0) in xchk_rmapbt_check_overlapping() 217 pnext = cr->overlap_rec.rm_startblock + cr->overlap_rec.rm_blockcount; in xchk_rmapbt_check_overlapping() 227 inext = irec->rm_startblock + irec->rm_blockcount; in xchk_rmapbt_check_overlapping() 244 if (cr->prev_rec.rm_blockcount == 0) in xchk_rmap_mergeable() 249 if (r1->rm_startblock + r1->rm_blockcount != r2->rm_startblock) in xchk_rmap_mergeable() 251 if ((unsigned long long)r1->rm_blockcount + r2->rm_blockcount > in xchk_rmap_mergeable() 261 return r1->rm_offset + r1->rm_blockcount == r2->rm_offset; in xchk_rmap_mergeable() [all …]
|
| H A D | bmap_repair.c | 209 rec->rm_blockcount)) in xrep_bmap_check_fork_rmap() 214 !xfs_verify_fileext(sc->mp, rec->rm_offset, rec->rm_blockcount)) in xrep_bmap_check_fork_rmap() 224 rec->rm_blockcount, &outcome); in xrep_bmap_check_fork_rmap() 232 rec->rm_startblock, rec->rm_blockcount, &outcome); in xrep_bmap_check_fork_rmap() 266 rb->nblocks += rec->rm_blockcount; in xrep_bmap_walk_rmap() 283 rb->old_bmbt_block_count += rec->rm_blockcount; in xrep_bmap_walk_rmap() 285 rec->rm_blockcount); in xrep_bmap_walk_rmap() 289 rec->rm_blockcount, in xrep_bmap_walk_rmap() 392 if (!xfs_verify_fileext(sc->mp, rec->rm_offset, rec->rm_blockcount)) in xrep_bmap_check_rtfork_rmap() 397 rec->rm_blockcount)) in xrep_bmap_check_rtfork_rmap() [all …]
|
| H A D | rtrmap_repair.c | 134 rec->rm_blockcount); in xrep_rtrmap_check_mapping() 149 .rm_blockcount = blockcount, in xrep_rtrmap_stash() 207 if (rf->accum.rm_blockcount == 0) in xrep_rtrmap_stash_accumulated() 211 rf->accum.rm_blockcount, rf->accum.rm_owner, in xrep_rtrmap_stash_accumulated() 238 if (accum->rm_blockcount > 0 && in xrep_rtrmap_visit_bmbt() 239 rec->br_startoff == accum->rm_offset + accum->rm_blockcount && in xrep_rtrmap_visit_bmbt() 240 rgbno == accum->rm_startblock + accum->rm_blockcount && in xrep_rtrmap_visit_bmbt() 242 accum->rm_blockcount += rec->br_blockcount; in xrep_rtrmap_visit_bmbt() 252 accum->rm_blockcount = rec->br_blockcount; in xrep_rtrmap_visit_bmbt() 404 rec->rm_blockcount); in xrep_rtrmap_walk_rmap()
|
| H A D | refcount.c | 123 rm_last = rec->rm_startblock + rec->rm_blockcount - 1; in xchk_refcountbt_rmap_check() 206 bno = frag->rm.rm_startblock + frag->rm.rm_blockcount; in xchk_refcountbt_process_rmap_fragments() 225 bno = frag->rm.rm_startblock + frag->rm.rm_blockcount; in xchk_refcountbt_process_rmap_fragments() 238 bno = frag->rm.rm_startblock + frag->rm.rm_blockcount; in xchk_refcountbt_process_rmap_fragments() 369 *next_bno = rec->rm_startblock + rec->rm_blockcount; in xchk_refcountbt_rmap_check_gap()
|
| H A D | rmap_repair.c | 198 rec->rm_blockcount, &outcome); in xrep_rmap_check_mapping() 219 .rm_blockcount = blockcount, in xrep_rmap_stash() 324 if (rf->accum.rm_blockcount == 0) in xrep_rmap_stash_accumulated() 328 rf->accum.rm_blockcount, rf->accum.rm_owner, in xrep_rmap_stash_accumulated() 357 if (accum->rm_blockcount > 0 && in xrep_rmap_visit_bmbt() 358 rec->br_startoff == accum->rm_offset + accum->rm_blockcount && in xrep_rmap_visit_bmbt() 359 agbno == accum->rm_startblock + accum->rm_blockcount && in xrep_rmap_visit_bmbt() 361 accum->rm_blockcount += rec->br_blockcount; in xrep_rmap_visit_bmbt() 371 accum->rm_blockcount = rec->br_blockcount; in xrep_rmap_visit_bmbt() 1489 rec->rm_startblock + rec->rm_blockcount); in xrep_rmap_find_gaps()
|
| H A D | rtrefcount.c | 137 rm_last = rec->rm_startblock + rec->rm_blockcount - 1; in xchk_rtrefcountbt_rmap_check() 220 bno = frag->rm.rm_startblock + frag->rm.rm_blockcount; in xchk_rtrefcountbt_process_rmap_fragments() 239 bno = frag->rm.rm_startblock + frag->rm.rm_blockcount; in xchk_rtrefcountbt_process_rmap_fragments() 252 bno = frag->rm.rm_startblock + frag->rm.rm_blockcount; in xchk_rtrefcountbt_process_rmap_fragments() 419 *next_bno = rec->rm_startblock + rec->rm_blockcount; in xchk_rtrefcountbt_rmap_check_gap()
|
| H A D | ialloc_repair.c | 401 rec->rm_blockcount)) in xrep_ibt_record_old_btree_blocks() 405 rec->rm_blockcount); in xrep_ibt_record_old_btree_blocks() 420 rec->rm_blockcount); in xrep_ibt_record_inode_blocks() 431 cluster_base < rec->rm_blockcount; in xrep_ibt_record_inode_blocks()
|
| H A D | refcount_repair.c | 266 rmap->rm_blockcount); in xrep_refc_walk_rmaps() 271 rr->btblocks += rmap->rm_blockcount; in xrep_refc_walk_rmaps() 274 rmap->rm_blockcount); in xrep_refc_walk_rmaps()
|
| H A D | rtrefcount_repair.c | 254 rmap->rm_blockcount); in xrep_rtrefc_walk_rmaps() 372 rec->rm_blockcount); in xrep_rtrefc_walk_rmap()
|
| H A D | rcbag.c | 102 bagrec.rbg_blockcount = rmap->rm_blockcount; in rcbag_add()
|
| H A D | alloc_repair.c | 235 rec->rm_startblock, rec->rm_blockcount); in xrep_abt_walk_rmap() 257 rec->rm_startblock + rec->rm_blockcount); in xrep_abt_walk_rmap()
|
| H A D | inode_repair.c | 744 ri->attr_blocks += rec->rm_blockcount; in xrep_dinode_walk_rmap() 751 ri->data_blocks += rec->rm_blockcount; in xrep_dinode_walk_rmap() 799 ri->rt_blocks += rec->rm_blockcount; in xrep_dinode_walk_rtrmap()
|
| H A D | cow_repair.c | 216 rec_len = rec->rm_blockcount; in xrep_cow_mark_missing_staging_rmap()
|
| H A D | agheader_repair.c | 480 rec->rm_blockcount); in xrep_agfl_walk_rmap()
|
| H A D | trace.h | 2093 __entry->len = rec->rm_blockcount; 2244 __entry->len = rec->rm_blockcount; 3859 __entry->len = rec->rm_blockcount;
|
| /linux/fs/xfs/ |
| H A D | xfs_fsmap.c | 263 if (info->low.rm_blockcount) { in xfs_getfsmap_frec_before_start() 417 rec->rm_startblock, rec->rm_blockcount, &frec); in xfs_getfsmap_rmapbt_helper() 501 info->low.rm_blockcount = XFS_BB_TO_FSBT(mp, keys[0].fmr_length); in __xfs_getfsmap_datadev() 505 if (info->low.rm_blockcount == 0) { in __xfs_getfsmap_datadev() 512 start_fsb += info->low.rm_blockcount; in __xfs_getfsmap_datadev() 517 info->low.rm_offset += info->low.rm_blockcount; in __xfs_getfsmap_datadev() 524 info->high.rm_blockcount = 0; in __xfs_getfsmap_datadev() 853 rec->rm_startblock, rec->rm_blockcount, &frec); in xfs_getfsmap_rtdev_rmapbt_helper() 942 info->low.rm_blockcount = XFS_BB_TO_FSBT(mp, key0.fmr_length); in xfs_getfsmap_rtdev_rmapbt() 946 if (info->low.rm_blockcount == 0) { in xfs_getfsmap_rtdev_rmapbt() [all …]
|
| H A D | xfs_zone_gc.c | 293 irec->rm_startblock + irec->rm_blockcount; in xfs_zone_gc_query_cb() 433 irec->rm_blockcount -= count_fsb; in xfs_zone_gc_iter_advance() 434 if (!irec->rm_blockcount) in xfs_zone_gc_iter_advance() 718 if (!xfs_zone_gc_alloc_blocks(data, &irec.rm_blockcount, &daddr, in xfs_zone_gc_start_chunk() 733 chunk->len = XFS_FSB_TO_B(mp, irec.rm_blockcount); in xfs_zone_gc_start_chunk() 755 xfs_zone_gc_iter_advance(iter, irec.rm_blockcount); in xfs_zone_gc_start_chunk()
|
| H A D | xfs_verify_media.c | 46 xfs_extlen_t blocks = rec->rm_blockcount; in xfs_verify_report_data_lost() 52 rec->rm_startblock + rec->rm_blockcount; in xfs_verify_report_data_lost()
|
| H A D | xfs_notify_failure.c | 66 end_rec = rec->rm_startblock + rec->rm_blockcount; in xfs_failure_pgcnt()
|
| /linux/fs/xfs/libxfs/ |
| H A D | xfs_ag.c | 410 rrec->rm_blockcount = cpu_to_be32(XFS_BNO_BLOCK(mp)); in xfs_rmaproot_init() 417 rrec->rm_blockcount = cpu_to_be32(2); in xfs_rmaproot_init() 424 rrec->rm_blockcount = cpu_to_be32(XFS_RMAP_BLOCK(mp) - in xfs_rmaproot_init() 432 rrec->rm_blockcount = cpu_to_be32(1); in xfs_rmaproot_init() 440 rrec->rm_blockcount = cpu_to_be32(1); in xfs_rmaproot_init() 452 rrec->rm_blockcount = cpu_to_be32(mp->m_sb.sb_logblocks); in xfs_rmaproot_init()
|
| H A D | xfs_types.h | 186 xfs_extlen_t rm_blockcount; /* extent length */ member
|
| H A D | xfs_format.h | 1689 __be32 rm_blockcount; /* extent length */ member
|