Searched refs:ailp (Results 1 – 6 of 6) sorted by relevance
/fs/xfs/ |
D | xfs_trans_ail.c | 33 struct xfs_ail *ailp, in xfs_ail_check() argument 35 __must_hold(&ailp->ail_lock) in xfs_ail_check() 45 if (list_empty(&ailp->ail_head)) in xfs_ail_check() 53 if (&prev_lip->li_ail != &ailp->ail_head) in xfs_ail_check() 56 if (&next_lip->li_ail != &ailp->ail_head) in xfs_ail_check() 65 spin_unlock(&ailp->ail_lock); in xfs_ail_check() 69 spin_lock(&ailp->ail_lock); in xfs_ail_check() 81 struct xfs_ail *ailp) in xfs_ail_max() argument 83 if (list_empty(&ailp->ail_head)) in xfs_ail_max() 86 return list_entry(ailp->ail_head.prev, struct xfs_log_item, li_ail); in xfs_ail_max() [all …]
|
D | xfs_trans_priv.h | 21 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 void xfs_trans_ail_insert(struct xfs_ail *ailp, struct xfs_log_item *lip, 97 xfs_lsn_t xfs_ail_delete_one(struct xfs_ail *ailp, struct xfs_log_item *lip); [all …]
|
D | xfs_trans.c | 690 struct xfs_ail *ailp, in xfs_log_item_batch_insert() argument 698 spin_lock(&ailp->ail_lock); in xfs_log_item_batch_insert() 700 xfs_trans_ail_update_bulk(ailp, cur, log_items, nr_items, commit_lsn); in xfs_log_item_batch_insert() 732 struct xfs_ail *ailp, in xfs_trans_committed_bulk() argument 743 spin_lock(&ailp->ail_lock); in xfs_trans_committed_bulk() 744 xfs_trans_ail_cursor_last(ailp, &cur, commit_lsn); in xfs_trans_committed_bulk() 745 spin_unlock(&ailp->ail_lock); in xfs_trans_committed_bulk() 774 ASSERT(XFS_FORCED_SHUTDOWN(ailp->ail_mount)); in xfs_trans_committed_bulk() 789 spin_lock(&ailp->ail_lock); in xfs_trans_committed_bulk() 791 xfs_trans_ail_update(ailp, lip, item_lsn); in xfs_trans_committed_bulk() [all …]
|
D | xfs_log_recover.c | 1738 struct xfs_ail *ailp = log->l_ailp; in xlog_recover_release_intent() local 1740 spin_lock(&ailp->ail_lock); in xlog_recover_release_intent() 1741 for (lip = xfs_trans_ail_cursor_first(ailp, &cur, 0); lip != NULL; in xlog_recover_release_intent() 1742 lip = xfs_trans_ail_cursor_next(ailp, &cur)) { in xlog_recover_release_intent() 1748 spin_unlock(&ailp->ail_lock); in xlog_recover_release_intent() 1750 spin_lock(&ailp->ail_lock); in xlog_recover_release_intent() 1755 spin_unlock(&ailp->ail_lock); in xlog_recover_release_intent() 2524 struct xfs_ail *ailp; in xlog_recover_process_intents() local 2530 ailp = log->l_ailp; in xlog_recover_process_intents() 2531 spin_lock(&ailp->ail_lock); in xlog_recover_process_intents() [all …]
|
D | xfs_inode_item.c | 682 struct xfs_ail *ailp, in xfs_iflush_ail_updates() argument 689 spin_lock(&ailp->ail_lock); in xfs_iflush_ail_updates() 697 lsn = xfs_ail_delete_one(ailp, lip); in xfs_iflush_ail_updates() 701 xfs_ail_update_finish(ailp, tail_lsn); in xfs_iflush_ail_updates()
|
D | xfs_dquot.c | 1136 struct xfs_ail *ailp = lip->li_ailp; in xfs_qm_dqflush_done() local 1151 spin_lock(&ailp->ail_lock); in xfs_qm_dqflush_done() 1155 tail_lsn = xfs_ail_delete_one(ailp, lip); in xfs_qm_dqflush_done() 1156 xfs_ail_update_finish(ailp, tail_lsn); in xfs_qm_dqflush_done() 1158 spin_unlock(&ailp->ail_lock); in xfs_qm_dqflush_done()
|