Home
last modified time | relevance | path

Searched refs:t_mountp (Results 1 – 25 of 31) sorted by relevance

12

/Linux-v5.15/fs/xfs/libxfs/
Dxfs_defer.c208 trace_xfs_defer_create_intent(tp->t_mountp, dfp); in xfs_defer_create_intents()
227 trace_xfs_defer_pending_abort(tp->t_mountp, dfp); in xfs_defer_trans_abort()
359 struct xlog *log = (*tpp)->t_mountp->m_log; in xfs_defer_relog()
391 trace_xfs_defer_relog_intent((*tpp)->t_mountp, dfp); in xfs_defer_relog()
392 XFS_STATS_INC((*tpp)->t_mountp, defer_relog); in xfs_defer_relog()
415 trace_xfs_defer_pending_finish(tp->t_mountp, dfp); in xfs_defer_finish_one()
504 xfs_force_shutdown((*tp)->t_mountp, SHUTDOWN_CORRUPT_INCORE); in xfs_defer_finish_noroll()
506 xfs_defer_cancel_list((*tp)->t_mountp, &dop_pending); in xfs_defer_finish_noroll()
527 xfs_force_shutdown((*tp)->t_mountp, in xfs_defer_finish()
543 struct xfs_mount *mp = tp->t_mountp; in xfs_defer_cancel()
[all …]
Dxfs_refcount.c1142 struct xfs_mount *mp = tp->t_mountp; in xfs_refcount_finish_one()
1177 error = xfs_alloc_read_agf(tp->t_mountp, tp, pag->pag_agno, in xfs_refcount_finish_one()
1233 trace_xfs_refcount_defer(tp->t_mountp, in __xfs_refcount_add()
1234 XFS_FSB_TO_AGNO(tp->t_mountp, startblock), in __xfs_refcount_add()
1235 type, XFS_FSB_TO_AGBNO(tp->t_mountp, startblock), in __xfs_refcount_add()
1256 if (!xfs_has_reflink(tp->t_mountp)) in xfs_refcount_increase_extent()
1271 if (!xfs_has_reflink(tp->t_mountp)) in xfs_refcount_decrease_extent()
1618 struct xfs_mount *mp = tp->t_mountp; in xfs_refcount_alloc_cow_extent()
1637 struct xfs_mount *mp = tp->t_mountp; in xfs_refcount_free_cow_extent()
Dxfs_rmap.c704 struct xfs_mount *mp = tp->t_mountp; in xfs_rmap_free()
958 struct xfs_mount *mp = tp->t_mountp; in xfs_rmap_alloc()
2366 struct xfs_mount *mp = tp->t_mountp; in xfs_rmap_finish_one()
2406 if (XFS_IS_CORRUPT(tp->t_mountp, !agbp)) { in xfs_rmap_finish_one()
2479 trace_xfs_rmap_defer(tp->t_mountp, in __xfs_rmap_add()
2480 XFS_FSB_TO_AGNO(tp->t_mountp, bmap->br_startblock), in __xfs_rmap_add()
2482 XFS_FSB_TO_AGBNO(tp->t_mountp, bmap->br_startblock), in __xfs_rmap_add()
2508 if (!xfs_rmap_update_is_needed(tp->t_mountp, whichfork)) in xfs_rmap_map_extent()
2527 if (!xfs_rmap_update_is_needed(tp->t_mountp, whichfork)) in xfs_rmap_unmap_extent()
2572 if (!xfs_rmap_update_is_needed(tp->t_mountp, XFS_DATA_FORK)) in xfs_rmap_alloc_extent()
[all …]
Dxfs_dir2.c222 error = xfs_dir_ino_validate(tp->t_mountp, pdp->i_ino); in xfs_dir_init()
257 rval = xfs_dir_ino_validate(tp->t_mountp, inum); in xfs_dir_createname()
488 rval = xfs_dir_ino_validate(tp->t_mountp, inum); in xfs_dir_replace()
Dxfs_ialloc.c625 struct xfs_ino_geometry *igeo = M_IGEO(tp->t_mountp); in xfs_ialloc_ag_alloc()
631 args.mp = tp->t_mountp; in xfs_ialloc_ag_alloc()
637 if (xfs_has_sparseinodes(tp->t_mountp) && in xfs_ialloc_ag_alloc()
990 struct xfs_mount *mp = tp->t_mountp; in xfs_dialloc_ag_inobt()
1438 struct xfs_mount *mp = tp->t_mountp; in xfs_dialloc_ag()
1603 struct xfs_mount *mp = tp->t_mountp; in xfs_dialloc_good_ag()
1733 struct xfs_mount *mp = (*tpp)->t_mountp; in xfs_dialloc()
1819 struct xfs_mount *mp = tp->t_mountp; in xfs_difree_inode_chunk()
2142 struct xfs_mount *mp = tp->t_mountp; in xfs_difree()
2947 struct xfs_mount *mp = tp->t_mountp; in xfs_ialloc_check_shrink()
Dxfs_alloc.c1901 mp = tp->t_mountp; in xfs_free_ag_extent()
2343 error = xfs_trans_get_buf(tp, tp->t_mountp->m_ddev_targp, in xfs_free_agfl_block()
2344 XFS_AGB_TO_DADDR(tp->t_mountp, agno, agbno), in xfs_free_agfl_block()
2345 tp->t_mountp->m_bsize, 0, &bp); in xfs_free_agfl_block()
2419 struct xfs_mount *mp = tp->t_mountp; in xfs_agfl_reset()
2458 struct xfs_mount *mp = tp->t_mountp; in xfs_defer_agfl_block()
2709 struct xfs_mount *mp = tp->t_mountp; in xfs_alloc_get_freelist()
2790 trace_xfs_agf(tp->t_mountp, bp->b_addr, fields, _RET_IP_); in xfs_alloc_log_agf()
2828 struct xfs_mount *mp = tp->t_mountp; in xfs_alloc_put_freelist()
3303 args.mp = tp->t_mountp; in xfs_free_extent_fix_freelist()
[all …]
Dxfs_rtbitmap.c974 mp = tp->t_mountp; in xfs_rtfree_extent()
1018 struct xfs_mount *mp = tp->t_mountp; in xfs_rtalloc_query_range()
1072 keys[1].ar_startext = tp->t_mountp->m_sb.sb_rextents - 1; in xfs_rtalloc_query_all()
Dxfs_bmap.c542 struct xfs_mount *mp = tp->t_mountp; in __xfs_bmap_add_free()
568 trace_xfs_bmap_free_defer(tp->t_mountp, in __xfs_bmap_add_free()
569 XFS_FSB_TO_AGNO(tp->t_mountp, bno), 0, in __xfs_bmap_add_free()
570 XFS_FSB_TO_AGBNO(tp->t_mountp, bno), len); in __xfs_bmap_add_free()
3233 struct xfs_mount *mp = tp->t_mountp; in xfs_bmap_longest_free_extent()
6183 trace_xfs_bmap_defer(tp->t_mountp, in __xfs_bmap_add()
6184 XFS_FSB_TO_AGNO(tp->t_mountp, bmap->br_startblock), in __xfs_bmap_add()
6186 XFS_FSB_TO_AGBNO(tp->t_mountp, bmap->br_startblock), in __xfs_bmap_add()
6248 trace_xfs_bmap_deferred(tp->t_mountp, in xfs_bmap_finish_one()
6249 XFS_FSB_TO_AGNO(tp->t_mountp, startblock), type, in xfs_bmap_finish_one()
[all …]
Dxfs_dir2_block.c603 btp = xfs_dir2_block_tail_p(tp->t_mountp->m_dir_geo, hdr); in xfs_dir2_block_log_leaf()
620 btp = xfs_dir2_block_tail_p(tp->t_mountp->m_dir_geo, hdr); in xfs_dir2_block_log_tail()
/Linux-v5.15/fs/xfs/
Dxfs_trans.c72 xfs_extent_busy_clear(tp->t_mountp, &tp->t_busy, false); in xfs_trans_free()
77 sb_end_intwrite(tp->t_mountp->m_super); in xfs_trans_free()
104 ntp->t_mountp = tp->t_mountp; in xfs_trans_dup()
158 struct xfs_mount *mp = tp->t_mountp; in xfs_trans_reserve()
282 tp->t_mountp = mp; in xfs_trans_alloc()
362 xfs_mount_t *mp = tp->t_mountp; in xfs_trans_mod_sb()
490 if (!xfs_has_lazysbcount((tp->t_mountp))) { in xfs_trans_apply_sb_deltas()
576 struct xfs_mount *mp = tp->t_mountp; in xfs_trans_unreserve_and_mod_sb()
651 ASSERT(lip->li_mountp == tp->t_mountp); in xfs_trans_add_item()
652 ASSERT(lip->li_ailp == tp->t_mountp->m_ail); in xfs_trans_add_item()
[all …]
Dxfs_fsmap.c198 struct xfs_mount *mp = tp->t_mountp; in xfs_getfsmap_is_shared()
252 struct xfs_mount *mp = tp->t_mountp; in xfs_getfsmap_helper()
410 struct xfs_mount *mp = tp->t_mountp; in xfs_getfsmap_logdev()
457 struct xfs_mount *mp = tp->t_mountp; in xfs_getfsmap_rtdev_rtbitmap_helper()
481 struct xfs_mount *mp = tp->t_mountp; in __xfs_getfsmap_rtdev()
524 struct xfs_mount *mp = tp->t_mountp; in xfs_getfsmap_rtdev_rtbitmap_query()
583 struct xfs_mount *mp = tp->t_mountp; in __xfs_getfsmap_datadev()
715 *curpp = xfs_rmapbt_init_cursor(tp->t_mountp, tp, info->agf_bp, in xfs_getfsmap_datadev_rmapbt_query()
748 *curpp = xfs_allocbt_init_cursor(tp->t_mountp, tp, info->agf_bp, in xfs_getfsmap_datadev_bnobt_query()
Dxfs_extfree_item.c340 xfs_log_item_init(tp->t_mountp, &efdp->efd_item, XFS_LI_EFD, in xfs_trans_get_efd()
364 struct xfs_mount *mp = tp->t_mountp; in xfs_trans_free_extent()
372 trace_xfs_bmap_free_deferred(tp->t_mountp, agno, 0, agbno, ext_len); in xfs_trans_free_extent()
445 struct xfs_mount *mp = tp->t_mountp; in xfs_extent_free_create_intent()
528 struct xfs_mount *mp = tp->t_mountp; in xfs_agfl_free_finish_item()
675 efip = xfs_efi_init(tp->t_mountp, count); in xfs_efi_item_relog()
Dxfs_trans_buf.c75 xfs_buf_item_init(bp, tp->t_mountp); in _xfs_trans_bjoin()
141 if (xfs_is_shutdown(tp->t_mountp)) { in xfs_trans_get_buf_map()
175 struct xfs_buf *bp = tp->t_mountp->m_sb_bp; in xfs_trans_getsb()
270 xfs_force_shutdown(tp->t_mountp, in xfs_trans_read_buf_map()
296 xfs_force_shutdown(tp->t_mountp, SHUTDOWN_META_IO_ERROR); in xfs_trans_read_buf_map()
Dxfs_trans_dquot.c61 xfs_has_bigtime(tp->t_mountp) && in xfs_trans_log_dquot()
133 xfs_mount_t *mp = tp->t_mountp; in xfs_trans_mod_dquot_byino()
194 ASSERT(XFS_IS_QUOTA_ON(tp->t_mountp)); in xfs_trans_mod_dquot()
836 struct xfs_mount *mp = tp->t_mountp; in xfs_trans_reserve_quota_icreate()
Dxfs_inode.c807 struct xfs_mount *mp = tp->t_mountp; in xfs_init_new_inode()
2043 ASSERT(xfs_verify_agino_or_null(tp->t_mountp, pag->pag_agno, new_agino)); in xfs_iunlink_update_bucket()
2046 trace_xfs_iunlink_update_bucket(tp->t_mountp, pag->pag_agno, bucket_index, in xfs_iunlink_update_bucket()
2077 struct xfs_mount *mp = tp->t_mountp; in xfs_iunlink_update_dinode()
2104 struct xfs_mount *mp = tp->t_mountp; in xfs_iunlink_update_inode()
2162 struct xfs_mount *mp = tp->t_mountp; in xfs_iunlink()
2235 struct xfs_mount *mp = tp->t_mountp; in xfs_iunlink_map_ino()
2278 struct xfs_mount *mp = tp->t_mountp; in xfs_iunlink_map_prev()
2349 struct xfs_mount *mp = tp->t_mountp; in xfs_iunlink_remove()
2836 if (dp->i_ino != tp->t_mountp->m_sb.sb_rootino) { in xfs_remove()
[all …]
Dxfs_refcount_item.c225 xfs_log_item_init(tp->t_mountp, &cudp->cud_item, XFS_LI_CUD, in xfs_trans_get_cud()
337 struct xfs_mount *mp = tp->t_mountp; in xfs_refcount_update_create_intent()
594 cuip = xfs_cui_init(tp->t_mountp, count); in xfs_cui_item_relog()
Dxfs_bmap_item.c219 xfs_log_item_init(tp->t_mountp, &budp->bud_item, XFS_LI_BUD, in xfs_trans_get_bud()
337 struct xfs_mount *mp = tp->t_mountp; in xfs_bmap_update_create_intent()
578 buip = xfs_bui_init(tp->t_mountp); in xfs_bui_item_relog()
Dxfs_rmap_item.c248 xfs_log_item_init(tp->t_mountp, &rudp->rud_item, XFS_LI_RUD, in xfs_trans_get_rud()
389 struct xfs_mount *mp = tp->t_mountp; in xfs_rmap_update_create_intent()
624 ruip = xfs_rui_init(tp->t_mountp, count); in xfs_rui_item_relog()
Dxfs_icreate_item.c102 xfs_log_item_init(tp->t_mountp, &icp->ic_item, XFS_LI_ICREATE, in xfs_icreate_log()
Dxfs_trans.h135 struct xfs_mount *t_mountp; /* ptr to fs mount struct */ member
Dxfs_extent_busy.c43 trace_xfs_extent_busy(tp->t_mountp, pag->pag_agno, bno, len); in xfs_extent_busy_insert()
Dxfs_fsops.c45 struct xfs_mount *mp = tp->t_mountp; in xfs_resizefs_init_new_ags()
Dxfs_rtalloc.c1182 xfs_mount_t *mp = tp->t_mountp; in xfs_rtallocate_extent()
Dxfs_dquot.c298 struct xfs_mount *mp = tp->t_mountp; in xfs_dquot_disk_alloc()
/Linux-v5.15/fs/xfs/scrub/
Drtbitmap.c51 startblock = rec->ar_startext * tp->t_mountp->m_sb.sb_rextsize; in xchk_rtbitmap_rec()
52 blockcount = rec->ar_extcount * tp->t_mountp->m_sb.sb_rextsize; in xchk_rtbitmap_rec()

12