Lines Matching refs:btnum
41 int btnum = cur->bc_btnum; in xfs_allocbt_set_root() local
45 agf->agf_roots[btnum] = ptr->s; in xfs_allocbt_set_root()
46 be32_add_cpu(&agf->agf_levels[btnum], inc); in xfs_allocbt_set_root()
47 cur->bc_ag.pag->pagf_levels[btnum] += inc; in xfs_allocbt_set_root()
302 xfs_btnum_t btnum = XFS_BTNUM_BNOi; in xfs_allocbt_verify() local
324 btnum = XFS_BTNUM_CNTi; in xfs_allocbt_verify()
326 if (level >= pag->pagf_levels[btnum]) in xfs_allocbt_verify()
498 xfs_btnum_t btnum) in xfs_allocbt_init_common() argument
502 ASSERT(btnum == XFS_BTNUM_BNO || btnum == XFS_BTNUM_CNT); in xfs_allocbt_init_common()
504 cur = xfs_btree_alloc_cursor(mp, tp, btnum, mp->m_alloc_maxlevels, in xfs_allocbt_init_common()
508 if (btnum == XFS_BTNUM_CNT) { in xfs_allocbt_init_common()
534 xfs_btnum_t btnum) /* btree identifier */ in xfs_allocbt_init_cursor() argument
539 cur = xfs_allocbt_init_common(mp, tp, pag, btnum); in xfs_allocbt_init_cursor()
540 if (btnum == XFS_BTNUM_CNT) in xfs_allocbt_init_cursor()
556 xfs_btnum_t btnum) in xfs_allocbt_stage_cursor() argument
560 cur = xfs_allocbt_init_common(mp, NULL, pag, btnum); in xfs_allocbt_stage_cursor()