| /Linux-v5.4/fs/xfs/ |
| D | xfs_trans.c | 67 xfs_extent_busy_clear(tp->t_mountp, &tp->t_busy, false); in xfs_trans_free() 70 atomic_dec(&tp->t_mountp->m_active_trans); in xfs_trans_free() 72 sb_end_intwrite(tp->t_mountp->m_super); in xfs_trans_free() 99 ntp->t_mountp = tp->t_mountp; in xfs_trans_dup() 128 atomic_inc(&tp->t_mountp->m_active_trans); in xfs_trans_dup() 165 error = xfs_mod_fdblocks(tp->t_mountp, -((int64_t)blocks), rsvd); in xfs_trans_reserve() 194 error = xfs_log_regrant(tp->t_mountp, tp->t_ticket); in xfs_trans_reserve() 196 error = xfs_log_reserve(tp->t_mountp, in xfs_trans_reserve() 216 error = xfs_mod_frextents(tp->t_mountp, -((int64_t)rtextents)); in xfs_trans_reserve() 232 xfs_log_done(tp->t_mountp, tp->t_ticket, NULL, false); in xfs_trans_reserve() [all …]
|
| D | xfs_fsmap.c | 197 struct xfs_mount *mp = tp->t_mountp; in xfs_getfsmap_is_shared() 238 struct xfs_mount *mp = tp->t_mountp; in xfs_getfsmap_helper() 398 struct xfs_mount *mp = tp->t_mountp; in xfs_getfsmap_logdev() 445 struct xfs_mount *mp = tp->t_mountp; in xfs_getfsmap_rtdev_rtbitmap_helper() 469 struct xfs_mount *mp = tp->t_mountp; in __xfs_getfsmap_rtdev() 516 xfs_ilock(tp->t_mountp->m_rbmip, XFS_ILOCK_SHARED); in xfs_getfsmap_rtdev_rtbitmap_query() 520 do_div(alow.ar_startext, tp->t_mountp->m_sb.sb_rextsize); in xfs_getfsmap_rtdev_rtbitmap_query() 521 if (do_div(ahigh.ar_startext, tp->t_mountp->m_sb.sb_rextsize)) in xfs_getfsmap_rtdev_rtbitmap_query() 534 xfs_iunlock(tp->t_mountp->m_rbmip, XFS_ILOCK_SHARED); in xfs_getfsmap_rtdev_rtbitmap_query() 563 struct xfs_mount *mp = tp->t_mountp; in __xfs_getfsmap_datadev() [all …]
|
| D | xfs_extfree_item.c | 341 xfs_log_item_init(tp->t_mountp, &efdp->efd_item, XFS_LI_EFD, in xfs_trans_get_efd() 365 struct xfs_mount *mp = tp->t_mountp; in xfs_trans_free_extent() 373 trace_xfs_bmap_free_deferred(tp->t_mountp, agno, 0, agbno, ext_len); in xfs_trans_free_extent() 425 efip = xfs_efi_init(tp->t_mountp, count); in xfs_extent_free_create_intent() 535 struct xfs_mount *mp = tp->t_mountp; in xfs_agfl_free_finish_item()
|
| D | xfs_trans_dquot.c | 132 xfs_mount_t *mp = tp->t_mountp; in xfs_trans_mod_dquot_byino() 192 ASSERT(XFS_IS_QUOTA_RUNNING(tp->t_mountp)); in xfs_trans_mod_dquot() 390 xfs_qm_adjust_dqlimits(tp->t_mountp, dqp); in xfs_trans_apply_dquot_deltas() 391 xfs_qm_adjust_dqtimers(tp->t_mountp, d); in xfs_trans_apply_dquot_deltas() 837 q = xfs_qm_qoff_logitem_init(tp->t_mountp, startqoff, flags); in xfs_trans_get_qoff_item()
|
| D | xfs_trans_buf.c | 75 xfs_buf_item_init(bp, tp->t_mountp); in _xfs_trans_bjoin() 138 if (XFS_FORCED_SHUTDOWN(tp->t_mountp)) { in xfs_trans_get_buf_map() 282 xfs_force_shutdown(tp->t_mountp, in xfs_trans_read_buf_map() 325 xfs_force_shutdown(tp->t_mountp, SHUTDOWN_META_IO_ERROR); in xfs_trans_read_buf_map()
|
| D | xfs_bmap_item.c | 222 xfs_log_item_init(tp->t_mountp, &budp->bud_item, XFS_LI_BUD, in xfs_trans_get_bud() 292 buip = xfs_bui_init(tp->t_mountp); in xfs_bmap_update_create_intent() 451 struct xfs_mount *mp = parent_tp->t_mountp; in xfs_bui_recover()
|
| D | xfs_refcount_item.c | 227 xfs_log_item_init(tp->t_mountp, &cudp->cud_item, XFS_LI_CUD, in xfs_trans_get_cud() 298 cuip = xfs_cui_init(tp->t_mountp, count); in xfs_refcount_update_create_intent() 465 struct xfs_mount *mp = parent_tp->t_mountp; in xfs_cui_recover()
|
| D | xfs_icreate_item.c | 94 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_inode.c | 753 struct xfs_mount *mp = tp->t_mountp; in xfs_ialloc() 2122 ASSERT(xfs_verify_agino_or_null(tp->t_mountp, agno, new_agino)); in xfs_iunlink_update_bucket() 2125 trace_xfs_iunlink_update_bucket(tp->t_mountp, agno, bucket_index, in xfs_iunlink_update_bucket() 2154 struct xfs_mount *mp = tp->t_mountp; in xfs_iunlink_update_dinode() 2182 struct xfs_mount *mp = tp->t_mountp; in xfs_iunlink_update_inode() 2234 struct xfs_mount *mp = tp->t_mountp; in xfs_iunlink() 2302 struct xfs_mount *mp = tp->t_mountp; in xfs_iunlink_map_ino() 2345 struct xfs_mount *mp = tp->t_mountp; in xfs_iunlink_map_prev() 2414 struct xfs_mount *mp = tp->t_mountp; in xfs_iunlink_remove() 3034 if (tp->t_mountp->m_flags & (XFS_MOUNT_WSYNC|XFS_MOUNT_DIRSYNC)) in xfs_finish_rename()
|
| D | xfs_rmap_item.c | 248 xfs_log_item_init(tp->t_mountp, &rudp->rud_item, XFS_LI_RUD, in xfs_trans_get_rud() 364 ruip = xfs_rui_init(tp->t_mountp, count); in xfs_rmap_update_create_intent()
|
| D | xfs_trans.h | 119 struct xfs_mount *t_mountp; /* ptr to fs mount struct */ member
|
| D | xfs_dquot.c | 287 struct xfs_mount *mp = tp->t_mountp; in xfs_dquot_disk_alloc()
|
| D | xfs_rtalloc.c | 1121 xfs_mount_t *mp = tp->t_mountp; in xfs_rtallocate_extent()
|
| /Linux-v5.4/fs/xfs/libxfs/ |
| D | xfs_defer.c | 197 trace_xfs_defer_create_intent(tp->t_mountp, dfp); in xfs_defer_create_intents() 198 list_sort(tp->t_mountp, &dfp->dfp_work, ops->diff_items); in xfs_defer_create_intents() 218 trace_xfs_defer_pending_abort(tp->t_mountp, dfp); in xfs_defer_trans_abort() 389 trace_xfs_defer_pending_finish((*tp)->t_mountp, dfp); in xfs_defer_finish_noroll() 446 xfs_force_shutdown((*tp)->t_mountp, SHUTDOWN_CORRUPT_INCORE); in xfs_defer_finish_noroll() 448 xfs_defer_cancel_list((*tp)->t_mountp, &dop_pending); in xfs_defer_finish_noroll() 473 xfs_force_shutdown((*tp)->t_mountp, in xfs_defer_finish() 486 struct xfs_mount *mp = tp->t_mountp; in xfs_defer_cancel()
|
| D | xfs_refcount.c | 1086 struct xfs_mount *mp = tp->t_mountp; in xfs_refcount_finish_one() 1121 error = xfs_alloc_read_agf(tp->t_mountp, tp, agno, in xfs_refcount_finish_one() 1186 trace_xfs_refcount_defer(tp->t_mountp, in __xfs_refcount_add() 1187 XFS_FSB_TO_AGNO(tp->t_mountp, startblock), in __xfs_refcount_add() 1188 type, XFS_FSB_TO_AGBNO(tp->t_mountp, startblock), in __xfs_refcount_add() 1209 if (!xfs_sb_version_hasreflink(&tp->t_mountp->m_sb)) in xfs_refcount_increase_extent() 1224 if (!xfs_sb_version_hasreflink(&tp->t_mountp->m_sb)) in xfs_refcount_decrease_extent() 1549 struct xfs_mount *mp = tp->t_mountp; in xfs_refcount_alloc_cow_extent() 1568 struct xfs_mount *mp = tp->t_mountp; in xfs_refcount_free_cow_extent()
|
| D | xfs_rmap.c | 655 struct xfs_mount *mp = tp->t_mountp; in xfs_rmap_free() 892 struct xfs_mount *mp = tp->t_mountp; in xfs_rmap_alloc() 2163 struct xfs_mount *mp = tp->t_mountp; in xfs_rmap_finish_one() 2280 trace_xfs_rmap_defer(tp->t_mountp, in __xfs_rmap_add() 2281 XFS_FSB_TO_AGNO(tp->t_mountp, bmap->br_startblock), in __xfs_rmap_add() 2283 XFS_FSB_TO_AGBNO(tp->t_mountp, bmap->br_startblock), in __xfs_rmap_add() 2307 if (!xfs_rmap_update_is_needed(tp->t_mountp, whichfork)) in xfs_rmap_map_extent() 2323 if (!xfs_rmap_update_is_needed(tp->t_mountp, whichfork)) in xfs_rmap_unmap_extent() 2364 if (!xfs_rmap_update_is_needed(tp->t_mountp, XFS_DATA_FORK)) in xfs_rmap_alloc_extent() 2367 bmap.br_startblock = XFS_AGB_TO_FSB(tp->t_mountp, agno, bno); in xfs_rmap_alloc_extent() [all …]
|
| D | xfs_dir2.c | 216 error = xfs_dir_ino_validate(tp->t_mountp, pdp->i_ino); in xfs_dir_init() 251 rval = xfs_dir_ino_validate(tp->t_mountp, inum); in xfs_dir_createname() 482 rval = xfs_dir_ino_validate(tp->t_mountp, inum); in xfs_dir_replace()
|
| D | xfs_ialloc.c | 621 struct xfs_ino_geometry *igeo = M_IGEO(tp->t_mountp); in xfs_ialloc_ag_alloc() 626 args.mp = tp->t_mountp; in xfs_ialloc_ag_alloc() 632 if (xfs_sb_version_hassparseinodes(&tp->t_mountp->m_sb) && in xfs_ialloc_ag_alloc() 943 mp = tp->t_mountp; in xfs_ialloc_ag_select() 1121 struct xfs_mount *mp = tp->t_mountp; in xfs_dialloc_ag_inobt() 1545 struct xfs_mount *mp = tp->t_mountp; in xfs_dialloc_ag() 1684 struct xfs_mount *mp = tp->t_mountp; in xfs_dialloc() 1830 struct xfs_mount *mp = tp->t_mountp; in xfs_difree_inode_chunk() 2146 mp = tp->t_mountp; in xfs_difree()
|
| D | xfs_rtbitmap.c | 974 mp = tp->t_mountp; in xfs_rtfree_extent() 1018 struct xfs_mount *mp = tp->t_mountp; in xfs_rtalloc_query_range() 1075 keys[1].ar_startext = tp->t_mountp->m_sb.sb_rextents - 1; in xfs_rtalloc_query_all()
|
| D | xfs_alloc.c | 1711 mp = tp->t_mountp; in xfs_free_ag_extent() 2089 bp = xfs_btree_get_bufs(tp->t_mountp, tp, agno, agbno); in xfs_free_agfl_block() 2163 struct xfs_mount *mp = tp->t_mountp; in xfs_agfl_reset() 2202 struct xfs_mount *mp = tp->t_mountp; in xfs_defer_agfl_block() 2403 xfs_mount_t *mp = tp->t_mountp; in xfs_alloc_get_freelist() 2487 trace_xfs_agf(tp->t_mountp, XFS_BUF_TO_AGF(bp), fields, _RET_IP_); in xfs_alloc_log_agf() 2536 mp = tp->t_mountp; in xfs_alloc_put_freelist() 2986 args.mp = tp->t_mountp; in xfs_free_extent_fix_freelist() 3023 struct xfs_mount *mp = tp->t_mountp; in __xfs_free_extent()
|
| D | xfs_bmap.c | 539 struct xfs_mount *mp = tp->t_mountp; in __xfs_bmap_add_free() 564 trace_xfs_bmap_free_defer(tp->t_mountp, in __xfs_bmap_add_free() 565 XFS_FSB_TO_AGNO(tp->t_mountp, bno), 0, in __xfs_bmap_add_free() 566 XFS_FSB_TO_AGBNO(tp->t_mountp, bno), len); in __xfs_bmap_add_free() 3198 struct xfs_mount *mp = tp->t_mountp; in xfs_bmap_longest_free_extent() 6074 trace_xfs_bmap_defer(tp->t_mountp, in __xfs_bmap_add() 6075 XFS_FSB_TO_AGNO(tp->t_mountp, bmap->br_startblock), in __xfs_bmap_add() 6077 XFS_FSB_TO_AGBNO(tp->t_mountp, bmap->br_startblock), in __xfs_bmap_add() 6139 trace_xfs_bmap_deferred(tp->t_mountp, in xfs_bmap_finish_one() 6140 XFS_FSB_TO_AGNO(tp->t_mountp, startblock), type, in xfs_bmap_finish_one() [all …]
|
| D | xfs_dir2_block.c | 574 btp = xfs_dir2_block_tail_p(tp->t_mountp->m_dir_geo, hdr); in xfs_dir2_block_log_leaf() 591 btp = xfs_dir2_block_tail_p(tp->t_mountp->m_dir_geo, hdr); in xfs_dir2_block_log_tail()
|
| D | xfs_sb.c | 922 struct xfs_mount *mp = tp->t_mountp; in xfs_log_sb()
|
| /Linux-v5.4/fs/xfs/scrub/ |
| D | rtbitmap.c | 51 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()
|