Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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()
522 if (level == cur->bc_nlevels - 1 && cur->bc_ops->get_dmaxrecs) in xfs_btree_bload_max_npb()
547 if (level == cur->bc_nlevels - 1) in xfs_btree_bload_desired_npb()
661 cur->bc_nlevels = XFS_BTREE_MAXLEVELS - 1; in xfs_btree_bload_compute_geometry()
666 for (cur->bc_nlevels = 1; cur->bc_nlevels < XFS_BTREE_MAXLEVELS;) { in xfs_btree_bload_compute_geometry()
669 unsigned int level = cur->bc_nlevels - 1; in xfs_btree_bload_compute_geometry()
706 cur->bc_nlevels++; in xfs_btree_bload_compute_geometry()
721 cur->bc_nlevels++; in xfs_btree_bload_compute_geometry()
[all …]
Dxfs_btree.c371 for (i = 0; i < cur->bc_nlevels; i++) { in xfs_btree_del_cursor()
423 for (i = 0; i < new->bc_nlevels; i++) { in xfs_btree_dup_cursor()
685 (level == cur->bc_nlevels - 1)) { in xfs_btree_get_block()
928 (lev == cur->bc_nlevels - 1)) in xfs_btree_readahead()
1542 ASSERT(level < cur->bc_nlevels); in xfs_btree_increment()
1571 for (lev = level + 1; lev < cur->bc_nlevels; lev++) { in xfs_btree_increment()
1591 if (lev == cur->bc_nlevels) { in xfs_btree_increment()
1598 ASSERT(lev < cur->bc_nlevels); in xfs_btree_increment()
1644 ASSERT(level < cur->bc_nlevels); in xfs_btree_decrement()
1673 for (lev = level + 1; lev < cur->bc_nlevels; lev++) { in xfs_btree_decrement()
[all …]
Dxfs_bmap_btree.c302 if (level == cur->bc_nlevels - 1) { in xfs_bmbt_get_minrecs()
320 if (level == cur->bc_nlevels - 1) { in xfs_bmbt_get_maxrecs()
348 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.c524 cur->bc_nlevels = be32_to_cpu(agf->agf_levels[XFS_BTNUM_CNT]); in xfs_allocbt_init_cursor()
526 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.h230 uint8_t bc_nlevels; /* number of levels in the tree */ member
Dxfs_refcount_btree.c354 cur->bc_nlevels = be32_to_cpu(agf->agf_refcount_level); in xfs_refcountbt_init_cursor()
Dxfs_rmap_btree.c485 cur->bc_nlevels = be32_to_cpu(agf->agf_levels[XFS_BTNUM_RMAP]); in xfs_rmapbt_init_cursor()
Dxfs_alloc.c487 if (bno_cur->bc_nlevels == 1 && cnt_cur->bc_nlevels == 1) { in xfs_alloc_fixup_trees()
Dxfs_ialloc.c223 if (cur->bc_nlevels == 1) { in xfs_check_agi_freecount()
/kernel/linux/linux-5.10/fs/xfs/scrub/
Dbtree.c148 if (cur->bc_nlevels == 1) in xchk_btree_rec()
196 if (level + 1 >= cur->bc_nlevels) in xchk_btree_key()
229 level == bs->cur->bc_nlevels) in xchk_btree_ptr_ok()
323 if (level == cur->bc_nlevels - 1) { in xchk_btree_block_check_siblings()
456 unsigned int root_level = cur->bc_nlevels - 1; in xchk_btree_check_minrecs()
471 level == cur->bc_nlevels - 2) { in xchk_btree_check_minrecs()
564 if (level >= cur->bc_nlevels - 1) in xchk_btree_block_keys()
628 if (cur->bc_nlevels > XFS_BTREE_MAXLEVELS) { in xchk_btree()
637 level = cur->bc_nlevels - 1; in xchk_btree()
639 if (!xchk_btree_ptr_ok(&bs, cur->bc_nlevels, &ptr)) in xchk_btree()
[all …]
Dtrace.c23 if (level < cur->bc_nlevels && cur->bc_bufs[level]) in xchk_btree_cur_fsbno()
25 else if (level == cur->bc_nlevels - 1 && in xchk_btree_cur_fsbno()
Dbitmap.c259 for (i = 0; i < cur->bc_nlevels && cur->bc_ptrs[i] == 1; i++) { in xbitmap_set_btcur_path()
Dbmap.c410 for (i = 0; i < bs->cur->bc_nlevels - 1; i++) { in xchk_bmapbt_rec()
Dtrace.h507 __entry->nlevels = cur->bc_nlevels;
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_trace.h2335 __entry->nlevels = cur->bc_nlevels;
3785 __entry->nlevels = cur->bc_nlevels;