Home
last modified time | relevance | path

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

/linux-6.6.21/fs/xfs/libxfs/
Dxfs_alloc_btree.c41 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()
[all …]
Dxfs_ialloc_btree.h50 struct xfs_trans *tp, struct xfs_buf *agbp, xfs_btnum_t btnum);
52 struct xbtree_afakeroot *afake, xfs_btnum_t btnum);
70 xfs_btnum_t btnum, struct xfs_btree_cur **curpp,
Dxfs_ialloc_btree.c452 xfs_btnum_t btnum) /* ialloc or free ino btree */ in xfs_inobt_init_common() argument
457 cur = xfs_btree_alloc_cursor(mp, tp, btnum, in xfs_inobt_init_common()
459 if (btnum == XFS_BTNUM_INO) { in xfs_inobt_init_common()
480 xfs_btnum_t btnum) in xfs_inobt_init_cursor() argument
485 cur = xfs_inobt_init_common(pag, tp, btnum); in xfs_inobt_init_cursor()
486 if (btnum == XFS_BTNUM_INO) in xfs_inobt_init_cursor()
499 xfs_btnum_t btnum) in xfs_inobt_stage_cursor() argument
503 cur = xfs_inobt_init_common(pag, NULL, btnum); in xfs_inobt_stage_cursor()
752 xfs_btnum_t btnum, in xfs_inobt_count_blocks() argument
759 error = xfs_inobt_cur(pag, tp, btnum, &cur, &agbp); in xfs_inobt_count_blocks()
Dxfs_alloc_btree.h52 struct xfs_perag *pag, xfs_btnum_t btnum);
55 xfs_btnum_t btnum);
Dxfs_btree.h66 uint32_t xfs_btree_magic(int crc, xfs_btnum_t btnum);
437 xfs_btnum_t btnum,
447 xfs_btnum_t btnum,
719 xfs_btnum_t btnum, in xfs_btree_alloc_cursor() argument
728 cur->bc_btnum = btnum; in xfs_btree_alloc_cursor()
Dxfs_rmap_btree.c68 int btnum = cur->bc_btnum; in xfs_rmapbt_set_root() local
72 agf->agf_roots[btnum] = ptr->s; in xfs_rmapbt_set_root()
73 be32_add_cpu(&agf->agf_levels[btnum], inc); in xfs_rmapbt_set_root()
74 cur->bc_ag.pag->pagf_levels[btnum] += inc; in xfs_rmapbt_set_root()
Dxfs_btree.c45 xfs_btnum_t btnum) in xfs_btree_magic() argument
47 uint32_t magic = xfs_magics[crc][btnum]; in xfs_btree_magic()
130 xfs_btnum_t btnum = cur->bc_btnum; in __xfs_btree_check_lblock() local
145 if (be32_to_cpu(block->bb_magic) != xfs_btree_magic(crc, btnum)) in __xfs_btree_check_lblock()
198 xfs_btnum_t btnum = cur->bc_btnum; in __xfs_btree_check_sblock() local
211 if (be32_to_cpu(block->bb_magic) != xfs_btree_magic(crc, btnum)) in __xfs_btree_check_sblock()
1162 xfs_btnum_t btnum, in xfs_btree_init_block_int() argument
1169 __u32 magic = xfs_btree_magic(crc, btnum); in xfs_btree_init_block_int()
1204 xfs_btnum_t btnum, in xfs_btree_init_block() argument
1210 btnum, level, numrecs, owner, 0); in xfs_btree_init_block()
Dxfs_ialloc.c203 xfs_btnum_t btnum) in xfs_inobt_insert() argument
210 cur = xfs_inobt_init_cursor(pag, tp, agbp, btnum); in xfs_inobt_insert()
545 int btnum, in xfs_inobt_insert_sprec() argument
555 cur = xfs_inobt_init_cursor(pag, tp, agbp, btnum); in xfs_inobt_insert_sprec()
/linux-6.6.21/fs/xfs/scrub/
Dtrace.h376 __field(xfs_btnum_t, btnum)
389 __entry->btnum = cur->bc_btnum;
400 __print_symbolic(__entry->btnum, XFS_BTNUM_STRINGS),
418 __field(xfs_btnum_t, btnum)
432 __entry->btnum = cur->bc_btnum;
445 __print_symbolic(__entry->btnum, XFS_BTNUM_STRINGS),
461 __field(xfs_btnum_t, btnum)
472 __entry->btnum = cur->bc_btnum;
482 __print_symbolic(__entry->btnum, XFS_BTNUM_STRINGS),
499 __field(xfs_btnum_t, btnum)
[all …]
Dhealth.c182 xfs_btnum_t btnum) in xchk_ag_btree_healthy_enough() argument
193 switch (btnum) { in xchk_ag_btree_healthy_enough()
Dhealth.h12 xfs_btnum_t btnum);
Dbtree.c377 xfs_btnum_t btnum; in xchk_btree_check_block_owner() local
384 btnum = bs->cur->bc_btnum; in xchk_btree_check_block_owner()
402 if (!bs->sc->sa.bno_cur && btnum == XFS_BTNUM_BNO) in xchk_btree_check_block_owner()
406 if (!bs->sc->sa.rmap_cur && btnum == XFS_BTNUM_RMAP) in xchk_btree_check_block_owner()
/linux-6.6.21/fs/xfs/
Dxfs_trace.h1890 TP_PROTO(struct xfs_mount *mp, xfs_btnum_t btnum, xfs_agblock_t bno,
1892 TP_ARGS(mp, btnum, bno, len, diff, new),
1895 __field(xfs_btnum_t, btnum)
1903 __entry->btnum = btnum;
1911 __print_symbolic(__entry->btnum, XFS_BTNUM_STRINGS),
2466 __field(xfs_btnum_t, btnum)
2474 __entry->btnum = cur->bc_btnum;
2482 __print_symbolic(__entry->btnum, XFS_BTNUM_STRINGS),
4082 __field(xfs_btnum_t, btnum)
4090 __entry->btnum = cur->bc_btnum;
[all …]