/fs/xfs/libxfs/ |
D | xfs_defer.c | 208 trace_xfs_defer_create_intent(tp->t_mountp, dfp); in xfs_defer_create_intents() 227 trace_xfs_defer_pending_abort(tp->t_mountp, dfp); in xfs_defer_trans_abort() 359 struct xlog *log = (*tpp)->t_mountp->m_log; in xfs_defer_relog() 391 trace_xfs_defer_relog_intent((*tpp)->t_mountp, dfp); in xfs_defer_relog() 392 XFS_STATS_INC((*tpp)->t_mountp, defer_relog); in xfs_defer_relog() 415 trace_xfs_defer_pending_finish(tp->t_mountp, dfp); in xfs_defer_finish_one() 504 xfs_force_shutdown((*tp)->t_mountp, SHUTDOWN_CORRUPT_INCORE); in xfs_defer_finish_noroll() 506 xfs_defer_cancel_list((*tp)->t_mountp, &dop_pending); in xfs_defer_finish_noroll() 527 xfs_force_shutdown((*tp)->t_mountp, in xfs_defer_finish() 543 struct xfs_mount *mp = tp->t_mountp; in xfs_defer_cancel() [all …]
|
D | xfs_refcount.c | 1141 struct xfs_mount *mp = tp->t_mountp; in xfs_refcount_finish_one() 1176 error = xfs_alloc_read_agf(tp->t_mountp, tp, agno, in xfs_refcount_finish_one() 1239 trace_xfs_refcount_defer(tp->t_mountp, in __xfs_refcount_add() 1240 XFS_FSB_TO_AGNO(tp->t_mountp, startblock), in __xfs_refcount_add() 1241 type, XFS_FSB_TO_AGBNO(tp->t_mountp, startblock), in __xfs_refcount_add() 1262 if (!xfs_sb_version_hasreflink(&tp->t_mountp->m_sb)) in xfs_refcount_increase_extent() 1277 if (!xfs_sb_version_hasreflink(&tp->t_mountp->m_sb)) in xfs_refcount_decrease_extent() 1624 struct xfs_mount *mp = tp->t_mountp; in xfs_refcount_alloc_cow_extent() 1643 struct xfs_mount *mp = tp->t_mountp; in xfs_refcount_free_cow_extent()
|
D | xfs_rmap.c | 702 struct xfs_mount *mp = tp->t_mountp; in xfs_rmap_free() 956 struct xfs_mount *mp = tp->t_mountp; in xfs_rmap_alloc() 2364 struct xfs_mount *mp = tp->t_mountp; in xfs_rmap_finish_one() 2403 if (XFS_IS_CORRUPT(tp->t_mountp, !agbp)) in xfs_rmap_finish_one() 2481 trace_xfs_rmap_defer(tp->t_mountp, in __xfs_rmap_add() 2482 XFS_FSB_TO_AGNO(tp->t_mountp, bmap->br_startblock), in __xfs_rmap_add() 2484 XFS_FSB_TO_AGBNO(tp->t_mountp, bmap->br_startblock), in __xfs_rmap_add() 2510 if (!xfs_rmap_update_is_needed(tp->t_mountp, whichfork)) in xfs_rmap_map_extent() 2529 if (!xfs_rmap_update_is_needed(tp->t_mountp, whichfork)) in xfs_rmap_unmap_extent() 2574 if (!xfs_rmap_update_is_needed(tp->t_mountp, XFS_DATA_FORK)) in xfs_rmap_alloc_extent() [all …]
|
D | xfs_alloc.c | 1902 mp = tp->t_mountp; in xfs_free_ag_extent() 2344 error = xfs_trans_get_buf(tp, tp->t_mountp->m_ddev_targp, in xfs_free_agfl_block() 2345 XFS_AGB_TO_DADDR(tp->t_mountp, agno, agbno), in xfs_free_agfl_block() 2346 tp->t_mountp->m_bsize, 0, &bp); in xfs_free_agfl_block() 2420 struct xfs_mount *mp = tp->t_mountp; in xfs_agfl_reset() 2459 struct xfs_mount *mp = tp->t_mountp; in xfs_defer_agfl_block() 2660 xfs_mount_t *mp = tp->t_mountp; in xfs_alloc_get_freelist() 2742 trace_xfs_agf(tp->t_mountp, bp->b_addr, fields, _RET_IP_); in xfs_alloc_log_agf() 2780 struct xfs_mount *mp = tp->t_mountp; in xfs_alloc_put_freelist() 3242 args.mp = tp->t_mountp; in xfs_free_extent_fix_freelist() [all …]
|
D | xfs_dir2.c | 222 error = xfs_dir_ino_validate(tp->t_mountp, pdp->i_ino); in xfs_dir_init() 257 rval = xfs_dir_ino_validate(tp->t_mountp, inum); in xfs_dir_createname() 488 rval = xfs_dir_ino_validate(tp->t_mountp, inum); in xfs_dir_replace()
|
D | xfs_ialloc.c | 630 struct xfs_ino_geometry *igeo = M_IGEO(tp->t_mountp); in xfs_ialloc_ag_alloc() 635 args.mp = tp->t_mountp; in xfs_ialloc_ag_alloc() 641 if (xfs_sb_version_hassparseinodes(&tp->t_mountp->m_sb) && in xfs_ialloc_ag_alloc() 951 mp = tp->t_mountp; in xfs_ialloc_ag_select() 1131 struct xfs_mount *mp = tp->t_mountp; in xfs_dialloc_ag_inobt() 1580 struct xfs_mount *mp = tp->t_mountp; in xfs_dialloc_ag() 1714 struct xfs_mount *mp = tp->t_mountp; in xfs_dialloc() 1860 struct xfs_mount *mp = tp->t_mountp; in xfs_difree_inode_chunk() 2188 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() 1072 keys[1].ar_startext = tp->t_mountp->m_sb.sb_rextents - 1; in xfs_rtalloc_query_all()
|
D | xfs_bmap.c | 539 struct xfs_mount *mp = tp->t_mountp; in __xfs_bmap_add_free() 565 trace_xfs_bmap_free_defer(tp->t_mountp, in __xfs_bmap_add_free() 566 XFS_FSB_TO_AGNO(tp->t_mountp, bno), 0, in __xfs_bmap_add_free() 567 XFS_FSB_TO_AGBNO(tp->t_mountp, bno), len); in __xfs_bmap_add_free() 3284 struct xfs_mount *mp = tp->t_mountp; in xfs_bmap_longest_free_extent() 6126 trace_xfs_bmap_defer(tp->t_mountp, in __xfs_bmap_add() 6127 XFS_FSB_TO_AGNO(tp->t_mountp, bmap->br_startblock), in __xfs_bmap_add() 6129 XFS_FSB_TO_AGBNO(tp->t_mountp, bmap->br_startblock), in __xfs_bmap_add() 6191 trace_xfs_bmap_deferred(tp->t_mountp, in xfs_bmap_finish_one() 6192 XFS_FSB_TO_AGNO(tp->t_mountp, startblock), type, in xfs_bmap_finish_one() [all …]
|
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()
|
/fs/xfs/ |
D | xfs_trans.c | 68 xfs_extent_busy_clear(tp->t_mountp, &tp->t_busy, false); 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() 154 struct xfs_mount *mp = tp->t_mountp; in xfs_trans_reserve() 276 tp->t_mountp = mp; in xfs_trans_alloc() 343 xfs_mount_t *mp = tp->t_mountp; in xfs_trans_mod_sb() 479 if (!xfs_sb_version_haslazysbcount(&(tp->t_mountp->m_sb))) { in xfs_trans_apply_sb_deltas() 565 struct xfs_mount *mp = tp->t_mountp; in xfs_trans_unreserve_and_mod_sb() 647 ASSERT(lip->li_mountp == tp->t_mountp); in xfs_trans_add_item() 648 ASSERT(lip->li_ailp == tp->t_mountp->m_ail); in xfs_trans_add_item() [all …]
|
D | xfs_fsmap.c | 197 struct xfs_mount *mp = tp->t_mountp; in xfs_getfsmap_is_shared() 252 struct xfs_mount *mp = tp->t_mountp; in xfs_getfsmap_helper() 409 struct xfs_mount *mp = tp->t_mountp; in xfs_getfsmap_logdev() 456 struct xfs_mount *mp = tp->t_mountp; in xfs_getfsmap_rtdev_rtbitmap_helper() 480 struct xfs_mount *mp = tp->t_mountp; in __xfs_getfsmap_rtdev() 527 xfs_ilock(tp->t_mountp->m_rbmip, XFS_ILOCK_SHARED); in xfs_getfsmap_rtdev_rtbitmap_query() 531 do_div(alow.ar_startext, tp->t_mountp->m_sb.sb_rextsize); in xfs_getfsmap_rtdev_rtbitmap_query() 532 if (do_div(ahigh.ar_startext, tp->t_mountp->m_sb.sb_rextsize)) in xfs_getfsmap_rtdev_rtbitmap_query() 545 xfs_iunlock(tp->t_mountp->m_rbmip, XFS_ILOCK_SHARED); in xfs_getfsmap_rtdev_rtbitmap_query() 574 struct xfs_mount *mp = tp->t_mountp; in __xfs_getfsmap_datadev() [all …]
|
D | xfs_extfree_item.c | 340 xfs_log_item_init(tp->t_mountp, &efdp->efd_item, XFS_LI_EFD, in xfs_trans_get_efd() 364 struct xfs_mount *mp = tp->t_mountp; in xfs_trans_free_extent() 372 trace_xfs_bmap_free_deferred(tp->t_mountp, agno, 0, agbno, ext_len); in xfs_trans_free_extent() 445 struct xfs_mount *mp = tp->t_mountp; in xfs_extent_free_create_intent() 528 struct xfs_mount *mp = tp->t_mountp; in xfs_agfl_free_finish_item() 665 efip = xfs_efi_init(tp->t_mountp, count); in xfs_efi_item_relog()
|
D | xfs_trans_buf.c | 75 xfs_buf_item_init(bp, tp->t_mountp); in _xfs_trans_bjoin() 141 if (XFS_FORCED_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_trans_dquot.c | 61 xfs_sb_version_hasbigtime(&tp->t_mountp->m_sb) && in xfs_trans_log_dquot() 140 xfs_mount_t *mp = tp->t_mountp; in xfs_trans_mod_dquot_byino() 205 ASSERT(XFS_IS_QUOTA_RUNNING(tp->t_mountp)); in xfs_trans_mod_dquot() 847 q = xfs_qm_qoff_logitem_init(tp->t_mountp, startqoff, flags); in xfs_trans_get_qoff_item()
|
D | xfs_rmap_item.c | 248 xfs_log_item_init(tp->t_mountp, &rudp->rud_item, XFS_LI_RUD, in xfs_trans_get_rud() 389 struct xfs_mount *mp = tp->t_mountp; in xfs_rmap_update_create_intent() 604 ruip = xfs_rui_init(tp->t_mountp, count); in xfs_rui_item_relog()
|
D | xfs_bmap_item.c | 220 xfs_log_item_init(tp->t_mountp, &budp->bud_item, XFS_LI_BUD, in xfs_trans_get_bud() 338 struct xfs_mount *mp = tp->t_mountp; in xfs_bmap_update_create_intent() 563 buip = xfs_bui_init(tp->t_mountp); in xfs_bui_item_relog()
|
D | xfs_refcount_item.c | 225 xfs_log_item_init(tp->t_mountp, &cudp->cud_item, XFS_LI_CUD, in xfs_trans_get_cud() 337 struct xfs_mount *mp = tp->t_mountp; in xfs_refcount_update_create_intent() 581 cuip = xfs_cui_init(tp->t_mountp, count); in xfs_cui_item_relog()
|
D | xfs_inode.c | 806 struct xfs_mount *mp = tp->t_mountp; in xfs_ialloc() 2113 ASSERT(xfs_verify_agino_or_null(tp->t_mountp, agno, new_agino)); in xfs_iunlink_update_bucket() 2116 trace_xfs_iunlink_update_bucket(tp->t_mountp, agno, bucket_index, in xfs_iunlink_update_bucket() 2147 struct xfs_mount *mp = tp->t_mountp; in xfs_iunlink_update_dinode() 2174 struct xfs_mount *mp = tp->t_mountp; in xfs_iunlink_update_inode() 2231 struct xfs_mount *mp = tp->t_mountp; in xfs_iunlink() 2298 struct xfs_mount *mp = tp->t_mountp; in xfs_iunlink_map_ino() 2341 struct xfs_mount *mp = tp->t_mountp; in xfs_iunlink_map_prev() 2410 struct xfs_mount *mp = tp->t_mountp; in xfs_iunlink_remove() 2992 if (tp->t_mountp->m_flags & (XFS_MOUNT_WSYNC|XFS_MOUNT_DIRSYNC)) in xfs_finish_rename()
|
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_icreate_item.c | 102 xfs_log_item_init(tp->t_mountp, &icp->ic_item, XFS_LI_ICREATE, in xfs_icreate_log()
|
D | xfs_trans.h | 135 struct xfs_mount *t_mountp; /* ptr to fs mount struct */ member
|
D | xfs_rtalloc.c | 1150 xfs_mount_t *mp = tp->t_mountp; in xfs_rtallocate_extent()
|
D | xfs_dquot.c | 298 struct xfs_mount *mp = tp->t_mountp; in xfs_dquot_disk_alloc()
|
D | xfs_trace.h | 989 __entry->dev = tp->t_mountp->m_super->s_dev; 2368 __entry->dev = tp->t_mountp->m_super->s_dev; 2392 __entry->dev = tp->t_mountp->m_super->s_dev; 3414 __entry->dev = tp->t_mountp->m_super->s_dev;
|
/fs/xfs/scrub/ |
D | rtbitmap.c | 52 startblock = rec->ar_startext * tp->t_mountp->m_sb.sb_rextsize; in xchk_rtbitmap_rec() 53 blockcount = rec->ar_extcount * tp->t_mountp->m_sb.sb_rextsize; in xchk_rtbitmap_rec()
|