Lines Matching refs:tp

38 	struct xfs_trans	*tp,  in xfs_trans_buf_item_match()  argument
51 list_for_each_entry(lidp, &tp->t_items, lid_trans) { in xfs_trans_buf_item_match()
76 struct xfs_trans *tp, in _xfs_trans_bjoin() argument
89 xfs_buf_item_init(bp, tp->t_mountp); in _xfs_trans_bjoin()
105 xfs_trans_add_item(tp, &bip->bli_item); in _xfs_trans_bjoin()
111 bp->b_transp = tp; in _xfs_trans_bjoin()
117 struct xfs_trans *tp, in xfs_trans_bjoin() argument
120 _xfs_trans_bjoin(tp, bp, 0); in xfs_trans_bjoin()
135 struct xfs_trans *tp, in xfs_trans_get_buf_map() argument
144 if (!tp) in xfs_trans_get_buf_map()
153 bp = xfs_trans_buf_item_match(tp, target, map, nmaps); in xfs_trans_get_buf_map()
156 if (XFS_FORCED_SHUTDOWN(tp->t_mountp)) { in xfs_trans_get_buf_map()
161 ASSERT(bp->b_transp == tp); in xfs_trans_get_buf_map()
177 _xfs_trans_bjoin(tp, bp, 1); in xfs_trans_get_buf_map()
191 xfs_trans_getsb(xfs_trans_t *tp, in xfs_trans_getsb() argument
202 if (tp == NULL) in xfs_trans_getsb()
212 if (bp->b_transp == tp) { in xfs_trans_getsb()
225 _xfs_trans_bjoin(tp, bp, 1); in xfs_trans_getsb()
243 struct xfs_trans *tp, in xfs_trans_read_buf_map() argument
264 if (tp) in xfs_trans_read_buf_map()
265 bp = xfs_trans_buf_item_match(tp, target, map, nmaps); in xfs_trans_read_buf_map()
268 ASSERT(bp->b_transp == tp); in xfs_trans_read_buf_map()
295 return tp ? 0 : -EAGAIN; in xfs_trans_read_buf_map()
314 if (tp && (tp->t_flags & XFS_TRANS_DIRTY)) in xfs_trans_read_buf_map()
315 xfs_force_shutdown(tp->t_mountp, SHUTDOWN_META_IO_ERROR); in xfs_trans_read_buf_map()
330 if (tp) { in xfs_trans_read_buf_map()
331 _xfs_trans_bjoin(tp, bp, 1); in xfs_trans_read_buf_map()
355 xfs_trans_brelse(xfs_trans_t *tp, in xfs_trans_brelse() argument
363 if (tp == NULL) { in xfs_trans_brelse()
369 ASSERT(bp->b_transp == tp); in xfs_trans_brelse()
452 xfs_trans_bhold(xfs_trans_t *tp, in xfs_trans_bhold() argument
457 ASSERT(bp->b_transp == tp); in xfs_trans_bhold()
472 xfs_trans_bhold_release(xfs_trans_t *tp, in xfs_trans_bhold_release() argument
477 ASSERT(bp->b_transp == tp); in xfs_trans_bhold_release()
498 xfs_trans_log_buf(xfs_trans_t *tp, in xfs_trans_log_buf() argument
505 ASSERT(bp->b_transp == tp); in xfs_trans_log_buf()
542 tp->t_flags |= XFS_TRANS_DIRTY; in xfs_trans_log_buf()
586 xfs_trans_t *tp, in xfs_trans_binval() argument
592 ASSERT(bp->b_transp == tp); in xfs_trans_binval()
609 ASSERT(tp->t_flags & XFS_TRANS_DIRTY); in xfs_trans_binval()
625 tp->t_flags |= XFS_TRANS_DIRTY; in xfs_trans_binval()
641 xfs_trans_t *tp, in xfs_trans_inode_buf() argument
646 ASSERT(bp->b_transp == tp); in xfs_trans_inode_buf()
651 xfs_trans_buf_set_type(tp, bp, XFS_BLFT_DINO_BUF); in xfs_trans_inode_buf()
665 xfs_trans_t *tp, in xfs_trans_stale_inode_buf() argument
670 ASSERT(bp->b_transp == tp); in xfs_trans_stale_inode_buf()
676 xfs_trans_buf_set_type(tp, bp, XFS_BLFT_DINO_BUF); in xfs_trans_stale_inode_buf()
690 xfs_trans_t *tp, in xfs_trans_inode_alloc_buf() argument
695 ASSERT(bp->b_transp == tp); in xfs_trans_inode_alloc_buf()
700 xfs_trans_buf_set_type(tp, bp, XFS_BLFT_DINO_BUF); in xfs_trans_inode_alloc_buf()
713 struct xfs_trans *tp, in xfs_trans_ordered_buf() argument
718 ASSERT(bp->b_transp == tp); in xfs_trans_ordered_buf()
732 struct xfs_trans *tp, in xfs_trans_buf_set_type() argument
738 if (!tp) in xfs_trans_buf_set_type()
741 ASSERT(bp->b_transp == tp); in xfs_trans_buf_set_type()
774 xfs_trans_t *tp, in xfs_trans_dquot_buf() argument
801 xfs_trans_buf_set_type(tp, bp, type); in xfs_trans_dquot_buf()