Home
last modified time | relevance | path

Searched refs:ailp (Results 1 – 8 of 8) sorted by relevance

/linux-4.19.296/fs/xfs/
Dxfs_trans_ail.c32 struct xfs_ail *ailp, in xfs_ail_check() argument
43 if (list_empty(&ailp->ail_head)) in xfs_ail_check()
51 if (&prev_lip->li_ail != &ailp->ail_head) in xfs_ail_check()
54 if (&next_lip->li_ail != &ailp->ail_head) in xfs_ail_check()
63 spin_unlock(&ailp->ail_lock); in xfs_ail_check()
67 spin_lock(&ailp->ail_lock); in xfs_ail_check()
79 struct xfs_ail *ailp) in xfs_ail_max() argument
81 if (list_empty(&ailp->ail_head)) in xfs_ail_max()
84 return list_entry(ailp->ail_head.prev, xfs_log_item_t, li_ail); in xfs_ail_max()
93 struct xfs_ail *ailp, in xfs_ail_next() argument
[all …]
Dxfs_trans_priv.h23 void xfs_trans_committed_bulk(struct xfs_ail *ailp, struct xfs_log_vec *lv,
71 void xfs_trans_ail_update_bulk(struct xfs_ail *ailp,
74 xfs_lsn_t lsn) __releases(ailp->ail_lock);
81 struct xfs_ail *ailp) in xfs_ail_min() argument
83 return list_first_entry_or_null(&ailp->ail_head, struct xfs_log_item, in xfs_ail_min()
89 struct xfs_ail *ailp, in xfs_trans_ail_update() argument
91 xfs_lsn_t lsn) __releases(ailp->ail_lock) in xfs_trans_ail_update()
93 xfs_trans_ail_update_bulk(ailp, NULL, &lip, 1, lsn); in xfs_trans_ail_update()
96 bool xfs_ail_delete_one(struct xfs_ail *ailp, struct xfs_log_item *lip);
97 void xfs_trans_ail_delete(struct xfs_ail *ailp, struct xfs_log_item *lip,
[all …]
Dxfs_log_recover.c3465 struct xfs_ail *ailp = log->l_ailp; in xlog_recover_efd_pass2() local
3478 spin_lock(&ailp->ail_lock); in xlog_recover_efd_pass2()
3479 lip = xfs_trans_ail_cursor_first(ailp, &cur, 0); in xlog_recover_efd_pass2()
3488 spin_unlock(&ailp->ail_lock); in xlog_recover_efd_pass2()
3490 spin_lock(&ailp->ail_lock); in xlog_recover_efd_pass2()
3494 lip = xfs_trans_ail_cursor_next(ailp, &cur); in xlog_recover_efd_pass2()
3498 spin_unlock(&ailp->ail_lock); in xlog_recover_efd_pass2()
3561 struct xfs_ail *ailp = log->l_ailp; in xlog_recover_rud_pass2() local
3571 spin_lock(&ailp->ail_lock); in xlog_recover_rud_pass2()
3572 lip = xfs_trans_ail_cursor_first(ailp, &cur, 0); in xlog_recover_rud_pass2()
[all …]
Dxfs_trans.c792 struct xfs_ail *ailp, in xfs_log_item_batch_insert() argument
800 spin_lock(&ailp->ail_lock); in xfs_log_item_batch_insert()
802 xfs_trans_ail_update_bulk(ailp, cur, log_items, nr_items, commit_lsn); in xfs_log_item_batch_insert()
833 struct xfs_ail *ailp, in xfs_trans_committed_bulk() argument
844 spin_lock(&ailp->ail_lock); in xfs_trans_committed_bulk()
845 xfs_trans_ail_cursor_last(ailp, &cur, commit_lsn); in xfs_trans_committed_bulk()
846 spin_unlock(&ailp->ail_lock); in xfs_trans_committed_bulk()
866 ASSERT(XFS_FORCED_SHUTDOWN(ailp->ail_mount)); in xfs_trans_committed_bulk()
880 spin_lock(&ailp->ail_lock); in xfs_trans_committed_bulk()
882 xfs_trans_ail_update(ailp, lip, item_lsn); in xfs_trans_committed_bulk()
[all …]
Dxfs_buf_item.c398 struct xfs_ail *ailp = lip->li_ailp; in xfs_buf_item_unpin() local
451 spin_lock(&ailp->ail_lock); in xfs_buf_item_unpin()
452 xfs_trans_ail_delete(ailp, lip, SHUTDOWN_LOG_IO_ERROR); in xfs_buf_item_unpin()
1048 struct xfs_ail *ailp; in xfs_buf_do_callbacks_fail() local
1060 ailp = lip->li_ailp; in xfs_buf_do_callbacks_fail()
1061 spin_lock(&ailp->ail_lock); in xfs_buf_do_callbacks_fail()
1066 spin_unlock(&ailp->ail_lock); in xfs_buf_do_callbacks_fail()
1215 struct xfs_ail *ailp = lip->li_ailp; in xfs_buf_iodone() local
1230 spin_lock(&ailp->ail_lock); in xfs_buf_iodone()
1231 xfs_trans_ail_delete(ailp, lip, SHUTDOWN_CORRUPT_INCORE); in xfs_buf_iodone()
Dxfs_inode_item.c694 struct xfs_ail *ailp = lip->li_ailp; in xfs_iflush_done() local
739 spin_lock(&ailp->ail_lock); in xfs_iflush_done()
743 mlip_changed |= xfs_ail_delete_one(ailp, blip); in xfs_iflush_done()
750 if (!XFS_FORCED_SHUTDOWN(ailp->ail_mount)) in xfs_iflush_done()
751 xlog_assign_tail_lsn_locked(ailp->ail_mount); in xfs_iflush_done()
752 if (list_empty(&ailp->ail_head)) in xfs_iflush_done()
753 wake_up_all(&ailp->ail_empty); in xfs_iflush_done()
755 spin_unlock(&ailp->ail_lock); in xfs_iflush_done()
758 xfs_log_space_wake(ailp->ail_mount); in xfs_iflush_done()
Dxfs_dquot_item.c383 struct xfs_ail *ailp = qfs->qql_item.li_ailp; in xfs_qm_qoffend_logitem_committed() local
389 spin_lock(&ailp->ail_lock); in xfs_qm_qoffend_logitem_committed()
390 xfs_trans_ail_delete(ailp, &qfs->qql_item, SHUTDOWN_LOG_IO_ERROR); in xfs_qm_qoffend_logitem_committed()
Dxfs_dquot.c1027 struct xfs_ail *ailp = lip->li_ailp; in xfs_qm_dqflush_done() local
1042 spin_lock(&ailp->ail_lock); in xfs_qm_dqflush_done()
1044 xfs_trans_ail_delete(ailp, lip, SHUTDOWN_CORRUPT_INCORE); in xfs_qm_dqflush_done()
1051 spin_unlock(&ailp->ail_lock); in xfs_qm_dqflush_done()