Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/xfs/libxfs/
Dxfs_alloc_btree.c41 int btnum = cur->bc_btnum; in xfs_allocbt_set_root() local
46 agf->agf_roots[btnum] = ptr->s; in xfs_allocbt_set_root()
47 be32_add_cpu(&agf->agf_levels[btnum], inc); in xfs_allocbt_set_root()
48 pag->pagf_levels[btnum] += inc; in xfs_allocbt_set_root()
296 xfs_btnum_t btnum = XFS_BTNUM_BNOi; in xfs_allocbt_verify() local
318 btnum = XFS_BTNUM_CNTi; in xfs_allocbt_verify()
320 if (level >= pag->pagf_levels[btnum]) in xfs_allocbt_verify()
477 xfs_btnum_t btnum) in xfs_allocbt_init_common() argument
481 ASSERT(btnum == XFS_BTNUM_BNO || btnum == XFS_BTNUM_CNT); in xfs_allocbt_init_common()
487 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()
463 xfs_btnum_t btnum) in xfs_inobt_init_cursor() argument
468 cur = xfs_inobt_init_common(mp, tp, agno, btnum); in xfs_inobt_init_cursor()
469 if (btnum == XFS_BTNUM_INO) in xfs_inobt_init_cursor()
483 xfs_btnum_t btnum) in xfs_inobt_stage_cursor() argument
487 cur = xfs_inobt_init_common(mp, NULL, agno, btnum); in xfs_inobt_stage_cursor()
689 xfs_btnum_t btnum, in xfs_inobt_count_blocks() argument
696 error = xfs_inobt_cur(mp, tp, agno, btnum, &cur, &agbp); in xfs_inobt_count_blocks()
Dxfs_ialloc_btree.h53 xfs_btnum_t btnum);
71 xfs_agnumber_t agno, xfs_btnum_t btnum,
Dxfs_alloc_btree.h54 xfs_btnum_t btnum);
Dxfs_rmap_btree.c66 int btnum = cur->bc_btnum; in xfs_rmapbt_set_root() local
71 agf->agf_roots[btnum] = ptr->s; in xfs_rmapbt_set_root()
72 be32_add_cpu(&agf->agf_levels[btnum], inc); in xfs_rmapbt_set_root()
73 pag->pagf_levels[btnum] += inc; in xfs_rmapbt_set_root()
Dxfs_btree.h67 uint32_t xfs_btree_magic(int crc, xfs_btnum_t btnum);
371 xfs_btnum_t btnum,
381 xfs_btnum_t btnum,
Dxfs_btree.c44 xfs_btnum_t btnum) in xfs_btree_magic() argument
46 uint32_t magic = xfs_magics[crc][btnum]; in xfs_btree_magic()
65 xfs_btnum_t btnum = cur->bc_btnum; in __xfs_btree_check_lblock() local
78 if (be32_to_cpu(block->bb_magic) != xfs_btree_magic(crc, btnum)) in __xfs_btree_check_lblock()
130 xfs_btnum_t btnum = cur->bc_btnum; in __xfs_btree_check_sblock() local
141 if (be32_to_cpu(block->bb_magic) != xfs_btree_magic(crc, btnum)) in __xfs_btree_check_sblock()
1090 xfs_btnum_t btnum, in xfs_btree_init_block_int() argument
1097 __u32 magic = xfs_btree_magic(crc, btnum); in xfs_btree_init_block_int()
1132 xfs_btnum_t btnum, in xfs_btree_init_block() argument
1138 btnum, level, numrecs, owner, 0); in xfs_btree_init_block()
Dxfs_ialloc.c177 xfs_btnum_t btnum) in xfs_inobt_insert() argument
186 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()
/kernel/linux/linux-5.10/fs/xfs/scrub/
Dtrace.h328 __field(xfs_btnum_t, btnum)
341 __entry->btnum = cur->bc_btnum;
352 __print_symbolic(__entry->btnum, XFS_BTNUM_STRINGS),
370 __field(xfs_btnum_t, btnum)
384 __entry->btnum = cur->bc_btnum;
397 __print_symbolic(__entry->btnum, XFS_BTNUM_STRINGS),
413 __field(xfs_btnum_t, btnum)
424 __entry->btnum = cur->bc_btnum;
434 __print_symbolic(__entry->btnum, XFS_BTNUM_STRINGS),
451 __field(xfs_btnum_t, btnum)
[all …]
Dhealth.c177 xfs_btnum_t btnum) in xchk_ag_btree_healthy_enough() argument
188 switch (btnum) { in xchk_ag_btree_healthy_enough()
Dhealth.h12 xfs_btnum_t btnum);
Dbtree.c363 xfs_btnum_t btnum; in xchk_btree_check_block_owner() local
370 btnum = bs->cur->bc_btnum; in xchk_btree_check_block_owner()
388 if (!bs->sc->sa.bno_cur && btnum == XFS_BTNUM_BNO) in xchk_btree_check_block_owner()
392 if (!bs->sc->sa.rmap_cur && btnum == XFS_BTNUM_RMAP) in xchk_btree_check_block_owner()
Drepair.h30 struct xfs_buf **bpp, xfs_btnum_t btnum,
Drepair.c340 xfs_btnum_t btnum, in xrep_init_btblock() argument
349 XFS_FSB_TO_AGBNO(mp, fsb), btnum); in xrep_init_btblock()
358 xfs_btree_init_block(mp, bp, btnum, 0, 0, sc->sa.agno); in xrep_init_btblock()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_trace.h1751 TP_PROTO(struct xfs_mount *mp, xfs_btnum_t btnum, xfs_agblock_t bno,
1753 TP_ARGS(mp, btnum, bno, len, diff, new),
1756 __field(xfs_btnum_t, btnum)
1764 __entry->btnum = btnum;
1772 __print_symbolic(__entry->btnum, XFS_BTNUM_STRINGS),
2325 __field(xfs_btnum_t, btnum)
2333 __entry->btnum = cur->bc_btnum;
2341 __print_symbolic(__entry->btnum, XFS_BTNUM_STRINGS),
3707 __field(xfs_btnum_t, btnum)
3715 __entry->btnum = cur->bc_btnum;
[all …]