Home
last modified time | relevance | path

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

/fs/xfs/libxfs/
Dxfs_alloc_btree.c40 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()
[all …]
Dxfs_ialloc_btree.c431 xfs_btnum_t btnum) /* ialloc or free ino btree */ in xfs_inobt_init_common() argument
438 cur->bc_btnum = btnum; in xfs_inobt_init_common()
439 if (btnum == XFS_BTNUM_INO) { in xfs_inobt_init_common()
465 xfs_btnum_t btnum) in xfs_inobt_init_cursor() argument
470 cur = xfs_inobt_init_common(mp, tp, pag, btnum); in xfs_inobt_init_cursor()
471 if (btnum == XFS_BTNUM_INO) in xfs_inobt_init_cursor()
485 xfs_btnum_t btnum) in xfs_inobt_stage_cursor() argument
489 cur = xfs_inobt_init_common(mp, NULL, pag, btnum); in xfs_inobt_stage_cursor()
686 xfs_btnum_t btnum, in xfs_inobt_count_blocks() argument
693 error = xfs_inobt_cur(mp, tp, pag, btnum, &cur, &agbp); in xfs_inobt_count_blocks()
Dxfs_ialloc_btree.h51 struct xfs_perag *pag, xfs_btnum_t btnum);
54 xfs_btnum_t btnum);
72 struct xfs_perag *pag, xfs_btnum_t btnum,
Dxfs_alloc_btree.h52 struct xfs_perag *pag, xfs_btnum_t btnum);
55 xfs_btnum_t btnum);
Dxfs_rmap_btree.c66 int btnum = cur->bc_btnum; in xfs_rmapbt_set_root() local
70 agf->agf_roots[btnum] = ptr->s; in xfs_rmapbt_set_root()
71 be32_add_cpu(&agf->agf_levels[btnum], inc); in xfs_rmapbt_set_root()
72 cur->bc_ag.pag->pagf_levels[btnum] += inc; in xfs_rmapbt_set_root()
Dxfs_btree.h68 uint32_t xfs_btree_magic(int crc, xfs_btnum_t btnum);
379 xfs_btnum_t btnum,
389 xfs_btnum_t btnum,
Dxfs_btree.c45 xfs_btnum_t btnum) in xfs_btree_magic() argument
47 uint32_t magic = xfs_magics[crc][btnum]; in xfs_btree_magic()
131 xfs_btnum_t btnum = cur->bc_btnum; in __xfs_btree_check_lblock() local
146 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
212 if (be32_to_cpu(block->bb_magic) != xfs_btree_magic(crc, btnum)) in __xfs_btree_check_sblock()
1165 xfs_btnum_t btnum, in xfs_btree_init_block_int() argument
1172 __u32 magic = xfs_btree_magic(crc, btnum); in xfs_btree_init_block_int()
1207 xfs_btnum_t btnum, in xfs_btree_init_block() argument
1213 btnum, level, numrecs, owner, 0); in xfs_btree_init_block()
Dxfs_ialloc.c178 xfs_btnum_t btnum) in xfs_inobt_insert() argument
185 cur = xfs_inobt_init_cursor(mp, tp, agbp, pag, btnum); in xfs_inobt_insert()
521 int btnum, in xfs_inobt_insert_sprec() argument
530 cur = xfs_inobt_init_cursor(mp, tp, agbp, pag, btnum); in xfs_inobt_insert_sprec()
/fs/xfs/scrub/
Dtrace.h334 __field(xfs_btnum_t, btnum)
347 __entry->btnum = cur->bc_btnum;
358 __print_symbolic(__entry->btnum, XFS_BTNUM_STRINGS),
376 __field(xfs_btnum_t, btnum)
390 __entry->btnum = cur->bc_btnum;
403 __print_symbolic(__entry->btnum, XFS_BTNUM_STRINGS),
419 __field(xfs_btnum_t, btnum)
430 __entry->btnum = cur->bc_btnum;
440 __print_symbolic(__entry->btnum, XFS_BTNUM_STRINGS),
457 __field(xfs_btnum_t, btnum)
[all …]
Dhealth.c178 xfs_btnum_t btnum) in xchk_ag_btree_healthy_enough() argument
189 switch (btnum) { in xchk_ag_btree_healthy_enough()
Dbtree.c364 xfs_btnum_t btnum; in xchk_btree_check_block_owner() local
371 btnum = bs->cur->bc_btnum; in xchk_btree_check_block_owner()
389 if (!bs->sc->sa.bno_cur && btnum == XFS_BTNUM_BNO) in xchk_btree_check_block_owner()
393 if (!bs->sc->sa.rmap_cur && btnum == XFS_BTNUM_RMAP) in xchk_btree_check_block_owner()
Dhealth.h12 xfs_btnum_t btnum);
Drepair.h30 struct xfs_buf **bpp, xfs_btnum_t btnum,
Drepair.c344 xfs_btnum_t btnum, in xrep_init_btblock() argument
353 XFS_FSB_TO_AGBNO(mp, fsb), btnum); in xrep_init_btblock()
362 xfs_btree_init_block(mp, bp, btnum, 0, 0, sc->sa.pag->pag_agno); in xrep_init_btblock()
/fs/xfs/
Dxfs_trace.h1893 TP_PROTO(struct xfs_mount *mp, xfs_btnum_t btnum, xfs_agblock_t bno,
1895 TP_ARGS(mp, btnum, bno, len, diff, new),
1898 __field(xfs_btnum_t, btnum)
1906 __entry->btnum = btnum;
1914 __print_symbolic(__entry->btnum, XFS_BTNUM_STRINGS),
2469 __field(xfs_btnum_t, btnum)
2477 __entry->btnum = cur->bc_btnum;
2485 __print_symbolic(__entry->btnum, XFS_BTNUM_STRINGS),
3844 __field(xfs_btnum_t, btnum)
3852 __entry->btnum = cur->bc_btnum;
[all …]