Home
last modified time | relevance | path

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

/fs/xfs/libxfs/
A Dxfs_alloc_btree.c140 key->alloc.ar_blockcount = rec->alloc.ar_blockcount; in xfs_allocbt_init_key_from_rec()
153 key->alloc.ar_blockcount = 0; in xfs_bnobt_init_high_key_from_rec()
161 key->alloc.ar_blockcount = rec->alloc.ar_blockcount; in xfs_cntbt_init_high_key_from_rec()
171 rec->alloc.ar_blockcount = cpu_to_be32(cur->bc_rec.a.ar_blockcount); in xfs_allocbt_init_rec_from_cur()
209 return cmp_int(be32_to_cpu(kp->ar_blockcount), rec->ar_blockcount) ?: in xfs_cntbt_cmp_key_with_cur()
233 ASSERT(!mask || (mask->alloc.ar_blockcount && in xfs_cntbt_cmp_two_keys()
368 be32_to_cpu(r1->alloc.ar_blockcount) <= in xfs_bnobt_recs_inorder()
379 be32_to_cpu(k2->alloc.ar_blockcount) || in xfs_cntbt_keys_inorder()
380 (k1->alloc.ar_blockcount == k2->alloc.ar_blockcount && in xfs_cntbt_keys_inorder()
392 be32_to_cpu(r2->alloc.ar_blockcount) || in xfs_cntbt_recs_inorder()
[all …]
A Dxfs_ag.c351 arec->ar_blockcount = cpu_to_be32(start - in xfs_freesp_init_recs()
362 be32_to_cpu(arec->ar_blockcount)); in xfs_freesp_init_recs()
375 arec->ar_blockcount = cpu_to_be32(id->agsize - in xfs_freesp_init_recs()
377 if (arec->ar_blockcount) in xfs_freesp_init_recs()
A Dxfs_alloc.c165 cur->bc_rec.a.ar_blockcount = len; in xfs_alloc_lookup()
236 rec.alloc.ar_blockcount = cpu_to_be32(len); in xfs_alloc_update()
247 irec->ar_blockcount = be32_to_cpu(rec->alloc.ar_blockcount); in xfs_alloc_btrec_to_irec()
256 if (irec->ar_blockcount == 0) in xfs_alloc_check_irec()
260 if (!xfs_verify_agbext(pag, irec->ar_startblock, irec->ar_blockcount)) in xfs_alloc_check_irec()
279 irec->ar_blockcount); in xfs_alloc_complain_bad_rec()
309 *len = irec.ar_blockcount; in xfs_alloc_get_rec()
524 *longest = irec.ar_blockcount; in xfs_cntbt_longest()
A Dxfs_format.h1545 __be32 ar_blockcount; /* count of free blocks */ member
1550 xfs_extlen_t ar_blockcount; /* count of free blocks */ member
/fs/xfs/scrub/
A Dalloc_repair.c161 rec->ar_startblock, rec->ar_blockcount, &outcome); in xrep_abt_check_free_ext()
171 rec->ar_blockcount, &outcome); in xrep_abt_check_free_ext()
179 rec->ar_blockcount, &outcome); in xrep_abt_check_free_ext()
200 .ar_blockcount = end - ra->next_agbno, in xrep_abt_stash()
218 ra->nr_blocks += arec.ar_blockcount; in xrep_abt_stash()
314 next_agbno = arec.ar_startblock + arec.ar_blockcount; in xrep_bnobt_sort_records()
333 if (ap->ar_blockcount > bp->ar_blockcount) in xrep_cntbt_extent_cmp()
335 else if (ap->ar_blockcount < bp->ar_blockcount) in xrep_cntbt_extent_cmp()
483 ASSERT(arec.ar_blockcount <= UINT_MAX); in xrep_abt_reserve_space()
496 if (arec.ar_blockcount > desired) { in xrep_abt_reserve_space()
[all …]
A Dalloc.c102 xfs_extlen_t len = irec->ar_blockcount; in xchk_allocbt_xref()
124 if (ca->prev.ar_blockcount > 0 && in xchk_allocbt_mergeable()
125 ca->prev.ar_startblock + ca->prev.ar_blockcount == irec->ar_startblock && in xchk_allocbt_mergeable()
126 ca->prev.ar_blockcount + irec->ar_blockcount < (uint32_t)~0U) in xchk_allocbt_mergeable()
A Dagheader_repair.c105 raa->freeblks += rec->ar_blockcount; in xrep_agf_walk_allocbt()
106 if (rec->ar_blockcount > raa->longest) in xrep_agf_walk_allocbt()
107 raa->longest = rec->ar_blockcount; in xrep_agf_walk_allocbt()
A Dagheader.c441 (*blocks) += rec->ar_blockcount; in xchk_agf_record_bno_lengths()
A Drmap_repair.c1471 rec->ar_blockcount); in xrep_rmap_find_freesp()
A Dtrace.h2085 __entry->blockcount = rec->ar_blockcount;
/fs/xfs/
A Dxfs_fsmap.c434 rec->ar_startblock, rec->ar_blockcount, &frec); in xfs_getfsmap_datadev_bnobt_helper()

Completed in 41 milliseconds