Home
last modified time | relevance | path

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

/Linux-v6.1/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.c420 arec->ar_blockcount = cpu_to_be32(start - in xfs_freesp_init_recs()
430 be32_to_cpu(arec->ar_blockcount)); in xfs_freesp_init_recs()
446 arec->ar_blockcount = cpu_to_be32(id->agsize - in xfs_freesp_init_recs()
448 if (!arec->ar_blockcount) in xfs_freesp_init_recs()
Dxfs_alloc.c170 cur->bc_rec.a.ar_blockcount = len; in xfs_alloc_lookup_eq()
190 cur->bc_rec.a.ar_blockcount = len; in xfs_alloc_lookup_ge()
209 cur->bc_rec.a.ar_blockcount = len; in xfs_alloc_lookup_le()
236 rec.alloc.ar_blockcount = cpu_to_be32(len); in xfs_alloc_update()
260 *len = be32_to_cpu(rec->alloc.ar_blockcount); in xfs_alloc_get_rec()
3456 irec.ar_blockcount = be32_to_cpu(rec->alloc.ar_blockcount); in xfs_alloc_query_range_helper()
Dxfs_format.h1385 __be32 ar_blockcount; /* count of free blocks */ member
1390 xfs_extlen_t ar_blockcount; /* count of free blocks */ member
/Linux-v6.1/fs/xfs/scrub/
Dalloc.c101 len = be32_to_cpu(rec->alloc.ar_blockcount); in xchk_allocbt_rec()
Dagheader_repair.c94 raa->freeblks += rec->ar_blockcount; in xrep_agf_walk_allocbt()
95 if (rec->ar_blockcount > raa->longest) in xrep_agf_walk_allocbt()
96 raa->longest = rec->ar_blockcount; in xrep_agf_walk_allocbt()
Dagheader.c364 (*blocks) += rec->ar_blockcount; in xchk_agf_record_bno_lengths()
/Linux-v6.1/fs/xfs/
Dxfs_fsmap.c380 irec.rm_blockcount = rec->ar_blockcount; in xfs_getfsmap_datadev_bnobt_helper()