Home
last modified time | relevance | path

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

/linux-4.4.14/fs/xfs/
Dxfs_trans_ail.c37 struct xfs_ail *ailp, in xfs_ail_check() argument
42 if (list_empty(&ailp->xa_ail)) in xfs_ail_check()
50 if (&prev_lip->li_ail != &ailp->xa_ail) in xfs_ail_check()
54 if (&prev_lip->li_ail != &ailp->xa_ail) in xfs_ail_check()
69 struct xfs_ail *ailp) in xfs_ail_max() argument
71 if (list_empty(&ailp->xa_ail)) in xfs_ail_max()
74 return list_entry(ailp->xa_ail.prev, xfs_log_item_t, li_ail); in xfs_ail_max()
83 struct xfs_ail *ailp, in xfs_ail_next() argument
86 if (lip->li_ail.next == &ailp->xa_ail) in xfs_ail_next()
102 struct xfs_ail *ailp) in xfs_ail_min_lsn() argument
[all …]
Dxfs_trans_priv.h36 void xfs_trans_committed_bulk(struct xfs_ail *ailp, struct xfs_log_vec *lv,
84 void xfs_trans_ail_update_bulk(struct xfs_ail *ailp,
87 xfs_lsn_t lsn) __releases(ailp->xa_lock);
94 struct xfs_ail *ailp) in xfs_ail_min() argument
96 return list_first_entry_or_null(&ailp->xa_ail, struct xfs_log_item, in xfs_ail_min()
102 struct xfs_ail *ailp, in xfs_trans_ail_update() argument
104 xfs_lsn_t lsn) __releases(ailp->xa_lock) in xfs_trans_ail_update()
106 xfs_trans_ail_update_bulk(ailp, NULL, &lip, 1, lsn); in xfs_trans_ail_update()
109 void xfs_trans_ail_delete_bulk(struct xfs_ail *ailp,
112 __releases(ailp->xa_lock);
[all …]
Dxfs_trans.c761 struct xfs_ail *ailp, in xfs_log_item_batch_insert() argument
769 spin_lock(&ailp->xa_lock); in xfs_log_item_batch_insert()
771 xfs_trans_ail_update_bulk(ailp, cur, log_items, nr_items, commit_lsn); in xfs_log_item_batch_insert()
802 struct xfs_ail *ailp, in xfs_trans_committed_bulk() argument
813 spin_lock(&ailp->xa_lock); in xfs_trans_committed_bulk()
814 xfs_trans_ail_cursor_last(ailp, &cur, commit_lsn); in xfs_trans_committed_bulk()
815 spin_unlock(&ailp->xa_lock); in xfs_trans_committed_bulk()
835 ASSERT(XFS_FORCED_SHUTDOWN(ailp->xa_mount)); in xfs_trans_committed_bulk()
849 spin_lock(&ailp->xa_lock); in xfs_trans_committed_bulk()
851 xfs_trans_ail_update(ailp, lip, item_lsn); in xfs_trans_committed_bulk()
[all …]
Dxfs_dquot_item.c364 struct xfs_ail *ailp = qfs->qql_item.li_ailp; in xfs_qm_qoffend_logitem_committed() local
370 spin_lock(&ailp->xa_lock); in xfs_qm_qoffend_logitem_committed()
371 xfs_trans_ail_delete(ailp, &qfs->qql_item, SHUTDOWN_LOG_IO_ERROR); in xfs_qm_qoffend_logitem_committed()
Dxfs_log_recover.c2991 struct xfs_ail *ailp = log->l_ailp; in xlog_recover_efd_pass2() local
3004 spin_lock(&ailp->xa_lock); in xlog_recover_efd_pass2()
3005 lip = xfs_trans_ail_cursor_first(ailp, &cur, 0); in xlog_recover_efd_pass2()
3014 spin_unlock(&ailp->xa_lock); in xlog_recover_efd_pass2()
3016 spin_lock(&ailp->xa_lock); in xlog_recover_efd_pass2()
3020 lip = xfs_trans_ail_cursor_next(ailp, &cur); in xlog_recover_efd_pass2()
3024 spin_unlock(&ailp->xa_lock); in xlog_recover_efd_pass2()
3870 struct xfs_ail *ailp; in xlog_recover_process_efis() local
3872 ailp = log->l_ailp; in xlog_recover_process_efis()
3873 spin_lock(&ailp->xa_lock); in xlog_recover_process_efis()
[all …]
Dxfs_buf_item.c417 struct xfs_ail *ailp = lip->li_ailp; in xfs_buf_item_unpin() local
469 spin_lock(&ailp->xa_lock); in xfs_buf_item_unpin()
470 xfs_trans_ail_delete(ailp, lip, SHUTDOWN_LOG_IO_ERROR); in xfs_buf_item_unpin()
1139 struct xfs_ail *ailp = lip->li_ailp; in xfs_buf_iodone() local
1154 spin_lock(&ailp->xa_lock); in xfs_buf_iodone()
1155 xfs_trans_ail_delete(ailp, lip, SHUTDOWN_CORRUPT_INCORE); in xfs_buf_iodone()
Dxfs_dquot.c891 struct xfs_ail *ailp = lip->li_ailp; in xfs_qm_dqflush_done() local
905 spin_lock(&ailp->xa_lock); in xfs_qm_dqflush_done()
907 xfs_trans_ail_delete(ailp, lip, SHUTDOWN_CORRUPT_INCORE); in xfs_qm_dqflush_done()
909 spin_unlock(&ailp->xa_lock); in xfs_qm_dqflush_done()
Dxfs_inode_item.c605 struct xfs_ail *ailp = lip->li_ailp; in xfs_iflush_done() local
661 spin_lock(&ailp->xa_lock); in xfs_iflush_done()
671 xfs_trans_ail_delete_bulk(ailp, log_items, i, in xfs_iflush_done()