Home
last modified time | relevance | path

Searched refs:bload (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/fs/xfs/scrub/
Dalloc_repair.c453 &ra->new_cntbt.bload, ra->nr_real_records); in xrep_abt_reserve_space()
458 &ra->new_bnobt.bload, ra->nr_real_records); in xrep_abt_reserve_space()
463 required = ra->new_bnobt.bload.nr_blocks + in xrep_abt_reserve_space()
464 ra->new_cntbt.bload.nr_blocks; in xrep_abt_reserve_space()
661 freesp_btreeblks += ra->new_bnobt.bload.nr_blocks - 1; in xrep_abt_reset_counters()
662 freesp_btreeblks += ra->new_cntbt.bload.nr_blocks - 1; in xrep_abt_reset_counters()
731 ra->new_bnobt.bload.get_records = xrep_abt_get_records; in xrep_abt_build_new_trees()
732 ra->new_cntbt.bload.get_records = xrep_abt_get_records; in xrep_abt_build_new_trees()
734 ra->new_bnobt.bload.claim_block = xrep_abt_claim_block; in xrep_abt_build_new_trees()
735 ra->new_cntbt.bload.claim_block = xrep_abt_claim_block; in xrep_abt_build_new_trees()
[all …]
Dnewbt.c47 struct xfs_btree_bload *bload = &xnr->bload; in xrep_newbt_estimate_slack() local
56 bload->leaf_slack = xfs_globals.bload_leaf_slack; in xrep_newbt_estimate_slack()
57 bload->node_slack = xfs_globals.bload_node_slack; in xrep_newbt_estimate_slack()
76 if (bload->leaf_slack < 0) in xrep_newbt_estimate_slack()
77 bload->leaf_slack = 2; in xrep_newbt_estimate_slack()
78 if (bload->node_slack < 0) in xrep_newbt_estimate_slack()
79 bload->node_slack = 2; in xrep_newbt_estimate_slack()
97 xnr->bload.max_dirty = XFS_B_TO_FSBT(sc->mp, 256U << 10); /* 256K */ in xrep_newbt_init_ag()
Dialloc_repair.c663 ri->new_inobt.bload.claim_block = xrep_ibt_claim_block; in xrep_ibt_build_new_trees()
664 ri->new_inobt.bload.get_records = xrep_ibt_get_records; in xrep_ibt_build_new_trees()
668 error = xfs_btree_bload_compute_geometry(ino_cur, &ri->new_inobt.bload, in xrep_ibt_build_new_trees()
684 ri->new_finobt.bload.claim_block = xrep_fibt_claim_block; in xrep_ibt_build_new_trees()
685 ri->new_finobt.bload.get_records = xrep_fibt_get_records; in xrep_ibt_build_new_trees()
690 &ri->new_finobt.bload, ri->finobt_recs); in xrep_ibt_build_new_trees()
701 ri->new_inobt.bload.nr_blocks); in xrep_ibt_build_new_trees()
707 ri->new_finobt.bload.nr_blocks); in xrep_ibt_build_new_trees()
714 error = xfs_btree_bload(ino_cur, &ri->new_inobt.bload, ri); in xrep_ibt_build_new_trees()
721 error = xfs_btree_bload(fino_cur, &ri->new_finobt.bload, ri); in xrep_ibt_build_new_trees()
Drefcount_repair.c609 rr->new_btree.bload.get_records = xrep_refc_get_records; in xrep_refc_build_new_tree()
610 rr->new_btree.bload.claim_block = xrep_refc_claim_block; in xrep_refc_build_new_tree()
616 &rr->new_btree.bload, in xrep_refc_build_new_tree()
627 rr->new_btree.bload.nr_blocks); in xrep_refc_build_new_tree()
637 pag->pagf_repair_refcount_level = rr->new_btree.bload.btree_height; in xrep_refc_build_new_tree()
641 error = xfs_btree_bload(refc_cur, &rr->new_btree.bload, rr); in xrep_refc_build_new_tree()
Dbmap_repair.c567 &rb->new_bmapbt.bload, rb->real_mappings); in xrep_bmap_btree_load()
582 rb->new_bmapbt.bload.nr_blocks, 0, true); in xrep_bmap_btree_load()
588 rb->new_bmapbt.bload.nr_blocks); in xrep_bmap_btree_load()
594 error = xfs_btree_bload(bmap_cur, &rb->new_bmapbt.bload, rb); in xrep_bmap_btree_load()
639 rb->new_bmapbt.bload.get_records = xrep_bmap_get_records; in xrep_bmap_build_new_fork()
640 rb->new_bmapbt.bload.claim_block = xrep_bmap_claim_block; in xrep_bmap_build_new_fork()
641 rb->new_bmapbt.bload.iroot_size = xrep_bmap_iroot_size; in xrep_bmap_build_new_fork()
Drmap_repair.c996 nr_blocks = rr->new_btree.bload.nr_blocks; in xrep_rmap_try_reserve()
1009 *blocks_reserved = rr->new_btree.bload.nr_blocks; in xrep_rmap_try_reserve()
1056 &rr->new_btree.bload, rr->nr_records + freesp_records); in xrep_rmap_try_reserve()
1061 *done = nr_blocks >= rr->new_btree.bload.nr_blocks; in xrep_rmap_try_reserve()
1081 &rr->new_btree.bload, rr->nr_records); in xrep_rmap_reserve_space()
1296 rr->new_btree.bload.get_records = xrep_rmap_get_records; in xrep_rmap_build_new_tree()
1297 rr->new_btree.bload.claim_block = xrep_rmap_claim_block; in xrep_rmap_build_new_tree()
1327 pag->pagf_repair_rmap_level = rr->new_btree.bload.btree_height; in xrep_rmap_build_new_tree()
1338 error = xfs_btree_bload(rmap_cur, &rr->new_btree.bload, rr); in xrep_rmap_build_new_tree()
Dnewbt.h51 struct xfs_btree_bload bload; member