| /fs/xfs/libxfs/ |
| A D | xfs_ag.c | 741 struct xfs_trans **tpp, in xfs_ag_shrink_space() argument 746 .tp = *tpp, in xfs_ag_shrink_space() 814 xfs_trans_bhold(*tpp, agfbp); in xfs_ag_shrink_space() 815 xfs_trans_bhold(*tpp, agibp); in xfs_ag_shrink_space() 816 err2 = xfs_trans_roll(tpp); in xfs_ag_shrink_space() 819 xfs_trans_bjoin(*tpp, agfbp); in xfs_ag_shrink_space() 820 xfs_trans_bjoin(*tpp, agibp); in xfs_ag_shrink_space() 831 err2 = xfs_ag_resv_init(pag, *tpp); in xfs_ag_shrink_space() 848 error = xfs_defer_finish(tpp); in xfs_ag_shrink_space() 862 xfs_alloc_log_agf(*tpp, agfbp, XFS_AGF_LENGTH); in xfs_ag_shrink_space() [all …]
|
| A D | xfs_trans_inode.c | 120 struct xfs_trans **tpp, in xfs_trans_roll_inode() argument 125 xfs_trans_log_inode(*tpp, ip, XFS_ILOG_CORE); in xfs_trans_roll_inode() 126 error = xfs_trans_roll(tpp); in xfs_trans_roll_inode() 128 xfs_trans_ijoin(*tpp, ip, 0); in xfs_trans_roll_inode()
|
| A D | xfs_defer.c | 461 struct xfs_trans **tpp) in xfs_defer_trans_roll() argument 466 error = xfs_defer_save_resources(&dres, *tpp); in xfs_defer_trans_roll() 470 trace_xfs_defer_trans_roll(*tpp, _RET_IP_); in xfs_defer_trans_roll() 479 error = xfs_trans_roll(tpp); in xfs_defer_trans_roll() 481 xfs_defer_restore_resources(*tpp, &dres); in xfs_defer_trans_roll() 484 trace_xfs_defer_trans_roll_error(*tpp, error); in xfs_defer_trans_roll() 532 struct xfs_trans **tpp, in xfs_defer_relog() argument 535 struct xlog *log = (*tpp)->t_mountp->m_log; in xfs_defer_relog() 540 ASSERT((*tpp)->t_flags & XFS_TRANS_PERM_LOG_RES); in xfs_defer_relog() 568 XFS_STATS_INC((*tpp)->t_mountp, defer_relog); in xfs_defer_relog() [all …]
|
| A D | xfs_rtrefcount_btree.c | 595 __be64 *tpp; in xfs_rtrefcountbt_from_disk() local 615 tpp = xfs_rtrefcount_broot_ptr_addr(mp, rblock, 1, rblocklen); in xfs_rtrefcountbt_from_disk() 618 memcpy(tpp, fpp, sizeof(*fpp) * numrecs); in xfs_rtrefcountbt_from_disk() 681 __be64 *tpp; in xfs_rtrefcountbt_to_disk() local 701 tpp = xfs_rtrefcount_droot_ptr_addr(dblock, 1, maxrecs); in xfs_rtrefcountbt_to_disk() 704 memcpy(tpp, fpp, sizeof(*fpp) * numrecs); in xfs_rtrefcountbt_to_disk()
|
| A D | xfs_bmap_btree.c | 61 __be64 *tpp; in xfs_bmdr_to_bmbt() local 71 tpp = xfs_bmap_broot_ptr_addr(mp, rblock, 1, rblocklen); in xfs_bmdr_to_bmbt() 74 memcpy(tpp, fpp, sizeof(*fpp) * dmxr); in xfs_bmdr_to_bmbt() 155 __be64 *tpp; in xfs_bmbt_to_bmdr() local 174 tpp = xfs_bmdr_ptr_addr(dblock, 1, dmxr); in xfs_bmbt_to_bmdr() 177 memcpy(tpp, fpp, sizeof(*fpp) * dmxr); in xfs_bmbt_to_bmdr()
|
| A D | xfs_rtrmap_btree.c | 835 __be64 *tpp; in xfs_rtrmapbt_from_disk() local 853 tpp = xfs_rtrmap_broot_ptr_addr(mp, rblock, 1, rblocklen); in xfs_rtrmapbt_from_disk() 855 memcpy(tpp, fpp, sizeof(*fpp) * numrecs); in xfs_rtrmapbt_from_disk() 914 __be64 *tpp; in xfs_rtrmapbt_to_disk() local 935 tpp = xfs_rtrmap_droot_ptr_addr(dblock, 1, maxrecs); in xfs_rtrmapbt_to_disk() 937 memcpy(tpp, fpp, sizeof(*fpp) * numrecs); in xfs_rtrmapbt_to_disk()
|
| A D | xfs_ialloc.c | 1684 struct xfs_trans **tpp, in xfs_dialloc_roll() argument 1687 struct xfs_trans *tp = *tpp; in xfs_dialloc_roll() 1716 *tpp = tp; in xfs_dialloc_roll() 1796 struct xfs_trans **tpp, in xfs_dialloc_try_ag() argument 1809 error = xfs_ialloc_read_agi(pag, *tpp, 0, &agbp); in xfs_dialloc_try_ag() 1819 error = xfs_ialloc_ag_alloc(pag, *tpp, agbp); in xfs_dialloc_try_ag() 1829 error = xfs_dialloc_roll(tpp, agbp); in xfs_dialloc_try_ag() 1841 xfs_trans_brelse(*tpp, agbp); in xfs_dialloc_try_ag() 1889 struct xfs_trans **tpp, in xfs_dialloc() argument 1893 struct xfs_mount *mp = (*tpp)->t_mountp; in xfs_dialloc() [all …]
|
| A D | xfs_ialloc.h | 42 int xfs_dialloc(struct xfs_trans **tpp, const struct xfs_icreate_args *args,
|
| A D | xfs_bmap.h | 284 int xfs_bunmapi_range(struct xfs_trans **tpp, struct xfs_inode *ip,
|
| A D | xfs_ag.h | 332 int xfs_ag_shrink_space(struct xfs_perag *pag, struct xfs_trans **tpp,
|
| A D | xfs_bmap.c | 6159 struct xfs_trans **tpp, in xfs_bunmapi_range() argument 6171 ASSERT((*tpp)->t_highest_agno == NULLAGNUMBER); in xfs_bunmapi_range() 6172 error = __xfs_bunmapi(*tpp, ip, startoff, &unmap_len, flags, in xfs_bunmapi_range() 6178 error = xfs_defer_finish(tpp); in xfs_bunmapi_range()
|
| /fs/xfs/ |
| A D | xfs_trans.c | 242 struct xfs_trans **tpp) in xfs_trans_alloc() argument 281 *tpp = tp; in xfs_trans_alloc() 1008 struct xfs_trans **tpp) in xfs_trans_roll() argument 1044 tp = *tpp; in xfs_trans_roll() 1067 struct xfs_trans **tpp) in xfs_trans_alloc_inode() argument 1102 *tpp = tp; in xfs_trans_alloc_inode() 1193 struct xfs_trans **tpp) in xfs_trans_alloc_icreate() argument 1216 *tpp = tp; in xfs_trans_alloc_icreate() 1236 struct xfs_trans **tpp) in xfs_trans_alloc_ichange() argument 1326 *tpp = tp; in xfs_trans_alloc_ichange() [all …]
|
| A D | xfs_trans.h | 167 struct xfs_trans **tpp); 253 struct xfs_trans **tpp); 259 struct xfs_trans **tpp); 262 struct xfs_trans **tpp); 265 struct xfs_trans **tpp, int *nospace_error);
|
| A D | xfs_reflink.h | 42 struct xfs_trans **tpp, xfs_fileoff_t offset_fsb, 57 struct xfs_trans **tpp);
|
| A D | xfs_reflink.c | 623 struct xfs_trans **tpp, in xfs_reflink_cancel_cow_blocks() argument 656 ASSERT((*tpp)->t_highest_agno == NULLAGNUMBER); in xfs_reflink_cancel_cow_blocks() 659 xfs_refcount_free_cow_extent(*tpp, isrt, in xfs_reflink_cancel_cow_blocks() 662 error = xfs_free_extent_later(*tpp, del.br_startblock, in xfs_reflink_cancel_cow_blocks() 670 error = xfs_defer_finish(tpp); in xfs_reflink_cancel_cow_blocks() 1790 struct xfs_trans **tpp) in xfs_reflink_clear_inode_flag() argument 1800 error = xfs_reflink_inode_has_shared_extents(*tpp, ip, &needs_flag); in xfs_reflink_clear_inode_flag() 1808 error = xfs_reflink_cancel_cow_blocks(ip, tpp, 0, XFS_MAX_FILEOFF, in xfs_reflink_clear_inode_flag() 1817 xfs_trans_log_inode(*tpp, ip, XFS_ILOG_CORE); in xfs_reflink_clear_inode_flag()
|
| A D | xfs_bmap_util.c | 1246 struct xfs_trans **tpp, in xfs_swap_extent_rmap() argument 1250 struct xfs_trans *tp = *tpp; in xfs_swap_extent_rmap() 1341 error = xfs_defer_finish(tpp); in xfs_swap_extent_rmap() 1342 tp = *tpp; in xfs_swap_extent_rmap() 1474 struct xfs_trans **tpp, in xfs_swap_change_owner() argument 1479 struct xfs_trans *tp = *tpp; in xfs_swap_change_owner() 1488 error = xfs_trans_roll(tpp); in xfs_swap_change_owner() 1491 tp = *tpp; in xfs_swap_change_owner()
|
| A D | xfs_inode.h | 599 struct xfs_trans **tpp, in xfs_itruncate_extents() argument 604 return xfs_itruncate_extents_flags(tpp, ip, whichfork, new_size, 0); in xfs_itruncate_extents()
|
| A D | xfs_inode.c | 1026 struct xfs_trans **tpp, in xfs_itruncate_extents_flags() argument 1033 struct xfs_trans *tp = *tpp; in xfs_itruncate_extents_flags() 1090 *tpp = tp; in xfs_itruncate_extents_flags()
|