| /linux/fs/xfs/libxfs/ |
| H A D | xfs_defer.c | 318 trace_xfs_defer_create_intent(tp->t_mountp, dfp); in xfs_defer_create_intents() 380 xfs_defer_pending_abort_list(tp->t_mountp, dop_pending); in xfs_defer_trans_abort() 535 struct xlog *log = (*tpp)->t_mountp->m_log; in xfs_defer_relog() 567 trace_xfs_defer_relog_intent((*tpp)->t_mountp, dfp); in xfs_defer_relog() 568 XFS_STATS_INC((*tpp)->t_mountp, defer_relog); in xfs_defer_relog() 588 trace_xfs_defer_pending_finish(tp->t_mountp, dfp); in xfs_defer_finish_one() 594 trace_xfs_defer_finish_item(tp->t_mountp, dfp, li); in xfs_defer_finish_one() 641 trace_xfs_defer_isolate_paused(tp->t_mountp, dfp); in xfs_defer_isolate_paused() 721 xfs_force_shutdown((*tp)->t_mountp, SHUTDOWN_CORRUPT_INCORE); in xfs_defer_finish_noroll() 723 xfs_defer_cancel_list((*tp)->t_mountp, &dop_pending); in xfs_defer_finish_noroll() [all …]
|
| H A D | xfs_inode_util.c | 273 struct xfs_mount *mp = tp->t_mountp; in xfs_inode_init() 465 struct xfs_mount *mp = tp->t_mountp; in xfs_iunlink_insert_inode() 523 struct xfs_mount *mp = tp->t_mountp; in xfs_iunlink() 552 struct xfs_mount *mp = tp->t_mountp; in xfs_iunlink_remove_inode() 654 xfs_info_ratelimited(tp->t_mountp, in xfs_droplink() 683 xfs_info_ratelimited(tp->t_mountp, in xfs_bumplink()
|
| H A D | xfs_exchmaps.c | 90 struct xfs_mount *mp = tp->t_mountp; in xfs_exchmaps_update_size() 429 .geo = tp->t_mountp->m_attr_geo, in xfs_exchmaps_attr_to_sf() 461 .geo = tp->t_mountp->m_dir_geo, in xfs_exchmaps_dir_to_sf() 619 if (XFS_TEST_ERROR(tp->t_mountp, XFS_ERRTAG_EXCHMAPS_FINISH_ONE)) in xfs_exchmaps_finish_one() 624 trace_xfs_exchmaps_defer(tp->t_mountp, xmi); in xfs_exchmaps_finish_one() 1197 if (!xfs_has_large_extent_counts(tp->t_mountp)) in xfs_exchmaps_upgrade_extent_counts() 1228 ASSERT(xfs_has_exchange_range(tp->t_mountp)); in xfs_exchange_mappings()
|
| H A D | xfs_rtgroup.c | 446 struct xfs_mount *mp = tp->t_mountp; in xfs_rtginode_load() 601 struct xfs_mount *mp = tp->t_mountp; in xfs_rtginode_load_parent() 733 if (!xfs_has_rtsb(tp->t_mountp)) in xfs_log_rtsb() 744 ASSERT(tp->t_mountp->m_sb.sb_rblocks == 0); in xfs_log_rtsb()
|
| H A D | xfs_dir2.c | 247 error = xfs_dir_ino_validate(tp->t_mountp, pdp->i_ino); in xfs_dir_init() 338 rval = xfs_dir_ino_validate(tp->t_mountp, inum); in xfs_dir_createname() 562 rval = xfs_dir_ino_validate(tp->t_mountp, inum); in xfs_dir_replace() 904 struct xfs_mount *mp = tp->t_mountp; in xfs_dir_add_child() 999 if (dp->i_ino != tp->t_mountp->m_sb.sb_rootino) { in xfs_dir_remove_child() 1001 tp->t_mountp->m_sb.sb_rootino, 0); in xfs_dir_remove_child() 1195 struct xfs_mount *mp = tp->t_mountp; in xfs_dir_rename_children()
|
| H A D | xfs_symlink_remote.c | 323 struct xfs_mount *mp = tp->t_mountp; in xfs_symlink_write_target() 394 struct xfs_mount *mp = tp->t_mountp; in xfs_symlink_remote_truncate()
|
| H A D | xfs_ialloc.c | 708 struct xfs_ino_geometry *igeo = M_IGEO(tp->t_mountp); in xfs_ialloc_ag_alloc() 714 args.mp = tp->t_mountp; in xfs_ialloc_ag_alloc() 721 if (xfs_has_sparseinodes(tp->t_mountp) && in xfs_ialloc_ag_alloc() 1097 struct xfs_mount *mp = tp->t_mountp; in xfs_dialloc_ag_inobt() 1573 struct xfs_mount *mp = tp->t_mountp; in xfs_dialloc_ag() 1729 struct xfs_mount *mp = tp->t_mountp; in xfs_dialloc_good_ag() 1894 struct xfs_mount *mp = (*tpp)->t_mountp; in xfs_dialloc() 2001 struct xfs_mount *mp = tp->t_mountp; in xfs_difree_inode_chunk() 2333 struct xfs_mount *mp = tp->t_mountp; in xfs_difree()
|
| H A D | xfs_refcount.c | 1388 struct xfs_mount *mp = tp->t_mountp; in xfs_refcount_finish_one() 1501 struct xfs_mount *mp = tp->t_mountp; in xfs_rtrefcount_finish_one() 1607 if (!xfs_has_reflink(tp->t_mountp)) in xfs_refcount_increase_extent() 1623 if (!xfs_has_reflink(tp->t_mountp)) in xfs_refcount_decrease_extent() 1986 struct xfs_mount *mp = tp->t_mountp; in xfs_refcount_alloc_cow_extent() 2005 struct xfs_mount *mp = tp->t_mountp; in xfs_refcount_free_cow_extent()
|
| H A D | xfs_rmap.c | 970 struct xfs_mount *mp = tp->t_mountp; in xfs_rmap_free() 1215 struct xfs_mount *mp = tp->t_mountp; in xfs_rmap_alloc() 2650 if (XFS_IS_CORRUPT(tp->t_mountp, !agbp)) { in xfs_rmap_finish_init_cursor() 2654 *pcur = xfs_rmapbt_init_cursor(tp->t_mountp, tp, agbp, pag); in xfs_rmap_finish_init_cursor() 2686 struct xfs_mount *mp = tp->t_mountp; in xfs_rmap_finish_one() 2777 if (!xfs_rmap_update_is_needed(tp->t_mountp, whichfork)) in xfs_rmap_map_extent() 2797 if (!xfs_rmap_update_is_needed(tp->t_mountp, whichfork)) in xfs_rmap_unmap_extent() 2843 if (!xfs_rmap_update_is_needed(tp->t_mountp, XFS_DATA_FORK)) in xfs_rmap_alloc_extent() 2865 if (!xfs_rmap_update_is_needed(tp->t_mountp, XFS_DATA_FORK)) in xfs_rmap_free_extent()
|
| H A D | xfs_alloc.c | 2064 mp = tp->t_mountp; in xfs_free_ag_extent() 2607 struct xfs_mount *mp = tp->t_mountp; in xfs_agfl_reset() 2643 struct xfs_mount *mp = tp->t_mountp; in xfs_defer_extent_free() 3040 struct xfs_mount *mp = tp->t_mountp; in xfs_alloc_get_freelist() 3062 if (XFS_IS_CORRUPT(tp->t_mountp, !xfs_verify_agbno(pag, bno))) in xfs_alloc_get_freelist() 3121 trace_xfs_agf(tp->t_mountp, bp->b_addr, fields, _RET_IP_); in xfs_alloc_log_agf() 3141 struct xfs_mount *mp = tp->t_mountp; in xfs_alloc_put_freelist() 3979 args.mp = tp->t_mountp; in xfs_free_extent_fix_freelist() 4013 struct xfs_mount *mp = tp->t_mountp; in __xfs_free_extent()
|
| /linux/fs/xfs/ |
| H A D | xfs_trans.c | 77 sb_end_intwrite(tp->t_mountp->m_super); in xfs_trans_free() 103 ntp->t_mountp = tp->t_mountp; in xfs_trans_dup() 153 struct xfs_mount *mp = tp->t_mountp; in xfs_trans_reserve() 227 tp->t_mountp = mp; in __xfs_trans_alloc() 331 xfs_mount_t *mp = tp->t_mountp; in xfs_trans_mod_sb() 457 struct xfs_mount *mp = tp->t_mountp; in xfs_trans_apply_sb_deltas() 593 struct xfs_mount *mp = tp->t_mountp; in xfs_trans_unreserve_and_mod_sb() 683 ASSERT(lip->li_log == tp->t_mountp->m_log); in xfs_trans_add_item() 684 ASSERT(lip->li_ailp == tp->t_mountp->m_ail); in xfs_trans_add_item() 779 struct xfs_mount *mp = tp->t_mountp; in xfs_trans_run_precommits() [all …]
|
| H 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() 203 return __xfs_trans_getsb(tp, tp->t_mountp->m_sb_bp); in xfs_trans_getsb() 210 if (!tp->t_mountp->m_rtsb_bp) in xfs_trans_getrtsb() 212 return __xfs_trans_getsb(tp, tp->t_mountp->m_rtsb_bp); in xfs_trans_getrtsb() 285 xfs_force_shutdown(tp->t_mountp, in xfs_trans_read_buf_map() 311 xfs_force_shutdown(tp->t_mountp, SHUTDOWN_META_IO_ERROR); in xfs_trans_read_buf_map()
|
| H A D | xfs_extfree_item.c | 425 struct xfs_mount *mp = tp->t_mountp; in __xfs_extent_free_create_intent() 476 xfs_log_item_init(tp->t_mountp, &efdp->efd_item, in xfs_extent_free_create_done() 503 struct xfs_mount *mp = tp->t_mountp; in xfs_extent_free_defer_add() 534 struct xfs_mount *mp = tp->t_mountp; in xfs_extent_free_finish_item() 588 struct xfs_mount *mp = tp->t_mountp; in xfs_agfl_free_finish_item() 723 efip = xfs_efi_init(tp->t_mountp, intent->li_type, count); in xfs_extent_free_relog_intent() 776 struct xfs_mount *mp = tp->t_mountp; in xfs_rtextent_free_finish_item()
|
| H A D | xfs_exchmaps_item.c | 230 xmi_lip = xfs_xmi_init(tp->t_mountp); in xfs_exchmaps_create_intent() 257 xfs_log_item_init(tp->t_mountp, &xmd_lip->xmd_item, XFS_LI_XMD, in xfs_exchmaps_create_done() 271 trace_xfs_exchmaps_defer(tp->t_mountp, xmi); in xfs_exchmaps_defer_add() 496 xmi_lip = xfs_xmi_init(tp->t_mountp); in xfs_exchmaps_relog_intent()
|
| H A D | xfs_fsmap.c | 213 struct xfs_mount *mp = tp->t_mountp; in xfs_getfsmap_is_shared() 288 struct xfs_mount *mp = tp->t_mountp; in xfs_getfsmap_helper() 477 struct xfs_mount *mp = tp->t_mountp; in __xfs_getfsmap_datadev() 619 *curpp = xfs_rmapbt_init_cursor(tp->t_mountp, tp, info->agf_bp, in xfs_getfsmap_datadev_rmapbt_query() 652 *curpp = xfs_bnobt_init_cursor(tp->t_mountp, tp, info->agf_bp, in xfs_getfsmap_datadev_bnobt_query() 687 struct xfs_mount *mp = tp->t_mountp; in xfs_getfsmap_logdev() 757 struct xfs_mount *mp = tp->t_mountp; in xfs_getfsmap_rtdev_rtbitmap() 880 struct xfs_mount *mp = tp->t_mountp; in xfs_getfsmap_rtdev_rmapbt()
|
| H A D | xfs_bmap_item.c | 299 struct xfs_mount *mp = tp->t_mountp; in xfs_bmap_update_create_intent() 323 xfs_log_item_init(tp->t_mountp, &budp->bud_item, XFS_LI_BUD, in xfs_bmap_update_create_done() 359 xfs_bmap_update_get_group(tp->t_mountp, bi); in xfs_bmap_defer_add() 588 buip = xfs_bui_init(tp->t_mountp); in xfs_bmap_relog_intent()
|
| H A D | xfs_refcount_item.c | 316 struct xfs_mount *mp = tp->t_mountp; in __xfs_refcount_update_create_intent() 358 xfs_log_item_init(tp->t_mountp, &cudp->cud_item, in xfs_refcount_update_create_done() 372 struct xfs_mount *mp = tp->t_mountp; in xfs_refcount_defer_add() 585 cuip = xfs_cui_init(tp->t_mountp, intent->li_type, count); in xfs_refcount_relog_intent()
|
| H A D | xfs_rmap_item.c | 341 struct xfs_mount *mp = tp->t_mountp; in __xfs_rmap_update_create_intent() 383 xfs_log_item_init(tp->t_mountp, &rudp->rud_item, in xfs_rmap_update_create_done() 397 struct xfs_mount *mp = tp->t_mountp; in xfs_rmap_defer_add() 638 ruip = xfs_rui_init(tp->t_mountp, intent->li_type, count); in xfs_rmap_relog_intent()
|
| H A D | xfs_icreate_item.c | 103 xfs_log_item_init(tp->t_mountp, &icp->ic_item, XFS_LI_ICREATE, in xfs_icreate_log()
|
| H A D | xfs_attr_item.c | 418 struct xfs_mount *mp = tp->t_mountp; in xfs_attr_create_intent() 824 new_attrip = xfs_attri_init(tp->t_mountp, old_attrip->attri_nameval); in xfs_attr_relog_intent() 861 xfs_log_item_init(tp->t_mountp, &attrdp->attrd_item, XFS_LI_ATTRD, in xfs_attr_create_done()
|
| H A D | xfs_trans.h | 133 struct xfs_mount *t_mountp; /* ptr to fs mount struct */ member
|
| H A D | xfs_rtalloc.c | 866 struct xfs_mount *mp = tp->t_mountp; in xfs_growfs_rt_sb_fields() 1905 .mp = tp->t_mountp, in xfs_rtallocate_rtg() 2017 struct xfs_mount *mp = tp->t_mountp; in xfs_rtallocate_rtgs() 2141 ASSERT(!xfs_has_zoned(ap->tp->t_mountp)); in xfs_bmap_rtalloc()
|
| H A D | xfs_extent_busy.c | 620 error = xfs_log_force(tp->t_mountp, XFS_LOG_SYNC); in xfs_extent_busy_flush()
|
| H A D | xfs_fsops.c | 51 struct xfs_mount *mp = tp->t_mountp; in xfs_resizefs_init_new_ags()
|
| H A D | xfs_inode.c | 592 struct xfs_mount *mp = tp->t_mountp; in xfs_icreate() 2341 if (xfs_has_wsync(tp->t_mountp) || xfs_has_dirsync(tp->t_mountp)) in xfs_rename() 2857 struct xfs_mount *mp = tp->t_mountp; in xfs_inode_reload_unlinked_bucket()
|