Home
last modified time | relevance | path

Searched refs:bc_nlevels (Results 1 – 16 of 16) sorted by relevance

/linux-6.1.9/fs/xfs/libxfs/
Dxfs_btree_staging.c151 cur->bc_nlevels = afake->af_levels; in xfs_btree_stage_afakeroot()
231 cur->bc_nlevels = ifake->if_levels; in xfs_btree_stage_ifakeroot()
380 level == cur->bc_nlevels - 1) { in xfs_btree_bload_prep_block()
521 if (level == cur->bc_nlevels - 1 && cur->bc_ops->get_dmaxrecs) in xfs_btree_bload_max_npb()
546 if (level == cur->bc_nlevels - 1) in xfs_btree_bload_desired_npb()
660 cur->bc_nlevels = cur->bc_maxlevels - 1; in xfs_btree_bload_compute_geometry()
665 for (cur->bc_nlevels = 1; cur->bc_nlevels <= cur->bc_maxlevels;) { in xfs_btree_bload_compute_geometry()
668 unsigned int level = cur->bc_nlevels - 1; in xfs_btree_bload_compute_geometry()
705 cur->bc_nlevels++; in xfs_btree_bload_compute_geometry()
706 ASSERT(cur->bc_nlevels <= cur->bc_maxlevels); in xfs_btree_bload_compute_geometry()
[all …]
Dxfs_btree.c438 for (i = 0; i < cur->bc_nlevels; i++) { in xfs_btree_del_cursor()
492 for (i = 0; i < new->bc_nlevels; i++) { in xfs_btree_dup_cursor()
754 (level == cur->bc_nlevels - 1)) { in xfs_btree_get_block()
997 (lev == cur->bc_nlevels - 1)) in xfs_btree_readahead()
1611 ASSERT(level < cur->bc_nlevels); in xfs_btree_increment()
1640 for (lev = level + 1; lev < cur->bc_nlevels; lev++) { in xfs_btree_increment()
1660 if (lev == cur->bc_nlevels) { in xfs_btree_increment()
1667 ASSERT(lev < cur->bc_nlevels); in xfs_btree_increment()
1713 ASSERT(level < cur->bc_nlevels); in xfs_btree_decrement()
1742 for (lev = level + 1; lev < cur->bc_nlevels; lev++) { in xfs_btree_decrement()
[all …]
Dxfs_bmap_btree.c304 if (level == cur->bc_nlevels - 1) { in xfs_bmbt_get_minrecs()
322 if (level == cur->bc_nlevels - 1) { in xfs_bmbt_get_maxrecs()
350 if (level != cur->bc_nlevels - 1) in xfs_bmbt_get_dmaxrecs()
559 cur->bc_nlevels = be16_to_cpu(ifp->if_broot->bb_level) + 1; in xfs_bmbt_init_cursor()
Dxfs_alloc_btree.c521 cur->bc_nlevels = be32_to_cpu(agf->agf_levels[XFS_BTNUM_CNT]); in xfs_allocbt_init_cursor()
523 cur->bc_nlevels = be32_to_cpu(agf->agf_levels[XFS_BTNUM_BNO]); in xfs_allocbt_init_cursor()
Dxfs_ialloc_btree.c470 cur->bc_nlevels = be32_to_cpu(agi->agi_level); in xfs_inobt_init_cursor()
472 cur->bc_nlevels = be32_to_cpu(agi->agi_free_level); in xfs_inobt_init_cursor()
Dxfs_btree.h237 uint8_t bc_nlevels; /* number of levels in the tree */ member
Dxfs_refcount_btree.c364 cur->bc_nlevels = be32_to_cpu(agf->agf_refcount_level); in xfs_refcountbt_init_cursor()
Dxfs_rmap_btree.c482 cur->bc_nlevels = be32_to_cpu(agf->agf_levels[XFS_BTNUM_RMAP]); in xfs_rmapbt_init_cursor()
Dxfs_alloc.c502 if (bno_cur->bc_nlevels == 1 && cnt_cur->bc_nlevels == 1) { in xfs_alloc_fixup_trees()
Dxfs_ialloc.c221 if (cur->bc_nlevels == 1) { in xfs_check_agi_freecount()
/linux-6.1.9/fs/xfs/scrub/
Dbtree.c149 if (cur->bc_nlevels == 1) in xchk_btree_rec()
196 if (level + 1 >= cur->bc_nlevels) in xchk_btree_key()
230 level == bs->cur->bc_nlevels) in xchk_btree_ptr_ok()
324 if (level == cur->bc_nlevels - 1) { in xchk_btree_block_check_siblings()
482 unsigned int root_level = cur->bc_nlevels - 1; in xchk_btree_check_minrecs()
497 level == cur->bc_nlevels - 2) { in xchk_btree_check_minrecs()
591 if (level >= cur->bc_nlevels - 1) in xchk_btree_block_keys()
647 cur_sz = xchk_btree_sizeof(cur->bc_nlevels); in xchk_btree()
668 level = cur->bc_nlevels - 1; in xchk_btree()
670 if (!xchk_btree_ptr_ok(bs, cur->bc_nlevels, &ptr)) in xchk_btree()
[all …]
Dtrace.c24 if (level < cur->bc_nlevels && cur->bc_levels[level].bp) in xchk_btree_cur_fsbno()
28 if (level == cur->bc_nlevels - 1 && in xchk_btree_cur_fsbno()
Dbitmap.c259 for (i = 0; i < cur->bc_nlevels && cur->bc_levels[i].ptr == 1; i++) { in xbitmap_set_btcur_path()
Dbmap.c390 for (i = 0; i < bs->cur->bc_nlevels - 1; i++) { in xchk_bmapbt_rec()
Dtrace.h513 __entry->nlevels = cur->bc_nlevels;
/linux-6.1.9/fs/xfs/
Dxfs_trace.h2472 __entry->nlevels = cur->bc_nlevels;
3969 __entry->nlevels = cur->bc_nlevels;