Home
last modified time | relevance | path

Searched refs:btnum (Results 1 – 7 of 7) sorted by relevance

/fs/xfs/libxfs/
Dxfs_alloc_btree.c54 int btnum = cur->bc_btnum; in xfs_allocbt_set_root() local
59 agf->agf_roots[btnum] = ptr->s; in xfs_allocbt_set_root()
60 be32_add_cpu(&agf->agf_levels[btnum], inc); in xfs_allocbt_set_root()
61 pag->pagf_levels[btnum] += inc; in xfs_allocbt_set_root()
498 xfs_btnum_t btnum) /* btree identifier */ in xfs_allocbt_init_cursor() argument
503 ASSERT(btnum == XFS_BTNUM_BNO || btnum == XFS_BTNUM_CNT); in xfs_allocbt_init_cursor()
509 cur->bc_btnum = btnum; in xfs_allocbt_init_cursor()
512 if (btnum == XFS_BTNUM_CNT) { in xfs_allocbt_init_cursor()
Dxfs_ialloc_btree.c398 xfs_btnum_t btnum) /* ialloc or free ino btree */ in xfs_inobt_init_cursor() argument
407 cur->bc_btnum = btnum; in xfs_inobt_init_cursor()
408 if (btnum == XFS_BTNUM_INO) { in xfs_inobt_init_cursor()
544 xfs_btnum_t btnum, in xfs_inobt_count_blocks() argument
555 cur = xfs_inobt_init_cursor(mp, NULL, agbp, agno, btnum); in xfs_inobt_count_blocks()
Dxfs_rmap_btree.c82 int btnum = cur->bc_btnum; in xfs_rmapbt_set_root() local
87 agf->agf_roots[btnum] = ptr->s; in xfs_rmapbt_set_root()
88 be32_add_cpu(&agf->agf_levels[btnum], inc); in xfs_rmapbt_set_root()
89 pag->pagf_levels[btnum] += inc; in xfs_rmapbt_set_root()
Dxfs_btree.h79 uint32_t xfs_btree_magic(int crc, xfs_btnum_t btnum);
382 xfs_btnum_t btnum,
393 xfs_btnum_t btnum,
Dxfs_btree.c57 xfs_btnum_t btnum) in xfs_btree_magic() argument
59 uint32_t magic = xfs_magics[crc][btnum]; in xfs_btree_magic()
75 xfs_btnum_t btnum = cur->bc_btnum; in xfs_btree_check_lblock() local
90 be32_to_cpu(block->bb_magic) == xfs_btree_magic(crc, btnum) && in xfs_btree_check_lblock()
125 xfs_btnum_t btnum = cur->bc_btnum; in xfs_btree_check_sblock() local
143 be32_to_cpu(block->bb_magic) == xfs_btree_magic(crc, btnum) && in xfs_btree_check_sblock()
1104 xfs_btnum_t btnum, in xfs_btree_init_block_int() argument
1111 __u32 magic = xfs_btree_magic(crc, btnum); in xfs_btree_init_block_int()
1146 xfs_btnum_t btnum, in xfs_btree_init_block() argument
1153 btnum, level, numrecs, owner, flags); in xfs_btree_init_block()
Dxfs_ialloc.c176 xfs_btnum_t btnum) in xfs_inobt_insert() argument
185 cur = xfs_inobt_init_cursor(mp, tp, agbp, agno, btnum); in xfs_inobt_insert()
523 int btnum, in xfs_inobt_insert_sprec() argument
534 cur = xfs_inobt_init_cursor(mp, tp, agbp, agno, btnum); in xfs_inobt_insert_sprec()
/fs/xfs/
Dxfs_trace.h2247 __field(xfs_btnum_t, btnum)
2255 __entry->btnum = cur->bc_btnum;
2263 __entry->btnum,