Home
last modified time | relevance | path

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

12

/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_defer.c239 trace_xfs_defer_create_intent(tp->t_mountp, dfp); in xfs_defer_create_intents()
304 xfs_defer_pending_abort_list(tp->t_mountp, dop_pending); in xfs_defer_trans_abort()
441 struct xlog *log = (*tpp)->t_mountp->m_log; in xfs_defer_relog()
473 trace_xfs_defer_relog_intent((*tpp)->t_mountp, dfp); in xfs_defer_relog()
474 XFS_STATS_INC((*tpp)->t_mountp, defer_relog); in xfs_defer_relog()
497 trace_xfs_defer_pending_finish(tp->t_mountp, dfp); in xfs_defer_finish_one()
503 trace_xfs_defer_finish_item(tp->t_mountp, dfp, li); in xfs_defer_finish_one()
598 xfs_force_shutdown((*tp)->t_mountp, SHUTDOWN_CORRUPT_INCORE); in xfs_defer_finish_noroll()
600 xfs_defer_cancel_list((*tp)->t_mountp, &dop_pending); in xfs_defer_finish_noroll()
621 xfs_force_shutdown((*tp)->t_mountp, in xfs_defer_finish()
[all …]
H A Dxfs_refcount.c1356 struct xfs_mount *mp = tp->t_mountp; in xfs_refcount_finish_one()
1448 trace_xfs_refcount_defer(tp->t_mountp, in __xfs_refcount_add()
1449 XFS_FSB_TO_AGNO(tp->t_mountp, startblock), in __xfs_refcount_add()
1450 type, XFS_FSB_TO_AGBNO(tp->t_mountp, startblock), in __xfs_refcount_add()
1460 xfs_refcount_update_get_group(tp->t_mountp, ri); in __xfs_refcount_add()
1472 if (!xfs_has_reflink(tp->t_mountp)) in xfs_refcount_increase_extent()
1487 if (!xfs_has_reflink(tp->t_mountp)) in xfs_refcount_decrease_extent()
1848 struct xfs_mount *mp = tp->t_mountp; in xfs_refcount_alloc_cow_extent()
1867 struct xfs_mount *mp = tp->t_mountp; in xfs_refcount_free_cow_extent()
H A Dxfs_rmap.c803 struct xfs_mount *mp = tp->t_mountp; in xfs_rmap_free()
1050 struct xfs_mount *mp = tp->t_mountp; in xfs_rmap_alloc()
2444 struct xfs_mount *mp = tp->t_mountp; in xfs_rmap_finish_one()
2481 if (XFS_IS_CORRUPT(tp->t_mountp, !agbp)) in xfs_rmap_finish_one()
2553 trace_xfs_rmap_defer(tp->t_mountp, in __xfs_rmap_add()
2554 XFS_FSB_TO_AGNO(tp->t_mountp, bmap->br_startblock), in __xfs_rmap_add()
2556 XFS_FSB_TO_AGBNO(tp->t_mountp, bmap->br_startblock), in __xfs_rmap_add()
2569 xfs_rmap_update_get_group(tp->t_mountp, ri); in __xfs_rmap_add()
2583 if (!xfs_rmap_update_is_needed(tp->t_mountp, whichfork)) in xfs_rmap_map_extent()
2602 if (!xfs_rmap_update_is_needed(tp->t_mountp, whichfork)) in xfs_rmap_unmap_extent()
[all …]
H A Dxfs_alloc.c1918 mp = tp->t_mountp; in xfs_free_ag_extent()
2382 error = xfs_trans_get_buf(tp, tp->t_mountp->m_ddev_targp, in xfs_free_agfl_block()
2383 XFS_AGB_TO_DADDR(tp->t_mountp, agno, agbno), in xfs_free_agfl_block()
2384 tp->t_mountp->m_bsize, 0, &bp); in xfs_free_agfl_block()
2458 struct xfs_mount *mp = tp->t_mountp; in xfs_agfl_reset()
2497 struct xfs_mount *mp = tp->t_mountp; in xfs_defer_agfl_block()
2535 struct xfs_mount *mp = tp->t_mountp; in __xfs_free_extent_later()
2576 XFS_FSB_TO_AGNO(tp->t_mountp, bno), 0, in __xfs_free_extent_later()
2577 XFS_FSB_TO_AGBNO(tp->t_mountp, bno), len); in __xfs_free_extent_later()
2833 struct xfs_mount *mp = tp->t_mountp; in xfs_alloc_get_freelist()
[all …]
H A Dxfs_dir2.c235 error = xfs_dir_ino_validate(tp->t_mountp, pdp->i_ino); in xfs_dir_init()
270 rval = xfs_dir_ino_validate(tp->t_mountp, inum); in xfs_dir_createname()
501 rval = xfs_dir_ino_validate(tp->t_mountp, inum); in xfs_dir_replace()
H A Dxfs_ialloc.c650 struct xfs_ino_geometry *igeo = M_IGEO(tp->t_mountp); in xfs_ialloc_ag_alloc()
656 args.mp = tp->t_mountp; in xfs_ialloc_ag_alloc()
663 if (xfs_has_sparseinodes(tp->t_mountp) && in xfs_ialloc_ag_alloc()
1011 struct xfs_mount *mp = tp->t_mountp; in xfs_dialloc_ag_inobt()
1459 struct xfs_mount *mp = tp->t_mountp; in xfs_dialloc_ag()
1609 struct xfs_mount *mp = tp->t_mountp; in xfs_dialloc_good_ag()
1741 struct xfs_mount *mp = (*tpp)->t_mountp; in xfs_dialloc()
1843 struct xfs_mount *mp = tp->t_mountp; in xfs_difree_inode_chunk()
2172 struct xfs_mount *mp = tp->t_mountp; in xfs_difree()
H A Dxfs_rtbitmap.c975 mp = tp->t_mountp; in xfs_rtfree_extent()
1020 struct xfs_mount *mp = tp->t_mountp; in xfs_rtfree_blocks()
H A 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()
H A Dxfs_bmap.c6169 trace_xfs_bmap_defer(tp->t_mountp, in __xfs_bmap_add()
6170 XFS_FSB_TO_AGNO(tp->t_mountp, bmap->br_startblock), in __xfs_bmap_add()
6172 XFS_FSB_TO_AGBNO(tp->t_mountp, bmap->br_startblock), in __xfs_bmap_add()
6185 xfs_bmap_update_get_group(tp->t_mountp, bi); in __xfs_bmap_add()
6230 trace_xfs_bmap_deferred(tp->t_mountp, in xfs_bmap_finish_one()
6231 XFS_FSB_TO_AGNO(tp->t_mountp, bmap->br_startblock), in xfs_bmap_finish_one()
6233 XFS_FSB_TO_AGBNO(tp->t_mountp, bmap->br_startblock), in xfs_bmap_finish_one()
6241 if (XFS_TEST_ERROR(false, tp->t_mountp, in xfs_bmap_finish_one()
/openbmc/linux/fs/xfs/
H A Dxfs_trans.c69 xfs_extent_busy_clear(tp->t_mountp, &tp->t_busy, false); in xfs_trans_free()
74 sb_end_intwrite(tp->t_mountp->m_super); in xfs_trans_free()
101 ntp->t_mountp = tp->t_mountp; in xfs_trans_dup()
155 struct xfs_mount *mp = tp->t_mountp; in xfs_trans_reserve()
277 tp->t_mountp = mp; in xfs_trans_alloc()
359 xfs_mount_t *mp = tp->t_mountp; in xfs_trans_mod_sb()
487 if (!xfs_has_lazysbcount((tp->t_mountp))) { in xfs_trans_apply_sb_deltas()
513 struct xfs_mount *mp = tp->t_mountp; in xfs_trans_apply_sb_deltas()
594 struct xfs_mount *mp = tp->t_mountp; in xfs_trans_unreserve_and_mod_sb()
679 ASSERT(lip->li_log == tp->t_mountp->m_log); in xfs_trans_add_item()
[all …]
H A Dxfs_iunlink_item.c55 struct xfs_mount *mp = tp->t_mountp; in xfs_iunlink_log_dinode()
147 struct xfs_mount *mp = tp->t_mountp; in xfs_iunlink_log_inode()
H A 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()
H A Dxfs_fsmap.c207 struct xfs_mount *mp = tp->t_mountp; in xfs_getfsmap_is_shared()
276 struct xfs_mount *mp = tp->t_mountp; in xfs_getfsmap_helper()
437 struct xfs_mount *mp = tp->t_mountp; in xfs_getfsmap_logdev()
511 struct xfs_mount *mp = tp->t_mountp; in xfs_getfsmap_rtdev_rtbitmap()
593 struct xfs_mount *mp = tp->t_mountp; in __xfs_getfsmap_datadev()
736 *curpp = xfs_rmapbt_init_cursor(tp->t_mountp, tp, info->agf_bp, in xfs_getfsmap_datadev_rmapbt_query()
769 *curpp = xfs_allocbt_init_cursor(tp->t_mountp, tp, info->agf_bp, in xfs_getfsmap_datadev_bnobt_query()
H A Dxfs_extfree_item.c329 xfs_log_item_init(tp->t_mountp, &efdp->efd_item, XFS_LI_EFD, in xfs_trans_get_efd()
379 struct xfs_mount *mp = tp->t_mountp; in xfs_trans_free_extent()
392 trace_xfs_bmap_free_deferred(tp->t_mountp, xefi->xefi_pag->pag_agno, 0, in xfs_trans_free_extent()
478 struct xfs_mount *mp = tp->t_mountp; in xfs_extent_free_create_intent()
591 struct xfs_mount *mp = tp->t_mountp; in xfs_agfl_free_finish_item()
773 efip = xfs_efi_init(tp->t_mountp, count); in xfs_efi_item_relog()
H A 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()
834 struct xfs_mount *mp = tp->t_mountp; in xfs_trans_reserve_quota_icreate()
H A Dxfs_refcount_item.c238 xfs_log_item_init(tp->t_mountp, &cudp->cud_item, XFS_LI_CUD, in xfs_trans_get_cud()
344 struct xfs_mount *mp = tp->t_mountp; in xfs_refcount_update_create_intent()
631 cuip = xfs_cui_init(tp->t_mountp, count); in xfs_cui_item_relog()
H A Dxfs_bmap_item.c232 xfs_log_item_init(tp->t_mountp, &budp->bud_item, XFS_LI_BUD, in xfs_trans_get_bud()
343 struct xfs_mount *mp = tp->t_mountp; in xfs_bmap_update_create_intent()
611 buip = xfs_bui_init(tp->t_mountp); in xfs_bui_item_relog()
H A Dxfs_rmap_item.c236 xfs_log_item_init(tp->t_mountp, &rudp->rud_item, XFS_LI_RUD, in xfs_trans_get_rud()
369 struct xfs_mount *mp = tp->t_mountp; in xfs_rmap_update_create_intent()
638 ruip = xfs_rui_init(tp->t_mountp, count); in xfs_rui_item_relog()
H A Dxfs_inode.c792 struct xfs_mount *mp = tp->t_mountp; in xfs_init_new_inode()
1921 trace_xfs_iunlink_update_bucket(tp->t_mountp, pag->pag_agno, bucket_index, in xfs_iunlink_update_bucket()
2006 struct xfs_mount *mp = tp->t_mountp; in xfs_iunlink_insert_inode()
2063 struct xfs_mount *mp = tp->t_mountp; in xfs_iunlink()
2092 struct xfs_mount *mp = tp->t_mountp; in xfs_iunlink_remove_inode()
2591 if (dp->i_ino != tp->t_mountp->m_sb.sb_rootino) { in xfs_remove()
2593 tp->t_mountp->m_sb.sb_rootino, 0); in xfs_remove()
2700 if (xfs_has_wsync(tp->t_mountp) || xfs_has_dirsync(tp->t_mountp)) in xfs_finish_rename()
3682 struct xfs_mount *mp = tp->t_mountp; in xfs_inode_reload_unlinked_bucket()
H A Dxfs_attr_item.c396 struct xfs_mount *mp = tp->t_mountp; in xfs_attr_create_intent()
698 new_attrip = xfs_attri_init(tp->t_mountp, old_attrip->attri_nameval); in xfs_attri_item_relog()
866 xfs_log_item_init(tp->t_mountp, &attrdp->attrd_item, XFS_LI_ATTRD, in xfs_trans_get_attrd()
H A Dxfs_icreate_item.c103 xfs_log_item_init(tp->t_mountp, &icp->ic_item, XFS_LI_ICREATE, in xfs_icreate_log()
H A Dxfs_trans.h139 struct xfs_mount *t_mountp; /* ptr to fs mount struct */ member
H A Dxfs_extent_busy.c614 error = xfs_log_force(tp->t_mountp, XFS_LOG_SYNC); in xfs_extent_busy_flush()
H A Dxfs_fsops.c47 struct xfs_mount *mp = tp->t_mountp; in xfs_resizefs_init_new_ags()
H A Dxfs_rtalloc.c1264 xfs_mount_t *mp = tp->t_mountp; in xfs_rtallocate_extent()

12