Home
last modified time | relevance | path

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

/Linux-v5.4/fs/xfs/
Dxfs_trans_ail.c33 struct xfs_ail *ailp, in xfs_ail_check() argument
44 if (list_empty(&ailp->ail_head)) in xfs_ail_check()
52 if (&prev_lip->li_ail != &ailp->ail_head) in xfs_ail_check()
55 if (&next_lip->li_ail != &ailp->ail_head) in xfs_ail_check()
64 spin_unlock(&ailp->ail_lock); in xfs_ail_check()
68 spin_lock(&ailp->ail_lock); in xfs_ail_check()
80 struct xfs_ail *ailp) in xfs_ail_max() argument
82 if (list_empty(&ailp->ail_head)) in xfs_ail_max()
85 return list_entry(ailp->ail_head.prev, struct xfs_log_item, li_ail); in xfs_ail_max()
94 struct xfs_ail *ailp, in xfs_ail_next() argument
[all …]
Dxfs_trans_priv.h21 void xfs_trans_committed_bulk(struct xfs_ail *ailp, struct xfs_log_vec *lv,
69 void xfs_trans_ail_update_bulk(struct xfs_ail *ailp,
72 xfs_lsn_t lsn) __releases(ailp->ail_lock);
79 struct xfs_ail *ailp) in xfs_ail_min() argument
81 return list_first_entry_or_null(&ailp->ail_head, struct xfs_log_item, in xfs_ail_min()
87 struct xfs_ail *ailp, in xfs_trans_ail_update() argument
89 xfs_lsn_t lsn) __releases(ailp->ail_lock) in xfs_trans_ail_update()
91 xfs_trans_ail_update_bulk(ailp, NULL, &lip, 1, lsn); in xfs_trans_ail_update()
94 bool xfs_ail_delete_one(struct xfs_ail *ailp, struct xfs_log_item *lip);
95 void xfs_trans_ail_delete(struct xfs_ail *ailp, struct xfs_log_item *lip,
[all …]
Dxfs_log_recover.c3389 struct xfs_ail *ailp = log->l_ailp; in xlog_recover_efd_pass2() local
3402 spin_lock(&ailp->ail_lock); in xlog_recover_efd_pass2()
3403 lip = xfs_trans_ail_cursor_first(ailp, &cur, 0); in xlog_recover_efd_pass2()
3412 spin_unlock(&ailp->ail_lock); in xlog_recover_efd_pass2()
3414 spin_lock(&ailp->ail_lock); in xlog_recover_efd_pass2()
3418 lip = xfs_trans_ail_cursor_next(ailp, &cur); in xlog_recover_efd_pass2()
3422 spin_unlock(&ailp->ail_lock); in xlog_recover_efd_pass2()
3485 struct xfs_ail *ailp = log->l_ailp; in xlog_recover_rud_pass2() local
3495 spin_lock(&ailp->ail_lock); in xlog_recover_rud_pass2()
3496 lip = xfs_trans_ail_cursor_first(ailp, &cur, 0); in xlog_recover_rud_pass2()
[all …]
Dxfs_trans.c787 struct xfs_ail *ailp, in xfs_log_item_batch_insert() argument
795 spin_lock(&ailp->ail_lock); in xfs_log_item_batch_insert()
797 xfs_trans_ail_update_bulk(ailp, cur, log_items, nr_items, commit_lsn); in xfs_log_item_batch_insert()
829 struct xfs_ail *ailp, in xfs_trans_committed_bulk() argument
840 spin_lock(&ailp->ail_lock); in xfs_trans_committed_bulk()
841 xfs_trans_ail_cursor_last(ailp, &cur, commit_lsn); in xfs_trans_committed_bulk()
842 spin_unlock(&ailp->ail_lock); in xfs_trans_committed_bulk()
871 ASSERT(XFS_FORCED_SHUTDOWN(ailp->ail_mount)); in xfs_trans_committed_bulk()
886 spin_lock(&ailp->ail_lock); in xfs_trans_committed_bulk()
888 xfs_trans_ail_update(ailp, lip, item_lsn); in xfs_trans_committed_bulk()
[all …]
Dxfs_buf_item.c396 struct xfs_ail *ailp = lip->li_ailp; in xfs_buf_item_unpin() local
449 spin_lock(&ailp->ail_lock); in xfs_buf_item_unpin()
450 xfs_trans_ail_delete(ailp, lip, SHUTDOWN_LOG_IO_ERROR); in xfs_buf_item_unpin()
1046 struct xfs_ail *ailp; in xfs_buf_do_callbacks_fail() local
1058 ailp = lip->li_ailp; in xfs_buf_do_callbacks_fail()
1059 spin_lock(&ailp->ail_lock); in xfs_buf_do_callbacks_fail()
1064 spin_unlock(&ailp->ail_lock); in xfs_buf_do_callbacks_fail()
1213 struct xfs_ail *ailp = lip->li_ailp; in xfs_buf_iodone() local
1228 spin_lock(&ailp->ail_lock); in xfs_buf_iodone()
1229 xfs_trans_ail_delete(ailp, lip, SHUTDOWN_CORRUPT_INCORE); in xfs_buf_iodone()
Dxfs_inode_item.c692 struct xfs_ail *ailp = lip->li_ailp; in xfs_iflush_done() local
737 spin_lock(&ailp->ail_lock); in xfs_iflush_done()
741 mlip_changed |= xfs_ail_delete_one(ailp, blip); in xfs_iflush_done()
748 if (!XFS_FORCED_SHUTDOWN(ailp->ail_mount)) in xfs_iflush_done()
749 xlog_assign_tail_lsn_locked(ailp->ail_mount); in xfs_iflush_done()
750 if (list_empty(&ailp->ail_head)) in xfs_iflush_done()
751 wake_up_all(&ailp->ail_empty); in xfs_iflush_done()
753 spin_unlock(&ailp->ail_lock); in xfs_iflush_done()
756 xfs_log_space_wake(ailp->ail_mount); in xfs_iflush_done()
Dxfs_dquot_item.c310 struct xfs_ail *ailp = qfs->qql_item.li_ailp; in xfs_qm_qoffend_logitem_committed() local
316 spin_lock(&ailp->ail_lock); in xfs_qm_qoffend_logitem_committed()
317 xfs_trans_ail_delete(ailp, &qfs->qql_item, SHUTDOWN_LOG_IO_ERROR); in xfs_qm_qoffend_logitem_committed()
Dxfs_dquot.c1023 struct xfs_ail *ailp = lip->li_ailp; in xfs_qm_dqflush_done() local
1038 spin_lock(&ailp->ail_lock); in xfs_qm_dqflush_done()
1040 xfs_trans_ail_delete(ailp, lip, SHUTDOWN_CORRUPT_INCORE); in xfs_qm_dqflush_done()
1047 spin_unlock(&ailp->ail_lock); in xfs_qm_dqflush_done()