Home
last modified time | relevance | path

Searched refs:ar_blockcount (Results 1 – 9 of 9) sorted by relevance

/fs/xfs/libxfs/
Dxfs_alloc_btree.c129 len = rec->alloc.ar_blockcount; in xfs_allocbt_update_lastrec()
132 if (be32_to_cpu(rec->alloc.ar_blockcount) <= in xfs_allocbt_update_lastrec()
135 len = rec->alloc.ar_blockcount; in xfs_allocbt_update_lastrec()
147 len = rrp->ar_blockcount; in xfs_allocbt_update_lastrec()
186 key->alloc.ar_blockcount = rec->alloc.ar_blockcount; in xfs_allocbt_init_key_from_rec()
197 x += be32_to_cpu(rec->alloc.ar_blockcount) - 1; in xfs_bnobt_init_high_key_from_rec()
199 key->alloc.ar_blockcount = 0; in xfs_bnobt_init_high_key_from_rec()
207 key->alloc.ar_blockcount = rec->alloc.ar_blockcount; in xfs_cntbt_init_high_key_from_rec()
217 rec->alloc.ar_blockcount = cpu_to_be32(cur->bc_rec.a.ar_blockcount); in xfs_allocbt_init_rec_from_cur()
252 diff = (int64_t)be32_to_cpu(kp->ar_blockcount) - rec->ar_blockcount; in xfs_cntbt_key_diff()
[all …]
Dxfs_ag.c521 arec->ar_blockcount = cpu_to_be32(start - in xfs_freesp_init_recs()
532 be32_to_cpu(arec->ar_blockcount)); in xfs_freesp_init_recs()
545 arec->ar_blockcount = cpu_to_be32(id->agsize - in xfs_freesp_init_recs()
547 if (arec->ar_blockcount) in xfs_freesp_init_recs()
Dxfs_alloc.c166 cur->bc_rec.a.ar_blockcount = len; in xfs_alloc_lookup_eq()
186 cur->bc_rec.a.ar_blockcount = len; in xfs_alloc_lookup_ge()
205 cur->bc_rec.a.ar_blockcount = len; in xfs_alloc_lookup_le()
232 rec.alloc.ar_blockcount = cpu_to_be32(len); in xfs_alloc_update()
243 irec->ar_blockcount = be32_to_cpu(rec->alloc.ar_blockcount); in xfs_alloc_btrec_to_irec()
254 if (irec->ar_blockcount == 0) in xfs_alloc_check_irec()
258 if (!xfs_verify_agbext(pag, irec->ar_startblock, irec->ar_blockcount)) in xfs_alloc_check_irec()
278 irec->ar_blockcount); in xfs_alloc_complain_bad_rec()
307 *len = irec.ar_blockcount; in xfs_alloc_get_rec()
Dxfs_format.h1385 __be32 ar_blockcount; /* count of free blocks */ member
1390 xfs_extlen_t ar_blockcount; /* count of free blocks */ member
/fs/xfs/
Dxfs_discard.c181 error = xfs_alloc_lookup_ge(cur, 0, tcur->ar_blockcount, &i); in xfs_trim_gather_extents()
184 tcur->ar_blockcount, &i); in xfs_trim_gather_extents()
189 tcur->ar_blockcount = 0; in xfs_trim_gather_extents()
217 tcur->ar_blockcount = flen; in xfs_trim_gather_extents()
234 tcur->ar_blockcount = 0; in xfs_trim_gather_extents()
271 tcur->ar_blockcount = 0; in xfs_trim_gather_extents()
306 .ar_blockcount = pag->pagf_longest, in xfs_trim_extents()
348 } while (tcur.ar_blockcount != 0); in xfs_trim_extents()
Dxfs_fsmap.c407 irec.rm_blockcount = rec->ar_blockcount; in xfs_getfsmap_datadev_bnobt_helper()
/fs/xfs/scrub/
Dalloc.c90 xfs_extlen_t len = irec->ar_blockcount; in xchk_allocbt_xref()
112 if (ca->prev.ar_blockcount > 0 && in xchk_allocbt_mergeable()
113 ca->prev.ar_startblock + ca->prev.ar_blockcount == irec->ar_startblock && in xchk_allocbt_mergeable()
114 ca->prev.ar_blockcount + irec->ar_blockcount < (uint32_t)~0U) in xchk_allocbt_mergeable()
Dagheader_repair.c99 raa->freeblks += rec->ar_blockcount; in xrep_agf_walk_allocbt()
100 if (rec->ar_blockcount > raa->longest) in xrep_agf_walk_allocbt()
101 raa->longest = rec->ar_blockcount; in xrep_agf_walk_allocbt()
Dagheader.c374 (*blocks) += rec->ar_blockcount; in xchk_agf_record_bno_lengths()