Searched refs:rc_blockcount (Results 1 – 11 of 11) sorted by relevance
| /linux/fs/xfs/libxfs/ |
| H A D | xfs_refcount.c | 62 cur->bc_rec.rc.rc_blockcount = 0; in xfs_refcount_lookup_le() 82 cur->bc_rec.rc.rc_blockcount = 0; in xfs_refcount_lookup_ge() 102 cur->bc_rec.rc.rc_blockcount = 0; in xfs_refcount_lookup_eq() 124 irec->rc_blockcount = be32_to_cpu(rec->refc.rc_blockcount); in xfs_refcount_btrec_to_irec() 134 if (irec->rc_blockcount == 0 || irec->rc_blockcount > XFS_REFC_LEN_MAX) in xfs_refcount_check_irec() 141 if (!xfs_verify_agbext(pag, irec->rc_startblock, irec->rc_blockcount)) in xfs_refcount_check_irec() 155 if (irec->rc_blockcount == 0 || irec->rc_blockcount > XFS_REFC_LEN_MAX) in xfs_rtrefcount_check_irec() 162 if (!xfs_verify_rgbext(rtg, irec->rc_startblock, irec->rc_blockcount)) in xfs_rtrefcount_check_irec() 200 irec->rc_startblock, irec->rc_blockcount, irec->rc_refcount); in xfs_refcount_complain_bad_rec() 250 rec.refc.rc_blockcount = cpu_to_be32(irec->rc_blockcount); in xfs_refcount_update() [all …]
|
| H A D | xfs_types.h | 173 xfs_extlen_t rc_blockcount; /* count of free blocks */ member
|
| H A D | xfs_format.h | 1799 __be32 rc_blockcount; /* count of blocks */ member
|
| /linux/fs/xfs/scrub/ |
| H A D | refcount.c | 291 .len = irec->rc_blockcount, in xchk_refcountbt_xref_rmap() 308 high.rm_startblock = irec->rc_startblock + irec->rc_blockcount - 1; in xchk_refcountbt_xref_rmap() 338 xchk_xref_is_used_space(sc, irec->rc_startblock, irec->rc_blockcount); in xchk_refcountbt_xref() 340 irec->rc_blockcount); in xchk_refcountbt_xref() 413 if (r1->rc_blockcount > 0) in xchk_refcount_mergeable() 418 if (r1->rc_startblock + r1->rc_blockcount != r2->rc_startblock) in xchk_refcount_mergeable() 422 if ((unsigned long long)r1->rc_blockcount + r2->rc_blockcount > in xchk_refcount_mergeable() 462 rrc->cow_blocks += irec.rc_blockcount; in xchk_refcountbt_rec() 481 irec.rc_blockcount; in xchk_refcountbt_rec() 585 if (rc.rc_blockcount < len) in xchk_xref_is_cow_staging()
|
| H A D | rtrefcount.c | 305 .len = irec->rc_blockcount, in xchk_rtrefcountbt_xref_rmap() 322 high.rm_startblock = irec->rc_startblock + irec->rc_blockcount - 1; in xchk_rtrefcountbt_xref_rmap() 352 irec->rc_blockcount); in xchk_rtrefcountbt_xref() 378 if (r1->rc_blockcount > 0) in xchk_rtrefcount_mergeable() 381 if (r1->rc_startblock + r1->rc_blockcount != r2->rc_startblock) in xchk_rtrefcount_mergeable() 385 if ((unsigned long long)r1->rc_blockcount + r2->rc_blockcount > in xchk_rtrefcount_mergeable() 477 mod = xfs_extlen_to_rtxmod(mp, irec.rc_blockcount); in xchk_rtrefcountbt_rec() 482 rrc->cow_blocks += irec.rc_blockcount; in xchk_rtrefcountbt_rec() 501 irec.rc_blockcount; in xchk_rtrefcountbt_rec() 613 if (rc.rc_blockcount < len) in xchk_xref_is_rt_cow_staging()
|
| H A D | cow_repair.c | 126 dst->rc_blockcount -= adj; in xrep_cow_trim_refcount() 130 if (dst->rc_startblock + dst->rc_blockcount > in xrep_cow_trim_refcount() 132 adj = (dst->rc_startblock + dst->rc_blockcount) - in xrep_cow_trim_refcount() 134 dst->rc_blockcount -= adj; in xrep_cow_trim_refcount() 156 rrec.rc_blockcount); in xrep_cow_mark_shared_staging() 193 xc->next_bno = rrec.rc_startblock + rrec.rc_blockcount; in xrep_cow_mark_missing_staging()
|
| H A D | refcount_repair.c | 143 rec->rc_blockcount, &outcome); in xrep_refc_check_ext() 151 rec->rc_startblock, rec->rc_blockcount, &outcome); in xrep_refc_check_ext() 171 .rc_blockcount = len, in xrep_refc_stash() 355 next_agbno = irec.rc_startblock + irec.rc_blockcount; in xrep_refc_sort_records()
|
| H A D | rtrefcount_repair.c | 148 last = rec->rc_startblock + rec->rc_blockcount - 1; in xrep_rtrefc_check_ext() 154 rec->rc_blockcount); in xrep_rtrefc_check_ext() 168 .rc_blockcount = len, in xrep_rtrefc_stash() 343 next_rgbno = irec.rc_startblock + irec.rc_blockcount; in xrep_rtrefc_sort_records()
|
| H A D | rtrmap_repair.c | 475 irec->rc_blockcount); in xrep_rtrmap_walk_cowblocks()
|
| H A D | rmap_repair.c | 796 return xagb_bitmap_set(bitmap, irec->rc_startblock, irec->rc_blockcount); in xrep_rmap_walk_cowblocks()
|
| H A D | trace.h | 955 __entry->blockcount = irec->rc_blockcount; 2190 __entry->blockcount = rec->rc_blockcount;
|