Home
last modified time | relevance | path

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

/fs/xfs/scrub/
A Dalloc_repair.c452 &ra->new_cntbt.bload, ra->nr_real_records); in xrep_abt_reserve_space()
457 &ra->new_bnobt.bload, ra->nr_real_records); in xrep_abt_reserve_space()
462 required = ra->new_bnobt.bload.nr_blocks + in xrep_abt_reserve_space()
463 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 …]
A Dnewbt.c49 struct xfs_btree_bload *bload = &xnr->bload; in xrep_newbt_estimate_slack() local
58 bload->leaf_slack = xfs_globals.bload_leaf_slack; in xrep_newbt_estimate_slack()
59 bload->node_slack = xfs_globals.bload_node_slack; in xrep_newbt_estimate_slack()
78 if (bload->leaf_slack < 0) in xrep_newbt_estimate_slack()
79 bload->leaf_slack = 2; in xrep_newbt_estimate_slack()
80 if (bload->node_slack < 0) in xrep_newbt_estimate_slack()
81 bload->node_slack = 2; in xrep_newbt_estimate_slack()
99 xnr->bload.max_dirty = XFS_B_TO_FSBT(sc->mp, 256U << 10); /* 256K */ in xrep_newbt_init_ag()
A Dialloc_repair.c657 ri->new_inobt.bload.claim_block = xrep_ibt_claim_block; in xrep_ibt_build_new_trees()
658 ri->new_inobt.bload.get_records = xrep_ibt_get_records; in xrep_ibt_build_new_trees()
662 error = xfs_btree_bload_compute_geometry(ino_cur, &ri->new_inobt.bload, in xrep_ibt_build_new_trees()
677 ri->new_finobt.bload.claim_block = xrep_fibt_claim_block; in xrep_ibt_build_new_trees()
678 ri->new_finobt.bload.get_records = xrep_fibt_get_records; in xrep_ibt_build_new_trees()
683 &ri->new_finobt.bload, ri->finobt_recs); in xrep_ibt_build_new_trees()
694 ri->new_inobt.bload.nr_blocks); in xrep_ibt_build_new_trees()
700 ri->new_finobt.bload.nr_blocks); in xrep_ibt_build_new_trees()
707 error = xfs_btree_bload(ino_cur, &ri->new_inobt.bload, ri); in xrep_ibt_build_new_trees()
714 error = xfs_btree_bload(fino_cur, &ri->new_finobt.bload, ri); in xrep_ibt_build_new_trees()
A Drtrefcount_repair.c637 rr->new_btree.bload.get_records = xrep_rtrefc_get_records; in xrep_rtrefc_build_new_tree()
638 rr->new_btree.bload.claim_block = xrep_rtrefc_claim_block; in xrep_rtrefc_build_new_tree()
639 rr->new_btree.bload.iroot_size = xrep_rtrefc_iroot_size; in xrep_rtrefc_build_new_tree()
645 error = xfs_btree_bload_compute_geometry(refc_cur, &rr->new_btree.bload, in xrep_rtrefc_build_new_tree()
662 rr->new_btree.bload.nr_blocks, 0, true); in xrep_rtrefc_build_new_tree()
668 rr->new_btree.bload.nr_blocks); in xrep_rtrefc_build_new_tree()
675 error = xfs_btree_bload(refc_cur, &rr->new_btree.bload, rr); in xrep_rtrefc_build_new_tree()
A Drefcount_repair.c608 rr->new_btree.bload.get_records = xrep_refc_get_records; in xrep_refc_build_new_tree()
609 rr->new_btree.bload.claim_block = xrep_refc_claim_block; in xrep_refc_build_new_tree()
615 &rr->new_btree.bload, in xrep_refc_build_new_tree()
626 rr->new_btree.bload.nr_blocks); in xrep_refc_build_new_tree()
636 pag->pagf_repair_refcount_level = rr->new_btree.bload.btree_height; in xrep_refc_build_new_tree()
640 error = xfs_btree_bload(refc_cur, &rr->new_btree.bload, rr); in xrep_refc_build_new_tree()
A Dbmap_repair.c697 &rb->new_bmapbt.bload, rb->real_mappings); in xrep_bmap_btree_load()
712 rb->new_bmapbt.bload.nr_blocks, 0, true); in xrep_bmap_btree_load()
718 rb->new_bmapbt.bload.nr_blocks); in xrep_bmap_btree_load()
724 error = xfs_btree_bload(bmap_cur, &rb->new_bmapbt.bload, rb); in xrep_bmap_btree_load()
769 rb->new_bmapbt.bload.get_records = xrep_bmap_get_records; in xrep_bmap_build_new_fork()
770 rb->new_bmapbt.bload.claim_block = xrep_bmap_claim_block; in xrep_bmap_build_new_fork()
771 rb->new_bmapbt.bload.iroot_size = xrep_bmap_iroot_size; in xrep_bmap_build_new_fork()
A Drtrmap_repair.c727 rr->new_btree.bload.get_records = xrep_rtrmap_get_records; in xrep_rtrmap_build_new_tree()
728 rr->new_btree.bload.claim_block = xrep_rtrmap_claim_block; in xrep_rtrmap_build_new_tree()
729 rr->new_btree.bload.iroot_size = xrep_rtrmap_iroot_size; in xrep_rtrmap_build_new_tree()
736 &rr->new_btree.bload, rr->nr_records); in xrep_rtrmap_build_new_tree()
752 rr->new_btree.bload.nr_blocks, 0, true); in xrep_rtrmap_build_new_tree()
758 rr->new_btree.bload.nr_blocks); in xrep_rtrmap_build_new_tree()
773 error = xfs_btree_bload(rmap_cur, &rr->new_btree.bload, rr); in xrep_rtrmap_build_new_tree()
A Drmap_repair.c1063 nr_blocks = rr->new_btree.bload.nr_blocks; in xrep_rmap_try_reserve()
1076 *blocks_reserved = rr->new_btree.bload.nr_blocks; in xrep_rmap_try_reserve()
1123 &rr->new_btree.bload, rr->nr_records + freesp_records); in xrep_rmap_try_reserve()
1128 *done = nr_blocks >= rr->new_btree.bload.nr_blocks; in xrep_rmap_try_reserve()
1148 &rr->new_btree.bload, rr->nr_records); in xrep_rmap_reserve_space()
1362 rr->new_btree.bload.get_records = xrep_rmap_get_records; in xrep_rmap_build_new_tree()
1363 rr->new_btree.bload.claim_block = xrep_rmap_claim_block; in xrep_rmap_build_new_tree()
1393 pag->pagf_repair_rmap_level = rr->new_btree.bload.btree_height; in xrep_rmap_build_new_tree()
1404 error = xfs_btree_bload(rmap_cur, &rr->new_btree.bload, rr); in xrep_rmap_build_new_tree()
A Dnewbt.h51 struct xfs_btree_bload bload; member

Completed in 21 milliseconds