Home
last modified time | relevance | path

Searched refs:bc_mp (Results 1 – 25 of 28) sorted by relevance

12

/linux-6.12.1/fs/xfs/libxfs/
Dxfs_refcount.c153 struct xfs_mount *mp = cur->bc_mp; in xfs_refcount_complain_bad_rec()
242 if (XFS_IS_CORRUPT(cur->bc_mp, *i != 1)) { in xfs_refcount_insert()
272 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) { in xfs_refcount_delete()
279 if (XFS_IS_CORRUPT(cur->bc_mp, *i != 1)) { in xfs_refcount_delete()
403 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) { in xfs_refcount_split_extent()
430 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) { in xfs_refcount_split_extent()
474 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) { in xfs_refcount_merge_center_extents()
483 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) { in xfs_refcount_merge_center_extents()
493 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) { in xfs_refcount_merge_center_extents()
505 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) { in xfs_refcount_merge_center_extents()
[all …]
Dxfs_ialloc_btree.c33 return M_IGEO(cur->bc_mp)->inobt_mnr[level != 0]; in xfs_inobt_get_minrecs()
90 if (!xfs_has_inobtcounts(cur->bc_mp)) in xfs_inobt_mod_blockcount()
114 args.mp = cur->bc_mp; in __xfs_inobt_alloc_block()
156 if (cur->bc_mp->m_finobt_nores) in xfs_finobt_alloc_block()
171 fsbno = XFS_DADDR_TO_FSB(cur->bc_mp, xfs_buf_daddr(bp)); in __xfs_inobt_free_block()
189 if (cur->bc_mp->m_finobt_nores) in xfs_finobt_free_block()
199 return M_IGEO(cur->bc_mp)->inobt_mxr[level != 0]; in xfs_inobt_get_maxrecs()
228 if (xfs_has_sparseinodes(cur->bc_mp)) { in xfs_inobt_init_rec_from_cur()
542 if (xfs_has_inobtcounts(cur->bc_mp)) { in xfs_inobt_commit_staged_btree()
552 if (xfs_has_inobtcounts(cur->bc_mp)) { in xfs_inobt_commit_staged_btree()
Dxfs_alloc_btree.c30 return xfs_bnobt_init_cursor(cur->bc_mp, cur->bc_tp, cur->bc_ag.agbp, in xfs_bnobt_dup_cursor()
38 return xfs_cntbt_init_cursor(cur->bc_mp, cur->bc_tp, cur->bc_ag.agbp, in xfs_cntbt_dup_cursor()
88 atomic64_inc(&cur->bc_mp->m_allocbt_blks); in xfs_allocbt_alloc_block()
89 xfs_extent_busy_reuse(cur->bc_mp, cur->bc_ag.pag, bno, 1, false); in xfs_allocbt_alloc_block()
106 bno = xfs_daddr_to_agbno(cur->bc_mp, xfs_buf_daddr(bp)); in xfs_allocbt_free_block()
112 atomic64_dec(&cur->bc_mp->m_allocbt_blks); in xfs_allocbt_free_block()
123 return cur->bc_mp->m_alloc_mnr[level != 0]; in xfs_allocbt_get_minrecs()
131 return cur->bc_mp->m_alloc_mxr[level != 0]; in xfs_allocbt_get_maxrecs()
Dxfs_bmap_btree.c186 new = xfs_bmbt_init_cursor(cur->bc_mp, cur->bc_tp, in xfs_bmbt_dup_cursor()
219 args.mp = cur->bc_mp; in xfs_bmbt_alloc_block()
276 struct xfs_mount *mp = cur->bc_mp; in xfs_bmbt_free_block()
303 return xfs_bmbt_maxrecs(cur->bc_mp, in xfs_bmbt_get_minrecs()
307 return cur->bc_mp->m_bmap_dmnr[level != 0]; in xfs_bmbt_get_minrecs()
318 return xfs_bmbt_maxrecs(cur->bc_mp, in xfs_bmbt_get_maxrecs()
322 return cur->bc_mp->m_bmap_dmxr[level != 0]; in xfs_bmbt_get_maxrecs()
341 return cur->bc_mp->m_bmap_dmxr[level != 0]; in xfs_bmbt_get_dmaxrecs()
Dxfs_btree.c125 struct xfs_mount *mp = cur->bc_mp; in __xfs_btree_check_lblock_hdr()
159 struct xfs_mount *mp = cur->bc_mp; in __xfs_btree_check_fsblock()
227 struct xfs_mount *mp = cur->bc_mp; in __xfs_btree_check_agblock()
298 struct xfs_mount *mp = cur->bc_mp; in xfs_btree_check_block()
329 if (!xfs_verify_fsbno(cur->bc_mp, in __xfs_btree_check_ptr()
360 xfs_err(cur->bc_mp, in xfs_btree_check_ptr()
366 xfs_err(cur->bc_mp, in xfs_btree_check_ptr()
373 xfs_err(cur->bc_mp, in xfs_btree_check_ptr()
524 xfs_is_shutdown(cur->bc_mp) || error != 0); in xfs_btree_del_cursor()
550 return cur->bc_mp->m_ddev_targp; in xfs_btree_buftarg()
[all …]
Dxfs_refcount_btree.c32 return xfs_refcountbt_init_cursor(cur->bc_mp, cur->bc_tp, in xfs_refcountbt_dup_cursor()
70 args.mp = cur->bc_mp; in xfs_refcountbt_alloc_block()
104 struct xfs_mount *mp = cur->bc_mp; in xfs_refcountbt_free_block()
120 return cur->bc_mp->m_refc_mnr[level != 0]; in xfs_refcountbt_get_minrecs()
128 return cur->bc_mp->m_refc_mxr[level != 0]; in xfs_refcountbt_get_maxrecs()
Dxfs_ialloc.c62 if (xfs_has_sparseinodes(cur->bc_mp)) { in xfs_inobt_update()
141 struct xfs_mount *mp = cur->bc_mp; in xfs_inobt_complain_bad_rec()
163 struct xfs_mount *mp = cur->bc_mp; in xfs_inobt_get_rec()
278 if (!xfs_is_shutdown(cur->bc_mp)) in xfs_check_agi_freecount()
1003 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) { in xfs_ialloc_next_rec()
1030 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) { in xfs_ialloc_get_rec()
1394 if (XFS_IS_CORRUPT(lcur->bc_mp, i != 1)) { in xfs_dialloc_ag_finobt_near()
1420 if (XFS_IS_CORRUPT(lcur->bc_mp, j != 1)) { in xfs_dialloc_ag_finobt_near()
1427 if (XFS_IS_CORRUPT(lcur->bc_mp, i != 1 && j != 1)) { in xfs_dialloc_ag_finobt_near()
1484 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) { in xfs_dialloc_ag_finobt_newino()
[all …]
Dxfs_rmap_btree.c59 return xfs_rmapbt_init_cursor(cur->bc_mp, cur->bc_tp, in xfs_rmapbt_dup_cursor()
105 xfs_extent_busy_reuse(cur->bc_mp, pag, bno, 1, false); in xfs_rmapbt_alloc_block()
132 bno = xfs_daddr_to_agbno(cur->bc_mp, xfs_buf_daddr(bp)); in xfs_rmapbt_free_block()
151 return cur->bc_mp->m_rmap_mnr[level != 0]; in xfs_rmapbt_get_minrecs()
159 return cur->bc_mp->m_rmap_mxr[level != 0]; in xfs_rmapbt_get_maxrecs()
Dxfs_btree.h82 XFS_STATS_INC_OFF((cur)->bc_mp, \
85 XFS_STATS_ADD_OFF((cur)->bc_mp, \
250 struct xfs_mount *bc_mp; /* file system mount struct */ member
669 cur->bc_mp = mp; in xfs_btree_alloc_cursor()
Dxfs_rmap.c135 if (XFS_IS_CORRUPT(rcur->bc_mp, i != 0)) { in xfs_rmap_insert()
149 if (XFS_IS_CORRUPT(rcur->bc_mp, i != 1)) { in xfs_rmap_insert()
177 if (XFS_IS_CORRUPT(rcur->bc_mp, i != 1)) { in xfs_rmap_delete()
186 if (XFS_IS_CORRUPT(rcur->bc_mp, i != 1)) { in xfs_rmap_delete()
283 struct xfs_mount *mp = cur->bc_mp; in xfs_rmap_complain_bad_rec()
535 struct xfs_mount *mp = cur->bc_mp; in xfs_rmap_free_check_owner()
612 struct xfs_mount *mp = cur->bc_mp; in xfs_rmap_unmap()
956 struct xfs_mount *mp = cur->bc_mp; in xfs_rmap_map()
1183 struct xfs_mount *mp = cur->bc_mp; in xfs_rmap_convert()
1681 struct xfs_mount *mp = cur->bc_mp; in xfs_rmap_convert_shared()
[all …]
Dxfs_btree_mem.c55 ncur = xfs_btree_alloc_cursor(cur->bc_mp, cur->bc_tp, cur->bc_ops, in xfbtree_dup_cursor()
Dxfs_btree_staging.c310 xfs_btree_init_block(cur->bc_mp, ifp->if_broot, cur->bc_ops, in xfs_btree_bload_prep_block()
/linux-6.12.1/fs/xfs/scrub/
Dtrace.c43 return XFS_DADDR_TO_FSB(cur->bc_mp, in xchk_btree_cur_fsbno()
48 return XFS_INO_TO_FSB(cur->bc_mp, cur->bc_ino.ip->i_ino); in xchk_btree_cur_fsbno()
Dagb_bitmap.c67 fsbno = XFS_DADDR_TO_FSB(cur->bc_mp, xfs_buf_daddr(bp)); in xagb_bitmap_visit_btblock()
68 agbno = XFS_FSB_TO_AGBNO(cur->bc_mp, fsbno); in xagb_bitmap_visit_btblock()
Dialloc.c260 struct xfs_mount *mp = bs->cur->bc_mp; in xchk_iallocbt_chunk()
306 struct xfs_mount *mp = bs->cur->bc_mp; in xchk_iallocbt_check_cluster_ifree()
368 struct xfs_mount *mp = bs->cur->bc_mp; in xchk_iallocbt_check_cluster()
577 struct xfs_mount *mp = bs->cur->bc_mp; in xchk_iallocbt_rec()
Drmap_repair.c393 fsbno = XFS_DADDR_TO_FSB(cur->bc_mp, xfs_buf_daddr(bp)); in xrep_rmap_visit_iroot_btree_block()
394 if (XFS_FSB_TO_AGNO(cur->bc_mp, fsbno) != rf->rr->sc->sa.pag->pag_agno) in xrep_rmap_visit_iroot_btree_block()
397 agbno = XFS_FSB_TO_AGBNO(cur->bc_mp, fsbno); in xrep_rmap_visit_iroot_btree_block()
611 struct xfs_mount *mp = cur->bc_mp; in xrep_rmap_walk_inobt()
Dbmap_repair.c240 struct xfs_mount *mp = cur->bc_mp; in xrep_bmap_walk_rmap()
483 return xfs_bmap_broot_space_calc(cur->bc_mp, nr_this_level); in xrep_bmap_iroot_size()
Dbtree.c379 agno = xfs_daddr_to_agno(bs->cur->bc_mp, daddr); in xchk_btree_check_block_owner()
380 agbno = xfs_daddr_to_agbno(bs->cur->bc_mp, daddr); in xchk_btree_check_block_owner()
Dtrace.h566 __entry->agno = XFS_FSB_TO_AGNO(cur->bc_mp, fsbno);
567 __entry->bno = XFS_FSB_TO_AGBNO(cur->bc_mp, fsbno);
610 __entry->agno = XFS_FSB_TO_AGNO(cur->bc_mp, fsbno);
611 __entry->bno = XFS_FSB_TO_AGBNO(cur->bc_mp, fsbno);
649 __entry->agno = XFS_FSB_TO_AGNO(cur->bc_mp, fsbno);
650 __entry->bno = XFS_FSB_TO_AGBNO(cur->bc_mp, fsbno);
689 __entry->agno = XFS_FSB_TO_AGNO(cur->bc_mp, fsbno);
690 __entry->bno = XFS_FSB_TO_AGBNO(cur->bc_mp, fsbno);
727 __entry->agno = XFS_FSB_TO_AGNO(cur->bc_mp, fsbno);
728 __entry->bno = XFS_FSB_TO_AGBNO(cur->bc_mp, fsbno);
Dnewbt.c519 struct xfs_mount *mp = cur->bc_mp; in xrep_newbt_claim_block()
Drefcount_repair.c240 struct xfs_mount *mp = cur->bc_mp; in xrep_refc_walk_rmaps()
Dbmap.c481 if (xfs_has_crc(bs->cur->bc_mp) && in xchk_bmapbt_rec()
/linux-6.12.1/fs/xfs/
Dxfs_trace.h1913 __entry->dev = cur->bc_mp->m_super->s_dev;
2502 __entry->dev = cur->bc_mp->m_super->s_dev;
2538 __entry->dev = cur->bc_mp->m_super->s_dev;
2559 __entry->agno = XFS_FSB_TO_AGNO(cur->bc_mp,
2561 __entry->agbno = XFS_FSB_TO_AGBNO(cur->bc_mp,
2590 __entry->dev = cur->bc_mp->m_super->s_dev;
2591 __entry->agno = xfs_daddr_to_agno(cur->bc_mp,
2598 __entry->agbno = xfs_daddr_to_agbno(cur->bc_mp,
2800 __entry->dev = cur->bc_mp->m_super->s_dev;
2839 __entry->dev = cur->bc_mp->m_super->s_dev;
[all …]
Dxfs_notify_failure.c74 struct xfs_mount *mp = cur->bc_mp; in xfs_dax_failure_fn()
Dxfs_fsmap.c394 struct xfs_mount *mp = cur->bc_mp; in xfs_getfsmap_datadev_helper()
412 struct xfs_mount *mp = cur->bc_mp; in xfs_getfsmap_datadev_bnobt_helper()

12