Searched refs:rc_blockcount (Results 1 – 14 of 14) 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_refcount_btree.c | 146 x += be32_to_cpu(rec->refc.rc_blockcount) - 1; in xfs_refcountbt_init_high_key_from_rec() 161 rec->refc.rc_blockcount = cpu_to_be32(cur->bc_rec.rc.rc_blockcount); in xfs_refcountbt_init_rec_from_cur() 303 be32_to_cpu(r1->refc.rc_blockcount) <= in xfs_refcountbt_recs_inorder()
|
H A D | xfs_rtrefcount_btree.c | 132 x += be32_to_cpu(rec->refc.rc_blockcount) - 1; in xfs_rtrefcountbt_init_high_key_from_rec() 147 rec->refc.rc_blockcount = cpu_to_be32(cur->bc_rec.rc.rc_blockcount); in xfs_rtrefcountbt_init_rec_from_cur() 269 be32_to_cpu(r1->refc.rc_blockcount) <= in xfs_rtrefcountbt_recs_inorder()
|
H A D | xfs_types.h | 173 xfs_extlen_t rc_blockcount; /* count of free blocks */ member
|
H A D | xfs_format.h | 1787 __be32 rc_blockcount; /* count of blocks */ member
|
/linux/fs/xfs/scrub/ |
H A D | refcount.c | 292 .len = irec->rc_blockcount, in xchk_refcountbt_xref_rmap() 309 high.rm_startblock = irec->rc_startblock + irec->rc_blockcount - 1; in xchk_refcountbt_xref_rmap() 339 xchk_xref_is_used_space(sc, irec->rc_startblock, irec->rc_blockcount); in xchk_refcountbt_xref() 341 irec->rc_blockcount); in xchk_refcountbt_xref() 414 if (r1->rc_blockcount > 0) in xchk_refcount_mergeable() 419 if (r1->rc_startblock + r1->rc_blockcount != r2->rc_startblock) in xchk_refcount_mergeable() 423 if ((unsigned long long)r1->rc_blockcount + r2->rc_blockcount > in xchk_refcount_mergeable() 463 rrc->cow_blocks += irec.rc_blockcount; in xchk_refcountbt_rec() 482 irec.rc_blockcount; in xchk_refcountbt_rec() 586 if (rc.rc_blockcount < len) in xchk_xref_is_cow_staging()
|
H A D | rtrefcount.c | 306 .len = irec->rc_blockcount, in xchk_rtrefcountbt_xref_rmap() 323 high.rm_startblock = irec->rc_startblock + irec->rc_blockcount - 1; in xchk_rtrefcountbt_xref_rmap() 353 irec->rc_blockcount); in xchk_rtrefcountbt_xref() 379 if (r1->rc_blockcount > 0) in xchk_rtrefcount_mergeable() 382 if (r1->rc_startblock + r1->rc_blockcount != r2->rc_startblock) in xchk_rtrefcount_mergeable() 386 if ((unsigned long long)r1->rc_blockcount + r2->rc_blockcount > in xchk_rtrefcount_mergeable() 478 mod = xfs_extlen_to_rtxmod(mp, irec.rc_blockcount); in xchk_rtrefcountbt_rec() 483 rrc->cow_blocks += irec.rc_blockcount; in xchk_rtrefcountbt_rec() 502 irec.rc_blockcount; in xchk_rtrefcountbt_rec() 614 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 | 149 rec->rc_blockcount, &outcome); in xrep_refc_check_ext() 157 rec->rc_startblock, rec->rc_blockcount, &outcome); in xrep_refc_check_ext() 177 .rc_blockcount = len, in xrep_refc_stash() 361 next_agbno = irec.rc_startblock + irec.rc_blockcount; in xrep_refc_sort_records()
|
H A D | rtrefcount_repair.c | 154 last = rec->rc_startblock + rec->rc_blockcount - 1; in xrep_rtrefc_check_ext() 160 rec->rc_blockcount); in xrep_rtrefc_check_ext() 174 .rc_blockcount = len, in xrep_rtrefc_stash() 349 next_rgbno = irec.rc_startblock + irec.rc_blockcount; in xrep_rtrefc_sort_records()
|
H A D | rtrmap_repair.c | 478 irec->rc_blockcount); in xrep_rtrmap_walk_cowblocks()
|
H A D | rmap_repair.c | 799 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; 2145 __entry->blockcount = rec->rc_blockcount;
|
/linux/fs/xfs/ |
H A D | xfs_trace.h | 3388 __entry->blockcount = irec->rc_blockcount; 3427 __entry->blockcount = irec->rc_blockcount; 3472 __entry->i1_blockcount = i1->rc_blockcount; 3476 __entry->i2_blockcount = i2->rc_blockcount; 3525 __entry->i1_blockcount = i1->rc_blockcount; 3529 __entry->i2_blockcount = i2->rc_blockcount; 3583 __entry->i1_blockcount = i1->rc_blockcount; 3587 __entry->i2_blockcount = i2->rc_blockcount; 3591 __entry->i3_blockcount = i3->rc_blockcount;
|