Lines Matching refs:btnum
40 int btnum = cur->bc_btnum; in xfs_allocbt_set_root() local
44 agf->agf_roots[btnum] = ptr->s; in xfs_allocbt_set_root()
45 be32_add_cpu(&agf->agf_levels[btnum], inc); in xfs_allocbt_set_root()
46 cur->bc_ag.pag->pagf_levels[btnum] += inc; in xfs_allocbt_set_root()
293 xfs_btnum_t btnum = XFS_BTNUM_BNOi; in xfs_allocbt_verify() local
315 btnum = XFS_BTNUM_CNTi; in xfs_allocbt_verify()
317 if (level >= pag->pagf_levels[btnum]) in xfs_allocbt_verify()
474 xfs_btnum_t btnum) in xfs_allocbt_init_common() argument
478 ASSERT(btnum == XFS_BTNUM_BNO || btnum == XFS_BTNUM_CNT); in xfs_allocbt_init_common()
484 cur->bc_btnum = btnum; in xfs_allocbt_init_common()
488 if (btnum == XFS_BTNUM_CNT) { in xfs_allocbt_init_common()
516 xfs_btnum_t btnum) /* btree identifier */ in xfs_allocbt_init_cursor() argument
521 cur = xfs_allocbt_init_common(mp, tp, pag, btnum); in xfs_allocbt_init_cursor()
522 if (btnum == XFS_BTNUM_CNT) in xfs_allocbt_init_cursor()
538 xfs_btnum_t btnum) in xfs_allocbt_stage_cursor() argument
542 cur = xfs_allocbt_init_common(mp, NULL, pag, btnum); in xfs_allocbt_stage_cursor()