Home
last modified time | relevance | path

Searched refs:rm_blockcount (Results 1 – 18 of 18) sorted by relevance

/linux/fs/xfs/scrub/
H A Drtrmap.c109 if (cr->overlap_rec.rm_blockcount == 0) in xchk_rtrmapbt_check_overlapping()
113 pnext = cr->overlap_rec.rm_startblock + cr->overlap_rec.rm_blockcount; in xchk_rtrmapbt_check_overlapping()
123 inext = irec->rm_startblock + irec->rm_blockcount; in xchk_rtrmapbt_check_overlapping()
140 if (cr->prev_rec.rm_blockcount == 0) in xchk_rtrmap_mergeable()
145 if (r1->rm_startblock + r1->rm_blockcount != r2->rm_startblock) in xchk_rtrmap_mergeable()
147 if ((unsigned long long)r1->rm_blockcount + r2->rm_blockcount > in xchk_rtrmap_mergeable()
155 return r1->rm_offset + r1->rm_blockcount == r2->rm_offset; in xchk_rtrmap_mergeable()
198 irec->rm_blockcount, &fbno, &flen, false); in xchk_rtrmapbt_xref_rtrefc()
216 irec->rm_blockcount); in xchk_rtrmapbt_xref()
219 irec->rm_blockcount); in xchk_rtrmapbt_xref()
H A Drmap.c102 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 Drefcount.c123 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 Drtrefcount.c137 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 Dbmap.c225 rmap_end = (unsigned long long)rmap.rm_startblock + rmap.rm_blockcount; in xchk_bmap_xref_rmap()
235 rmap_end = (unsigned long long)rmap.rm_offset + rmap.rm_blockcount; in xchk_bmap_xref_rmap()
293 rmap_end = (unsigned long long)rmap.rm_startblock + rmap.rm_blockcount; in xchk_bmap_xref_rmap_cow()
667 if (irec.br_blockcount > check_rec.rm_blockcount) in xchk_bmap_check_rmap()
674 check_rec.rm_blockcount -= irec.br_blockcount; in xchk_bmap_check_rmap()
675 if (check_rec.rm_blockcount == 0) in xchk_bmap_check_rmap()
H A Drefcount_repair.c266 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 Drcbag.c102 bagrec.rbg_blockcount = rmap->rm_blockcount; in rcbag_add()
H A Dalloc_repair.c235 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 Dinode_repair.c744 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 Drtbitmap_repair.c321 rec->rm_startblock + rec->rm_blockcount); in xrep_rtbitmap_walk_rtrmap()
H A Dcow_repair.c211 rec_len = rec->rm_blockcount; in xrep_cow_mark_missing_staging_rmap()
H A Dagheader_repair.c480 rec->rm_blockcount); in xrep_agfl_walk_rmap()
H A Dtrace.h2093 __entry->len = rec->rm_blockcount;
2244 __entry->len = rec->rm_blockcount;
3826 __entry->len = rec->rm_blockcount;
/linux/fs/xfs/
H A Dxfs_fsmap.c263 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 Dxfs_zone_gc.c303 irec->rm_startblock + irec->rm_blockcount; in xfs_zone_gc_query_cb()
443 irec->rm_blockcount -= count_fsb; in xfs_zone_gc_iter_advance()
444 if (!irec->rm_blockcount) in xfs_zone_gc_iter_advance()
728 if (!xfs_zone_gc_alloc_blocks(data, &irec.rm_blockcount, &daddr, in xfs_zone_gc_start_chunk()
743 chunk->len = XFS_FSB_TO_B(mp, irec.rm_blockcount); in xfs_zone_gc_start_chunk()
765 xfs_zone_gc_iter_advance(iter, irec.rm_blockcount); in xfs_zone_gc_start_chunk()
H A Dxfs_verify_media.c46 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 Dxfs_notify_failure.c66 end_rec = rec->rm_startblock + rec->rm_blockcount; in xfs_failure_pgcnt()
/linux/fs/xfs/libxfs/
H A Dxfs_types.h186 xfs_extlen_t rm_blockcount; /* extent length */ member