Home
last modified time | relevance | path

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

/fs/xfs/
Dxfs_trans_ail.c34 struct xfs_ail *ailp, in xfs_ail_check() argument
36 __must_hold(&ailp->ail_lock) in xfs_ail_check()
46 if (list_empty(&ailp->ail_head)) in xfs_ail_check()
54 if (&prev_lip->li_ail != &ailp->ail_head) in xfs_ail_check()
57 if (&next_lip->li_ail != &ailp->ail_head) in xfs_ail_check()
66 spin_unlock(&ailp->ail_lock); in xfs_ail_check()
70 spin_lock(&ailp->ail_lock); in xfs_ail_check()
82 struct xfs_ail *ailp) in xfs_ail_max() argument
84 if (list_empty(&ailp->ail_head)) in xfs_ail_max()
87 return list_entry(ailp->ail_head.prev, struct xfs_log_item, li_ail); in xfs_ail_max()
[all …]
Dxfs_trans_priv.h22 void xfs_trans_committed_bulk(struct xfs_ail *ailp,
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 void xfs_trans_ail_insert(struct xfs_ail *ailp, struct xfs_log_item *lip,
99 xfs_lsn_t xfs_ail_delete_one(struct xfs_ail *ailp, struct xfs_log_item *lip);
[all …]
Dxfs_trans.c720 struct xfs_ail *ailp, in xfs_log_item_batch_insert() argument
728 spin_lock(&ailp->ail_lock); in xfs_log_item_batch_insert()
730 xfs_trans_ail_update_bulk(ailp, cur, log_items, nr_items, commit_lsn); in xfs_log_item_batch_insert()
762 struct xfs_ail *ailp, in xfs_trans_committed_bulk() argument
773 spin_lock(&ailp->ail_lock); in xfs_trans_committed_bulk()
774 xfs_trans_ail_cursor_last(ailp, &cur, commit_lsn); in xfs_trans_committed_bulk()
775 spin_unlock(&ailp->ail_lock); in xfs_trans_committed_bulk()
804 ASSERT(xlog_is_shutdown(ailp->ail_log)); in xfs_trans_committed_bulk()
819 spin_lock(&ailp->ail_lock); in xfs_trans_committed_bulk()
821 xfs_trans_ail_update(ailp, lip, item_lsn); in xfs_trans_committed_bulk()
[all …]
Dxfs_log_recover.c1732 struct xfs_ail *ailp = log->l_ailp; in xlog_recover_release_intent() local
1734 spin_lock(&ailp->ail_lock); in xlog_recover_release_intent()
1735 for (lip = xfs_trans_ail_cursor_first(ailp, &cur, 0); lip != NULL; in xlog_recover_release_intent()
1736 lip = xfs_trans_ail_cursor_next(ailp, &cur)) { in xlog_recover_release_intent()
1742 spin_unlock(&ailp->ail_lock); in xlog_recover_release_intent()
1744 spin_lock(&ailp->ail_lock); in xlog_recover_release_intent()
1749 spin_unlock(&ailp->ail_lock); in xlog_recover_release_intent()
2541 struct xfs_ail *ailp; in xlog_recover_process_intents() local
2547 ailp = log->l_ailp; in xlog_recover_process_intents()
2548 spin_lock(&ailp->ail_lock); in xlog_recover_process_intents()
[all …]
Dxfs_dquot.c1110 struct xfs_ail *ailp = lip->li_ailp; in xfs_qm_dqflush_done() local
1125 spin_lock(&ailp->ail_lock); in xfs_qm_dqflush_done()
1129 tail_lsn = xfs_ail_delete_one(ailp, lip); in xfs_qm_dqflush_done()
1130 xfs_ail_update_finish(ailp, tail_lsn); in xfs_qm_dqflush_done()
1132 spin_unlock(&ailp->ail_lock); in xfs_qm_dqflush_done()
Dxfs_inode_item.c720 struct xfs_ail *ailp, in xfs_iflush_ail_updates() argument
727 spin_lock(&ailp->ail_lock); in xfs_iflush_ail_updates()
746 lsn = xfs_ail_delete_one(ailp, lip); in xfs_iflush_ail_updates()
750 xfs_ail_update_finish(ailp, tail_lsn); in xfs_iflush_ail_updates()