Home
last modified time | relevance | path

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

/fs/xfs/libxfs/
A Dxfs_refcount.c124 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()
155 if (irec->rc_blockcount == 0 || irec->rc_blockcount > XFS_REFC_LEN_MAX) in xfs_rtrefcount_check_irec()
250 rec.refc.rc_blockcount = cpu_to_be32(irec->rc_blockcount); in xfs_refcount_update()
275 cur->bc_rec.rc.rc_blockcount = irec->rc_blockcount; in xfs_refcount_insert()
615 left->rc_blockcount += cleft->rc_blockcount; in xfs_refcount_merge_left_extent()
683 right->rc_blockcount += cright->rc_blockcount; in xfs_refcount_merge_right_extent()
940 ulen += cleft->rc_blockcount + right->rc_blockcount; in xfs_refc_want_merge_center()
1054 (cleft.rc_blockcount == cright.rc_blockcount); in xfs_refcount_merge_extents()
1176 ext.rc_blockcount = 0; in xfs_refcount_adjust_extents()
[all …]
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()
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()
A Dxfs_types.h173 xfs_extlen_t rc_blockcount; /* count of free blocks */ member
A Dxfs_format.h1799 __be32 rc_blockcount; /* count of blocks */ member
/fs/xfs/scrub/
A Drefcount.c292 .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()
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()
614 if (rc.rc_blockcount < len) in xchk_xref_is_rt_cow_staging()
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()
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()
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()
A Drtrmap_repair.c478 irec->rc_blockcount); in xrep_rtrmap_walk_cowblocks()
A Drmap_repair.c799 return xagb_bitmap_set(bitmap, irec->rc_startblock, irec->rc_blockcount); in xrep_rmap_walk_cowblocks()
A Dtrace.h955 __entry->blockcount = irec->rc_blockcount;
2145 __entry->blockcount = rec->rc_blockcount;
/fs/xfs/
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;

Completed in 43 milliseconds