/linux-4.19.296/fs/xfs/ |
D | xfs_trans.c | 68 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 …]
|
D | xfs_trans_extfree.c | 38 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()
|
D | xfs_fsmap.c | 201 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 …]
|
D | xfs_trans_refcount.c | 31 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()
|
D | xfs_trans_bmap.c | 32 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()
|
D | xfs_trans_rmap.c | 70 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()
|
D | xfs_trans_dquot.c | 142 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()
|
D | xfs_trans_buf.c | 77 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()
|
D | xfs_icreate_item.c | 161 xfs_log_item_init(tp->t_mountp, &icp->ic_item, XFS_LI_ICREATE, in xfs_icreate_log()
|
D | xfs_extent_busy.c | 44 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()
|
D | xfs_trans.h | 112 struct xfs_mount *t_mountp; /* ptr to fs mount struct */ member
|
D | xfs_refcount_item.c | 400 struct xfs_mount *mp = parent_tp->t_mountp; in xfs_cui_recover()
|
D | xfs_bmap_item.c | 395 struct xfs_mount *mp = parent_tp->t_mountp; in xfs_bui_recover()
|
D | xfs_inode.c | 759 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()
|
D | xfs_rtalloc.c | 1101 xfs_mount_t *mp = tp->t_mountp; in xfs_rtallocate_extent()
|
/linux-4.19.296/fs/xfs/libxfs/ |
D | xfs_defer.c | 192 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()
|
D | xfs_refcount.c | 1088 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()
|
D | xfs_rmap.c | 663 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 …]
|
D | xfs_dir2.c | 220 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()
|
D | xfs_rtbitmap.c | 976 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()
|
D | xfs_ialloc.c | 642 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()
|
D | xfs_alloc.c | 1721 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()
|
D | xfs_bmap.c | 544 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 …]
|
D | xfs_dir2_block.c | 577 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/ |
D | rtbitmap.c | 58 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()
|