Home
last modified time | relevance | path

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

/linux-5.19.10/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.c441 for (i = 0; i < cur->bc_nlevels; i++) { in xfs_btree_del_cursor()
495 for (i = 0; i < new->bc_nlevels; i++) { in xfs_btree_dup_cursor()
757 (level == cur->bc_nlevels - 1)) { in xfs_btree_get_block()
1000 (lev == cur->bc_nlevels - 1)) in xfs_btree_readahead()
1614 ASSERT(level < cur->bc_nlevels); in xfs_btree_increment()
1643 for (lev = level + 1; lev < cur->bc_nlevels; lev++) { in xfs_btree_increment()
1663 if (lev == cur->bc_nlevels) { in xfs_btree_increment()
1670 ASSERT(lev < cur->bc_nlevels); in xfs_btree_increment()
1716 ASSERT(level < cur->bc_nlevels); in xfs_btree_decrement()
1745 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.c520 cur->bc_nlevels = be32_to_cpu(agf->agf_levels[XFS_BTNUM_CNT]); in xfs_allocbt_init_cursor()
522 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_refcount_btree.c355 cur->bc_nlevels = be32_to_cpu(agf->agf_refcount_level); in xfs_refcountbt_init_cursor()
Dxfs_btree.h237 uint8_t bc_nlevels; /* number of levels in the tree */ member
Dxfs_rmap_btree.c482 cur->bc_nlevels = be32_to_cpu(agf->agf_levels[XFS_BTNUM_RMAP]); in xfs_rmapbt_init_cursor()
Dxfs_alloc.c505 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-5.19.10/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-5.19.10/fs/xfs/
Dxfs_trace.h2469 __entry->nlevels = cur->bc_nlevels;
3940 __entry->nlevels = cur->bc_nlevels;