/linux-6.1.9/fs/xfs/libxfs/ |
D | xfs_defer.c | 239 trace_xfs_defer_create_intent(tp->t_mountp, dfp); in xfs_defer_create_intents() 262 trace_xfs_defer_pending_abort(tp->t_mountp, dfp); in xfs_defer_trans_abort() 417 struct xlog *log = (*tpp)->t_mountp->m_log; in xfs_defer_relog() 449 trace_xfs_defer_relog_intent((*tpp)->t_mountp, dfp); in xfs_defer_relog() 450 XFS_STATS_INC((*tpp)->t_mountp, defer_relog); in xfs_defer_relog() 473 trace_xfs_defer_pending_finish(tp->t_mountp, dfp); in xfs_defer_finish_one() 573 xfs_force_shutdown((*tp)->t_mountp, SHUTDOWN_CORRUPT_INCORE); in xfs_defer_finish_noroll() 575 xfs_defer_cancel_list((*tp)->t_mountp, &dop_pending); in xfs_defer_finish_noroll() 596 xfs_force_shutdown((*tp)->t_mountp, in xfs_defer_finish() 612 struct xfs_mount *mp = tp->t_mountp; in xfs_defer_cancel() [all …]
|
D | xfs_refcount.c | 1223 struct xfs_mount *mp = tp->t_mountp; in xfs_refcount_finish_one() 1322 trace_xfs_refcount_defer(tp->t_mountp, in __xfs_refcount_add() 1323 XFS_FSB_TO_AGNO(tp->t_mountp, startblock), in __xfs_refcount_add() 1324 type, XFS_FSB_TO_AGBNO(tp->t_mountp, startblock), in __xfs_refcount_add() 1345 if (!xfs_has_reflink(tp->t_mountp)) in xfs_refcount_increase_extent() 1360 if (!xfs_has_reflink(tp->t_mountp)) in xfs_refcount_decrease_extent() 1721 struct xfs_mount *mp = tp->t_mountp; in xfs_refcount_alloc_cow_extent() 1740 struct xfs_mount *mp = tp->t_mountp; in xfs_refcount_free_cow_extent()
|
D | xfs_alloc.c | 1916 mp = tp->t_mountp; in xfs_free_ag_extent() 2359 error = xfs_trans_get_buf(tp, tp->t_mountp->m_ddev_targp, in xfs_free_agfl_block() 2360 XFS_AGB_TO_DADDR(tp->t_mountp, agno, agbno), in xfs_free_agfl_block() 2361 tp->t_mountp->m_bsize, 0, &bp); in xfs_free_agfl_block() 2435 struct xfs_mount *mp = tp->t_mountp; in xfs_agfl_reset() 2474 struct xfs_mount *mp = tp->t_mountp; in xfs_defer_agfl_block() 2505 struct xfs_mount *mp = tp->t_mountp; in __xfs_free_extent_later() 2539 trace_xfs_bmap_free_defer(tp->t_mountp, in __xfs_free_extent_later() 2540 XFS_FSB_TO_AGNO(tp->t_mountp, bno), 0, in __xfs_free_extent_later() 2541 XFS_FSB_TO_AGBNO(tp->t_mountp, bno), len); in __xfs_free_extent_later() [all …]
|
D | xfs_rmap.c | 754 struct xfs_mount *mp = tp->t_mountp; in xfs_rmap_free() 1001 struct xfs_mount *mp = tp->t_mountp; in xfs_rmap_alloc() 2402 struct xfs_mount *mp = tp->t_mountp; in xfs_rmap_finish_one() 2442 if (XFS_IS_CORRUPT(tp->t_mountp, !agbp)) { in xfs_rmap_finish_one() 2515 trace_xfs_rmap_defer(tp->t_mountp, in __xfs_rmap_add() 2516 XFS_FSB_TO_AGNO(tp->t_mountp, bmap->br_startblock), in __xfs_rmap_add() 2518 XFS_FSB_TO_AGBNO(tp->t_mountp, bmap->br_startblock), in __xfs_rmap_add() 2544 if (!xfs_rmap_update_is_needed(tp->t_mountp, whichfork)) in xfs_rmap_map_extent() 2563 if (!xfs_rmap_update_is_needed(tp->t_mountp, whichfork)) in xfs_rmap_unmap_extent() 2608 if (!xfs_rmap_update_is_needed(tp->t_mountp, XFS_DATA_FORK)) in xfs_rmap_alloc_extent() [all …]
|
D | xfs_dir2.c | 234 error = xfs_dir_ino_validate(tp->t_mountp, pdp->i_ino); in xfs_dir_init() 269 rval = xfs_dir_ino_validate(tp->t_mountp, inum); in xfs_dir_createname() 500 rval = xfs_dir_ino_validate(tp->t_mountp, inum); in xfs_dir_replace()
|
D | xfs_ialloc.c | 625 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() 2934 struct xfs_mount *mp = tp->t_mountp; in xfs_ialloc_check_shrink()
|
D | xfs_dir2_block.c | 603 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()
|
D | xfs_bmap.c | 3180 struct xfs_mount *mp = tp->t_mountp; in xfs_bmap_longest_free_extent() 6094 trace_xfs_bmap_defer(tp->t_mountp, in __xfs_bmap_add() 6095 XFS_FSB_TO_AGNO(tp->t_mountp, bmap->br_startblock), in __xfs_bmap_add() 6097 XFS_FSB_TO_AGBNO(tp->t_mountp, bmap->br_startblock), in __xfs_bmap_add() 6159 trace_xfs_bmap_deferred(tp->t_mountp, in xfs_bmap_finish_one() 6160 XFS_FSB_TO_AGNO(tp->t_mountp, startblock), type, in xfs_bmap_finish_one() 6161 XFS_FSB_TO_AGBNO(tp->t_mountp, startblock), in xfs_bmap_finish_one() 6167 if (XFS_TEST_ERROR(false, tp->t_mountp, in xfs_bmap_finish_one()
|
D | xfs_rtbitmap.c | 974 mp = tp->t_mountp; in xfs_rtfree_extent()
|
/linux-6.1.9/fs/xfs/ |
D | xfs_trans.c | 69 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() 357 xfs_mount_t *mp = tp->t_mountp; in xfs_trans_mod_sb() 485 if (!xfs_has_lazysbcount((tp->t_mountp))) { in xfs_trans_apply_sb_deltas() 511 struct xfs_mount *mp = tp->t_mountp; in xfs_trans_apply_sb_deltas() 592 struct xfs_mount *mp = tp->t_mountp; in xfs_trans_unreserve_and_mod_sb() 677 ASSERT(lip->li_log == tp->t_mountp->m_log); in xfs_trans_add_item() [all …]
|
D | xfs_iunlink_item.c | 55 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()
|
D | xfs_fsmap.c | 198 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() 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() 714 *curpp = xfs_rmapbt_init_cursor(tp->t_mountp, tp, info->agf_bp, in xfs_getfsmap_datadev_rmapbt_query() 747 *curpp = xfs_allocbt_init_cursor(tp->t_mountp, tp, info->agf_bp, in xfs_getfsmap_datadev_bnobt_query()
|
D | xfs_trans_buf.c | 75 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()
|
D | xfs_extfree_item.c | 329 xfs_log_item_init(tp->t_mountp, &efdp->efd_item, XFS_LI_EFD, in xfs_trans_get_efd() 353 struct xfs_mount *mp = tp->t_mountp; in xfs_trans_free_extent() 361 trace_xfs_bmap_free_deferred(tp->t_mountp, agno, 0, agbno, ext_len); in xfs_trans_free_extent() 434 struct xfs_mount *mp = tp->t_mountp; in xfs_extent_free_create_intent() 524 struct xfs_mount *mp = tp->t_mountp; in xfs_agfl_free_finish_item() 674 efip = xfs_efi_init(tp->t_mountp, count); in xfs_efi_item_relog()
|
D | xfs_trans_dquot.c | 61 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()
|
D | xfs_bmap_item.c | 231 xfs_log_item_init(tp->t_mountp, &budp->bud_item, XFS_LI_BUD, in xfs_trans_get_bud() 349 struct xfs_mount *mp = tp->t_mountp; in xfs_bmap_update_create_intent() 592 buip = xfs_bui_init(tp->t_mountp); in xfs_bui_item_relog()
|
D | xfs_refcount_item.c | 237 xfs_log_item_init(tp->t_mountp, &cudp->cud_item, XFS_LI_CUD, in xfs_trans_get_cud() 349 struct xfs_mount *mp = tp->t_mountp; in xfs_refcount_update_create_intent() 609 cuip = xfs_cui_init(tp->t_mountp, count); in xfs_cui_item_relog()
|
D | xfs_rmap_item.c | 235 xfs_log_item_init(tp->t_mountp, &rudp->rud_item, XFS_LI_RUD, in xfs_trans_get_rud() 376 struct xfs_mount *mp = tp->t_mountp; in xfs_rmap_update_create_intent() 613 ruip = xfs_rui_init(tp->t_mountp, count); in xfs_rui_item_relog()
|
D | xfs_attr_item.c | 389 struct xfs_mount *mp = tp->t_mountp; in xfs_attr_create_intent() 684 new_attrip = xfs_attri_init(tp->t_mountp, old_attrip->attri_nameval); in xfs_attri_item_relog() 794 xfs_log_item_init(tp->t_mountp, &attrdp->attrd_item, XFS_LI_ATTRD, in xfs_trans_get_attrd()
|
D | xfs_inode.c | 792 struct xfs_mount *mp = tp->t_mountp; in xfs_init_new_inode() 1887 trace_xfs_iunlink_update_bucket(tp->t_mountp, pag->pag_agno, bucket_index, in xfs_iunlink_update_bucket() 1914 struct xfs_mount *mp = tp->t_mountp; in xfs_iunlink_insert_inode() 1968 struct xfs_mount *mp = tp->t_mountp; in xfs_iunlink() 1997 struct xfs_mount *mp = tp->t_mountp; in xfs_iunlink_remove_inode() 2478 if (dp->i_ino != tp->t_mountp->m_sb.sb_rootino) { in xfs_remove() 2480 tp->t_mountp->m_sb.sb_rootino, 0); in xfs_remove() 2587 if (xfs_has_wsync(tp->t_mountp) || xfs_has_dirsync(tp->t_mountp)) in xfs_finish_rename()
|
D | xfs_icreate_item.c | 103 xfs_log_item_init(tp->t_mountp, &icp->ic_item, XFS_LI_ICREATE, in xfs_icreate_log()
|
D | xfs_trans.h | 137 struct xfs_mount *t_mountp; /* ptr to fs mount struct */ member
|
D | xfs_extent_busy.c | 43 trace_xfs_extent_busy(tp->t_mountp, pag->pag_agno, bno, len); in xfs_extent_busy_insert()
|
D | xfs_fsops.c | 47 struct xfs_mount *mp = tp->t_mountp; in xfs_resizefs_init_new_ags()
|
D | xfs_rtalloc.c | 1185 xfs_mount_t *mp = tp->t_mountp; in xfs_rtallocate_extent()
|