/fs/xfs/libxfs/ |
D | xfs_alloc_btree.c | 40 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 …]
|
D | xfs_ialloc_btree.c | 431 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()
|
D | xfs_ialloc_btree.h | 51 struct xfs_perag *pag, xfs_btnum_t btnum); 54 xfs_btnum_t btnum); 72 struct xfs_perag *pag, xfs_btnum_t btnum,
|
D | xfs_alloc_btree.h | 52 struct xfs_perag *pag, xfs_btnum_t btnum); 55 xfs_btnum_t btnum);
|
D | xfs_rmap_btree.c | 66 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()
|
D | xfs_btree.h | 68 uint32_t xfs_btree_magic(int crc, xfs_btnum_t btnum); 379 xfs_btnum_t btnum, 389 xfs_btnum_t btnum,
|
D | xfs_btree.c | 45 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()
|
D | xfs_ialloc.c | 178 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/ |
D | trace.h | 334 __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 …]
|
D | health.c | 178 xfs_btnum_t btnum) in xchk_ag_btree_healthy_enough() argument 189 switch (btnum) { in xchk_ag_btree_healthy_enough()
|
D | btree.c | 364 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()
|
D | health.h | 12 xfs_btnum_t btnum);
|
D | repair.h | 30 struct xfs_buf **bpp, xfs_btnum_t btnum,
|
D | repair.c | 344 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/ |
D | xfs_trace.h | 1893 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 …]
|