/linux/fs/xfs/libxfs/ |
A D | xfs_defer.c | 214 trace_xfs_defer_create_intent(tp->t_mountp, dfp); in xfs_defer_create_intents() 233 trace_xfs_defer_pending_abort(tp->t_mountp, dfp); in xfs_defer_trans_abort() 388 struct xlog *log = (*tpp)->t_mountp->m_log; in xfs_defer_relog() 420 trace_xfs_defer_relog_intent((*tpp)->t_mountp, dfp); in xfs_defer_relog() 421 XFS_STATS_INC((*tpp)->t_mountp, defer_relog); in xfs_defer_relog() 444 trace_xfs_defer_pending_finish(tp->t_mountp, dfp); in xfs_defer_finish_one() 535 xfs_defer_cancel_list((*tp)->t_mountp, &dop_pending); in xfs_defer_finish_noroll() 556 xfs_force_shutdown((*tp)->t_mountp, in xfs_defer_finish() 572 struct xfs_mount *mp = tp->t_mountp; in xfs_defer_cancel() 694 xfs_force_shutdown(tp->t_mountp, SHUTDOWN_CORRUPT_INCORE); in xfs_defer_ops_capture() [all …]
|
A 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, pag->pag_agno, in xfs_refcount_finish_one() 1232 trace_xfs_refcount_defer(tp->t_mountp, in __xfs_refcount_add() 1233 XFS_FSB_TO_AGNO(tp->t_mountp, startblock), in __xfs_refcount_add() 1234 type, XFS_FSB_TO_AGBNO(tp->t_mountp, startblock), in __xfs_refcount_add() 1255 if (!xfs_has_reflink(tp->t_mountp)) in xfs_refcount_increase_extent() 1270 if (!xfs_has_reflink(tp->t_mountp)) in xfs_refcount_decrease_extent() 1617 struct xfs_mount *mp = tp->t_mountp; in xfs_refcount_alloc_cow_extent() 1636 struct xfs_mount *mp = tp->t_mountp; in xfs_refcount_free_cow_extent()
|
A D | xfs_alloc.c | 1901 mp = tp->t_mountp; in xfs_free_ag_extent() 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() 2490 struct xfs_mount *mp = tp->t_mountp; in __xfs_free_extent_later() 2524 trace_xfs_bmap_free_defer(tp->t_mountp, in __xfs_free_extent_later() 2525 XFS_FSB_TO_AGNO(tp->t_mountp, bno), 0, in __xfs_free_extent_later() 2763 struct xfs_mount *mp = tp->t_mountp; in xfs_alloc_get_freelist() 2882 struct xfs_mount *mp = tp->t_mountp; in xfs_alloc_put_freelist() 3360 args.mp = tp->t_mountp; in xfs_free_extent_fix_freelist() [all …]
|
A D | xfs_rmap.c | 706 struct xfs_mount *mp = tp->t_mountp; in xfs_rmap_free() 960 struct xfs_mount *mp = tp->t_mountp; in xfs_rmap_alloc() 2368 struct xfs_mount *mp = tp->t_mountp; in xfs_rmap_finish_one() 2408 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 …]
|
A 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() 2948 struct xfs_mount *mp = tp->t_mountp; in xfs_ialloc_check_shrink()
|
A 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()
|
A 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()
|
A 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()
|
A D | xfs_bmap.c | 3183 struct xfs_mount *mp = tp->t_mountp; in xfs_bmap_longest_free_extent() 6133 trace_xfs_bmap_defer(tp->t_mountp, in __xfs_bmap_add() 6134 XFS_FSB_TO_AGNO(tp->t_mountp, bmap->br_startblock), in __xfs_bmap_add() 6136 XFS_FSB_TO_AGBNO(tp->t_mountp, bmap->br_startblock), in __xfs_bmap_add() 6198 trace_xfs_bmap_deferred(tp->t_mountp, in xfs_bmap_finish_one() 6199 XFS_FSB_TO_AGNO(tp->t_mountp, startblock), type, in xfs_bmap_finish_one() 6200 XFS_FSB_TO_AGBNO(tp->t_mountp, startblock), in xfs_bmap_finish_one() 6206 if (XFS_TEST_ERROR(false, tp->t_mountp, in xfs_bmap_finish_one()
|
/linux/fs/xfs/ |
A D | xfs_trans.c | 77 sb_end_intwrite(tp->t_mountp->m_super); in xfs_trans_free() 104 ntp->t_mountp = tp->t_mountp; in xfs_trans_dup() 158 struct xfs_mount *mp = tp->t_mountp; in xfs_trans_reserve() 282 tp->t_mountp = mp; in xfs_trans_alloc() 362 xfs_mount_t *mp = tp->t_mountp; in xfs_trans_mod_sb() 490 if (!xfs_has_lazysbcount((tp->t_mountp))) { in xfs_trans_apply_sb_deltas() 576 struct xfs_mount *mp = tp->t_mountp; in xfs_trans_unreserve_and_mod_sb() 651 ASSERT(lip->li_mountp == tp->t_mountp); in xfs_trans_add_item() 652 ASSERT(lip->li_ailp == tp->t_mountp->m_ail); in xfs_trans_add_item() 838 struct xfs_mount *mp = tp->t_mountp; in __xfs_trans_commit() [all …]
|
A 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() 457 struct xfs_mount *mp = tp->t_mountp; in xfs_getfsmap_rtdev_rtbitmap_helper() 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() 715 *curpp = xfs_rmapbt_init_cursor(tp->t_mountp, tp, info->agf_bp, in xfs_getfsmap_datadev_rmapbt_query() 748 *curpp = xfs_allocbt_init_cursor(tp->t_mountp, tp, info->agf_bp, in xfs_getfsmap_datadev_bnobt_query()
|
A 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() 535 struct xfs_mount *mp = tp->t_mountp; in xfs_agfl_free_finish_item() 682 efip = xfs_efi_init(tp->t_mountp, count); in xfs_efi_item_relog()
|
A 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()
|
A 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() 836 struct xfs_mount *mp = tp->t_mountp; in xfs_trans_reserve_quota_icreate()
|
A D | xfs_inode.c | 801 struct xfs_mount *mp = tp->t_mountp; in xfs_init_new_inode() 2037 ASSERT(xfs_verify_agino_or_null(tp->t_mountp, pag->pag_agno, new_agino)); in xfs_iunlink_update_bucket() 2071 struct xfs_mount *mp = tp->t_mountp; in xfs_iunlink_update_dinode() 2098 struct xfs_mount *mp = tp->t_mountp; in xfs_iunlink_update_inode() 2156 struct xfs_mount *mp = tp->t_mountp; in xfs_iunlink() 2229 struct xfs_mount *mp = tp->t_mountp; in xfs_iunlink_map_ino() 2272 struct xfs_mount *mp = tp->t_mountp; in xfs_iunlink_map_prev() 2343 struct xfs_mount *mp = tp->t_mountp; in xfs_iunlink_remove() 2830 if (dp->i_ino != tp->t_mountp->m_sb.sb_rootino) { in xfs_remove() 2832 tp->t_mountp->m_sb.sb_rootino, 0); in xfs_remove() [all …]
|
A D | xfs_bmap_item.c | 219 xfs_log_item_init(tp->t_mountp, &budp->bud_item, XFS_LI_BUD, in xfs_trans_get_bud() 337 struct xfs_mount *mp = tp->t_mountp; in xfs_bmap_update_create_intent() 578 buip = xfs_bui_init(tp->t_mountp); in xfs_bui_item_relog()
|
A 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() 594 cuip = xfs_cui_init(tp->t_mountp, count); in xfs_cui_item_relog()
|
A 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() 624 ruip = xfs_rui_init(tp->t_mountp, count); in xfs_rui_item_relog()
|
A D | xfs_icreate_item.c | 102 xfs_log_item_init(tp->t_mountp, &icp->ic_item, XFS_LI_ICREATE, in xfs_icreate_log()
|
A D | xfs_trans.h | 129 struct xfs_mount *t_mountp; /* ptr to fs mount struct */ member
|
A D | xfs_extent_busy.c | 43 trace_xfs_extent_busy(tp->t_mountp, pag->pag_agno, bno, len); in xfs_extent_busy_insert()
|
A D | xfs_fsops.c | 45 struct xfs_mount *mp = tp->t_mountp; in xfs_resizefs_init_new_ags()
|
A D | xfs_rtalloc.c | 1182 xfs_mount_t *mp = tp->t_mountp; in xfs_rtallocate_extent()
|
A D | xfs_dquot.c | 298 struct xfs_mount *mp = tp->t_mountp; in xfs_dquot_disk_alloc()
|
/linux/fs/xfs/scrub/ |
A 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()
|