Home
last modified time | relevance | path

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

12

/linux-4.19.296/fs/xfs/
Dxfs_trans.c68 xfs_extent_busy_clear(tp->t_mountp, &tp->t_busy, false); in xfs_trans_free()
71 atomic_dec(&tp->t_mountp->m_active_trans); in xfs_trans_free()
73 sb_end_intwrite(tp->t_mountp->m_super); in xfs_trans_free()
100 ntp->t_mountp = tp->t_mountp; in xfs_trans_dup()
129 atomic_inc(&tp->t_mountp->m_active_trans); in xfs_trans_dup()
166 error = xfs_mod_fdblocks(tp->t_mountp, -((int64_t)blocks), rsvd); in xfs_trans_reserve()
195 error = xfs_log_regrant(tp->t_mountp, tp->t_ticket); in xfs_trans_reserve()
197 error = xfs_log_reserve(tp->t_mountp, in xfs_trans_reserve()
217 error = xfs_mod_frextents(tp->t_mountp, -((int64_t)rtextents)); in xfs_trans_reserve()
233 xfs_log_done(tp->t_mountp, tp->t_ticket, NULL, false); in xfs_trans_reserve()
[all …]
Dxfs_trans_extfree.c38 efdp = xfs_efd_init(tp->t_mountp, efip, nextents); in xfs_trans_get_efd()
62 struct xfs_mount *mp = tp->t_mountp; in xfs_trans_free_extent()
69 trace_xfs_bmap_free_deferred(tp->t_mountp, agno, 0, agbno, ext_len); in xfs_trans_free_extent()
121 efip = xfs_efi_init(tp->t_mountp, count); in xfs_extent_free_create_intent()
232 struct xfs_mount *mp = tp->t_mountp; in xfs_agfl_free_finish_item()
Dxfs_fsmap.c201 struct xfs_mount *mp = tp->t_mountp; in xfs_getfsmap_is_shared()
242 struct xfs_mount *mp = tp->t_mountp; in xfs_getfsmap_helper()
405 struct xfs_mount *mp = tp->t_mountp; in xfs_getfsmap_logdev()
452 struct xfs_mount *mp = tp->t_mountp; in xfs_getfsmap_rtdev_rtbitmap_helper()
476 struct xfs_mount *mp = tp->t_mountp; in __xfs_getfsmap_rtdev()
523 xfs_ilock(tp->t_mountp->m_rbmip, XFS_ILOCK_SHARED); in xfs_getfsmap_rtdev_rtbitmap_query()
527 do_div(alow.ar_startext, tp->t_mountp->m_sb.sb_rextsize); in xfs_getfsmap_rtdev_rtbitmap_query()
528 if (do_div(ahigh.ar_startext, tp->t_mountp->m_sb.sb_rextsize)) in xfs_getfsmap_rtdev_rtbitmap_query()
541 xfs_iunlock(tp->t_mountp->m_rbmip, XFS_ILOCK_SHARED); in xfs_getfsmap_rtdev_rtbitmap_query()
570 struct xfs_mount *mp = tp->t_mountp; in __xfs_getfsmap_datadev()
[all …]
Dxfs_trans_refcount.c31 cudp = xfs_cud_init(tp->t_mountp, cuip); in xfs_trans_get_cud()
98 cuip = xfs_cui_init(tp->t_mountp, count); in xfs_refcount_update_create_intent()
Dxfs_trans_bmap.c32 budp = xfs_bud_init(tp->t_mountp, buip); in xfs_trans_get_bud()
98 buip = xfs_bui_init(tp->t_mountp); in xfs_bmap_update_create_intent()
Dxfs_trans_rmap.c70 rudp = xfs_rud_init(tp->t_mountp, ruip); in xfs_trans_get_rud()
139 ruip = xfs_rui_init(tp->t_mountp, count); in xfs_rmap_update_create_intent()
Dxfs_trans_dquot.c142 xfs_mount_t *mp = tp->t_mountp; in xfs_trans_mod_dquot_byino()
202 ASSERT(XFS_IS_QUOTA_RUNNING(tp->t_mountp)); in xfs_trans_mod_dquot()
401 xfs_qm_adjust_dqlimits(tp->t_mountp, dqp); in xfs_trans_apply_dquot_deltas()
402 xfs_qm_adjust_dqtimers(tp->t_mountp, d); in xfs_trans_apply_dquot_deltas()
848 q = xfs_qm_qoff_logitem_init(tp->t_mountp, startqoff, flags); in xfs_trans_get_qoff_item()
Dxfs_trans_buf.c77 xfs_buf_item_init(bp, tp->t_mountp); in _xfs_trans_bjoin()
140 if (XFS_FORCED_SHUTDOWN(tp->t_mountp)) { in xfs_trans_get_buf_map()
300 xfs_force_shutdown(tp->t_mountp, SHUTDOWN_META_IO_ERROR); in xfs_trans_read_buf_map()
Dxfs_icreate_item.c161 xfs_log_item_init(tp->t_mountp, &icp->ic_item, XFS_LI_ICREATE, in xfs_icreate_log()
Dxfs_extent_busy.c44 trace_xfs_extent_busy(tp->t_mountp, agno, bno, len); in xfs_extent_busy_insert()
46 pag = xfs_perag_get(tp->t_mountp, new->agno); in xfs_extent_busy_insert()
Dxfs_trans.h112 struct xfs_mount *t_mountp; /* ptr to fs mount struct */ member
Dxfs_refcount_item.c400 struct xfs_mount *mp = parent_tp->t_mountp; in xfs_cui_recover()
Dxfs_bmap_item.c395 struct xfs_mount *mp = parent_tp->t_mountp; in xfs_bui_recover()
Dxfs_inode.c759 struct xfs_mount *mp = tp->t_mountp; in xfs_ialloc()
1940 xfs_mount_t *mp = tp->t_mountp; in xfs_iunlink()
2033 mp = tp->t_mountp; in xfs_iunlink_remove()
2716 if (tp->t_mountp->m_flags & (XFS_MOUNT_WSYNC|XFS_MOUNT_DIRSYNC)) in xfs_finish_rename()
Dxfs_rtalloc.c1101 xfs_mount_t *mp = tp->t_mountp; in xfs_rtallocate_extent()
/linux-4.19.296/fs/xfs/libxfs/
Dxfs_defer.c192 trace_xfs_defer_create_intent(tp->t_mountp, dfp); in xfs_defer_create_intents()
193 list_sort(tp->t_mountp, &dfp->dfp_work, in xfs_defer_create_intents()
212 trace_xfs_defer_pending_abort(tp->t_mountp, dfp); in xfs_defer_trans_abort()
380 trace_xfs_defer_pending_finish((*tp)->t_mountp, dfp); in xfs_defer_finish_noroll()
439 xfs_force_shutdown((*tp)->t_mountp, SHUTDOWN_CORRUPT_INCORE); in xfs_defer_finish_noroll()
441 xfs_defer_cancel_list((*tp)->t_mountp, &dop_pending); in xfs_defer_finish_noroll()
466 xfs_force_shutdown((*tp)->t_mountp, in xfs_defer_finish()
479 struct xfs_mount *mp = tp->t_mountp; in xfs_defer_cancel()
Dxfs_refcount.c1088 struct xfs_mount *mp = tp->t_mountp; in xfs_refcount_finish_one()
1123 error = xfs_alloc_read_agf(tp->t_mountp, tp, agno, in xfs_refcount_finish_one()
1188 trace_xfs_refcount_defer(tp->t_mountp, in __xfs_refcount_add()
1189 XFS_FSB_TO_AGNO(tp->t_mountp, startblock), in __xfs_refcount_add()
1190 type, XFS_FSB_TO_AGBNO(tp->t_mountp, startblock), in __xfs_refcount_add()
1212 if (!xfs_sb_version_hasreflink(&tp->t_mountp->m_sb)) in xfs_refcount_increase_extent()
1227 if (!xfs_sb_version_hasreflink(&tp->t_mountp->m_sb)) in xfs_refcount_decrease_extent()
1552 struct xfs_mount *mp = tp->t_mountp; in xfs_refcount_alloc_cow_extent()
1574 struct xfs_mount *mp = tp->t_mountp; in xfs_refcount_free_cow_extent()
Dxfs_rmap.c663 struct xfs_mount *mp = tp->t_mountp; in xfs_rmap_free()
900 struct xfs_mount *mp = tp->t_mountp; in xfs_rmap_alloc()
2171 struct xfs_mount *mp = tp->t_mountp; in xfs_rmap_finish_one()
2288 trace_xfs_rmap_defer(tp->t_mountp, in __xfs_rmap_add()
2289 XFS_FSB_TO_AGNO(tp->t_mountp, bmap->br_startblock), in __xfs_rmap_add()
2291 XFS_FSB_TO_AGBNO(tp->t_mountp, bmap->br_startblock), in __xfs_rmap_add()
2316 if (!xfs_rmap_update_is_needed(tp->t_mountp, whichfork)) in xfs_rmap_map_extent()
2332 if (!xfs_rmap_update_is_needed(tp->t_mountp, whichfork)) in xfs_rmap_unmap_extent()
2373 if (!xfs_rmap_update_is_needed(tp->t_mountp, XFS_DATA_FORK)) in xfs_rmap_alloc_extent()
2376 bmap.br_startblock = XFS_AGB_TO_FSB(tp->t_mountp, agno, bno); in xfs_rmap_alloc_extent()
[all …]
Dxfs_dir2.c220 error = xfs_dir_ino_validate(tp->t_mountp, pdp->i_ino); in xfs_dir_init()
255 rval = xfs_dir_ino_validate(tp->t_mountp, inum); in xfs_dir_createname()
486 rval = xfs_dir_ino_validate(tp->t_mountp, inum); in xfs_dir_replace()
Dxfs_rtbitmap.c976 mp = tp->t_mountp; in xfs_rtfree_extent()
1020 struct xfs_mount *mp = tp->t_mountp; in xfs_rtalloc_query_range()
1074 keys[1].ar_startext = tp->t_mountp->m_sb.sb_rextents - 1; in xfs_rtalloc_query_all()
Dxfs_ialloc.c642 args.mp = tp->t_mountp; in xfs_ialloc_ag_alloc()
648 if (xfs_sb_version_hassparseinodes(&tp->t_mountp->m_sb) && in xfs_ialloc_ag_alloc()
959 mp = tp->t_mountp; in xfs_ialloc_ag_select()
1137 struct xfs_mount *mp = tp->t_mountp; in xfs_dialloc_ag_inobt()
1561 struct xfs_mount *mp = tp->t_mountp; in xfs_dialloc_ag()
1700 struct xfs_mount *mp = tp->t_mountp; in xfs_dialloc()
1845 struct xfs_mount *mp = tp->t_mountp; in xfs_difree_inode_chunk()
2162 mp = tp->t_mountp; in xfs_difree()
Dxfs_alloc.c1721 mp = tp->t_mountp; in xfs_free_ag_extent()
2093 bp = xfs_btree_get_bufs(tp->t_mountp, tp, agno, agbno, 0); in xfs_free_agfl_block()
2167 struct xfs_mount *mp = tp->t_mountp; in xfs_agfl_reset()
2206 struct xfs_mount *mp = tp->t_mountp; in xfs_defer_agfl_block()
2404 xfs_mount_t *mp = tp->t_mountp; in xfs_alloc_get_freelist()
2488 trace_xfs_agf(tp->t_mountp, XFS_BUF_TO_AGF(bp), fields, _RET_IP_); in xfs_alloc_log_agf()
2537 mp = tp->t_mountp; in xfs_alloc_put_freelist()
3000 args.mp = tp->t_mountp; in xfs_free_extent_fix_freelist()
3037 struct xfs_mount *mp = tp->t_mountp; in __xfs_free_extent()
Dxfs_bmap.c544 struct xfs_mount *mp = tp->t_mountp; in __xfs_bmap_add_free()
569 trace_xfs_bmap_free_defer(tp->t_mountp, in __xfs_bmap_add_free()
570 XFS_FSB_TO_AGNO(tp->t_mountp, bno), 0, in __xfs_bmap_add_free()
571 XFS_FSB_TO_AGBNO(tp->t_mountp, bno), len); in __xfs_bmap_add_free()
3203 struct xfs_mount *mp = tp->t_mountp; in xfs_bmap_longest_free_extent()
6030 trace_xfs_bmap_defer(tp->t_mountp, in __xfs_bmap_add()
6031 XFS_FSB_TO_AGNO(tp->t_mountp, bmap->br_startblock), in __xfs_bmap_add()
6033 XFS_FSB_TO_AGBNO(tp->t_mountp, bmap->br_startblock), in __xfs_bmap_add()
6095 trace_xfs_bmap_deferred(tp->t_mountp, in xfs_bmap_finish_one()
6096 XFS_FSB_TO_AGNO(tp->t_mountp, startblock), type, in xfs_bmap_finish_one()
[all …]
Dxfs_dir2_block.c577 btp = xfs_dir2_block_tail_p(tp->t_mountp->m_dir_geo, hdr); in xfs_dir2_block_log_leaf()
594 btp = xfs_dir2_block_tail_p(tp->t_mountp->m_dir_geo, hdr); in xfs_dir2_block_log_tail()
/linux-4.19.296/fs/xfs/scrub/
Drtbitmap.c58 startblock = rec->ar_startext * tp->t_mountp->m_sb.sb_rextsize; in xchk_rtbitmap_rec()
59 blockcount = rec->ar_extcount * tp->t_mountp->m_sb.sb_rextsize; in xchk_rtbitmap_rec()

12