Home
last modified time | relevance | path

Searched refs:rc_blockcount (Results 1 – 13 of 13) sorted by relevance

/linux/fs/xfs/libxfs/
H A Dxfs_refcount.c62 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_MA in xfs_rtrefcount_check_irec()
[all...]
H A Dxfs_refcount_btree.c146 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 Dxfs_rtrefcount_btree.c132 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 Dxfs_types.h173 xfs_extlen_t rc_blockcount; /* count of free blocks */ member
H A Dxfs_format.h1776 * rc_startblock and ending rc_blockcount blocks later) with a reference
1799 __be32 rc_blockcount; /* count of blocks */ member
/linux/fs/xfs/scrub/
H A Drtrefcount.c306 .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()
[all...]
H A Dcow_repair.c126 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 Drefcount_repair.c149 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 Drtrefcount_repair.c154 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 Drtrmap_repair.c478 irec->rc_blockcount); in xrep_rtrmap_walk_cowblocks()
H A Drmap_repair.c799 return xagb_bitmap_set(bitmap, irec->rc_startblock, irec->rc_blockcount); in xrep_rmap_walk_cowblocks()
H A Dtrace.h955 __entry->blockcount = irec->rc_blockcount;
2145 __entry->blockcount = rec->rc_blockcount;
/linux/fs/xfs/
H A Dxfs_trace.h3624 __entry->blockcount = irec->rc_blockcount;
3663 __entry->blockcount = irec->rc_blockcount;
3708 __entry->i1_blockcount = i1->rc_blockcount;
3712 __entry->i2_blockcount = i2->rc_blockcount;
3761 __entry->i1_blockcount = i1->rc_blockcount;
3765 __entry->i2_blockcount = i2->rc_blockcount;
3819 __entry->i1_blockcount = i1->rc_blockcount;
3823 __entry->i2_blockcount = i2->rc_blockcount;
3827 __entry->i3_blockcount = i3->rc_blockcount;