/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_trans_ail.c | 34 struct xfs_ail *ailp, 36 __must_hold(&ailp->ail_lock) 46 if (list_empty(&ailp->ail_head)) 54 if (&prev_lip->li_ail != &ailp->ail_head) 57 if (&next_lip->li_ail != &ailp->ail_head) 66 spin_unlock(&ailp->ail_lock); 70 spin_lock(&ailp->ail_lock); 82 struct xfs_ail *ailp) in xfs_ail_max() 84 if (list_empty(&ailp->ail_head)) in xfs_ail_max() 87 return list_entry(ailp in xfs_ail_max() 81 xfs_ail_max( struct xfs_ail *ailp) xfs_ail_max() argument 95 xfs_ail_next( struct xfs_ail *ailp, struct xfs_log_item *lip) xfs_ail_next() argument 114 __xfs_ail_min_lsn( struct xfs_ail *ailp) __xfs_ail_min_lsn() argument 125 xfs_ail_min_lsn( struct xfs_ail *ailp) xfs_ail_min_lsn() argument 141 xfs_ail_max_lsn( struct xfs_ail *ailp) xfs_ail_max_lsn() argument 164 xfs_trans_ail_cursor_init( struct xfs_ail *ailp, struct xfs_ail_cursor *cur) xfs_trans_ail_cursor_init() argument 177 xfs_trans_ail_cursor_next( struct xfs_ail *ailp, struct xfs_ail_cursor *cur) xfs_trans_ail_cursor_next() argument 211 xfs_trans_ail_cursor_clear( struct xfs_ail *ailp, struct xfs_log_item *lip) xfs_trans_ail_cursor_clear() argument 231 xfs_trans_ail_cursor_first( struct xfs_ail *ailp, struct xfs_ail_cursor *cur, xfs_lsn_t lsn) xfs_trans_ail_cursor_first() argument 258 __xfs_trans_ail_cursor_last( struct xfs_ail *ailp, xfs_lsn_t lsn) __xfs_trans_ail_cursor_last() argument 278 xfs_trans_ail_cursor_last( struct xfs_ail *ailp, struct xfs_ail_cursor *cur, xfs_lsn_t lsn) xfs_trans_ail_cursor_last() argument 295 xfs_ail_splice( struct xfs_ail *ailp, struct xfs_ail_cursor *cur, struct list_head *list, xfs_lsn_t lsn) xfs_ail_splice() argument 340 xfs_ail_delete( struct xfs_ail *ailp, struct xfs_log_item *lip) xfs_ail_delete() argument 393 xfsaild_push_item( struct xfs_ail *ailp, struct xfs_log_item *lip) xfsaild_push_item() argument 418 xfsaild_push( struct xfs_ail *ailp) xfsaild_push() argument 598 struct xfs_ail *ailp = data; xfsaild() local 693 xfs_ail_push( struct xfs_ail *ailp, xfs_lsn_t threshold_lsn) xfs_ail_push() argument 719 xfs_ail_push_all( struct xfs_ail *ailp) xfs_ail_push_all() argument 732 xfs_ail_push_all_sync( struct xfs_ail *ailp) xfs_ail_push_all_sync() argument 837 xfs_trans_ail_insert( struct xfs_ail *ailp, struct xfs_log_item *lip, xfs_lsn_t lsn) xfs_trans_ail_insert() argument 854 xfs_ail_delete_one( struct xfs_ail *ailp, struct xfs_log_item *lip) xfs_ail_delete_one() argument 876 struct xfs_ail *ailp = lip->li_ailp; xfs_trans_ail_delete() local 902 struct xfs_ail *ailp; xfs_trans_ail_init() local 932 struct xfs_ail *ailp = mp->m_ail; xfs_trans_ail_destroy() local [all...] |
H A D | xfs_trans_priv.h | 22 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() 83 return list_first_entry_or_null(&ailp->ail_head, struct xfs_log_item, in xfs_ail_min() 89 struct xfs_ail *ailp, 91 xfs_lsn_t lsn) __releases(ailp->ail_lock) 93 xfs_trans_ail_update_bulk(ailp, NULL, &lip, 1, lsn); 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, struc 80 xfs_ail_min( struct xfs_ail *ailp) xfs_ail_min() argument 122 xfs_trans_ail_copy_lsn( struct xfs_ail *ailp, xfs_lsn_t *dst, xfs_lsn_t *src) xfs_trans_ail_copy_lsn() argument 134 xfs_trans_ail_copy_lsn( struct xfs_ail *ailp, xfs_lsn_t *dst, xfs_lsn_t *src) xfs_trans_ail_copy_lsn() argument [all...] |
H A D | xfs_trans.c | 722 struct xfs_ail *ailp, in xfs_log_item_batch_insert() 730 spin_lock(&ailp->ail_lock); in xfs_log_item_batch_insert() 731 /* xfs_trans_ail_update_bulk drops ailp->ail_lock */ in xfs_log_item_batch_insert() 732 xfs_trans_ail_update_bulk(ailp, cur, log_items, nr_items, commit_lsn); in xfs_log_item_batch_insert() 764 struct xfs_ail *ailp, in xfs_trans_committed_bulk() 775 spin_lock(&ailp->ail_lock); in xfs_trans_committed_bulk() 776 xfs_trans_ail_cursor_last(ailp, &cur, commit_lsn); in xfs_trans_committed_bulk() 777 spin_unlock(&ailp->ail_lock); in xfs_trans_committed_bulk() 806 ASSERT(xlog_is_shutdown(ailp->ail_log)); in xfs_trans_committed_bulk() 821 spin_lock(&ailp in xfs_trans_committed_bulk() 721 xfs_log_item_batch_insert( struct xfs_ail *ailp, struct xfs_ail_cursor *cur, struct xfs_log_item **log_items, int nr_items, xfs_lsn_t commit_lsn) xfs_log_item_batch_insert() argument 763 xfs_trans_committed_bulk( struct xfs_ail *ailp, struct list_head *lv_chain, xfs_lsn_t commit_lsn, bool aborted) xfs_trans_committed_bulk() argument [all...] |
H A D | xfs_log_recover.c | 1732 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 in xlog_recover_process_intents() 2613 struct xfs_ail *ailp; xlog_recover_cancel_intents() local [all...] |
H A D | xfs_inode_item.c | 869 struct xfs_ail *ailp, in xfs_iflush_ail_updates() 876 spin_lock(&ailp->ail_lock); in xfs_iflush_ail_updates() 895 lsn = xfs_ail_delete_one(ailp, lip); in xfs_iflush_ail_updates() 899 xfs_ail_update_finish(ailp, tail_lsn); in xfs_iflush_ail_updates() 868 xfs_iflush_ail_updates( struct xfs_ail *ailp, struct list_head *list) xfs_iflush_ail_updates() argument
|
H A D | xfs_dquot.c | 1110 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()
|
/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_trans_ail.c | 33 struct xfs_ail *ailp, 35 __must_hold(&ailp->ail_lock) 45 if (list_empty(&ailp->ail_head)) 53 if (&prev_lip->li_ail != &ailp->ail_head) 56 if (&next_lip->li_ail != &ailp->ail_head) 65 spin_unlock(&ailp->ail_lock); 69 spin_lock(&ailp->ail_lock); 81 struct xfs_ail *ailp) in xfs_ail_max() 83 if (list_empty(&ailp->ail_head)) in xfs_ail_max() 86 return list_entry(ailp in xfs_ail_max() 80 xfs_ail_max( struct xfs_ail *ailp) xfs_ail_max() argument 94 xfs_ail_next( struct xfs_ail *ailp, struct xfs_log_item *lip) xfs_ail_next() argument 113 __xfs_ail_min_lsn( struct xfs_ail *ailp) __xfs_ail_min_lsn() argument 124 xfs_ail_min_lsn( struct xfs_ail *ailp) xfs_ail_min_lsn() argument 140 xfs_ail_max_lsn( struct xfs_ail *ailp) xfs_ail_max_lsn() argument 163 xfs_trans_ail_cursor_init( struct xfs_ail *ailp, struct xfs_ail_cursor *cur) xfs_trans_ail_cursor_init() argument 176 xfs_trans_ail_cursor_next( struct xfs_ail *ailp, struct xfs_ail_cursor *cur) xfs_trans_ail_cursor_next() argument 210 xfs_trans_ail_cursor_clear( struct xfs_ail *ailp, struct xfs_log_item *lip) xfs_trans_ail_cursor_clear() argument 230 xfs_trans_ail_cursor_first( struct xfs_ail *ailp, struct xfs_ail_cursor *cur, xfs_lsn_t lsn) xfs_trans_ail_cursor_first() argument 257 __xfs_trans_ail_cursor_last( struct xfs_ail *ailp, xfs_lsn_t lsn) __xfs_trans_ail_cursor_last() argument 277 xfs_trans_ail_cursor_last( struct xfs_ail *ailp, struct xfs_ail_cursor *cur, xfs_lsn_t lsn) xfs_trans_ail_cursor_last() argument 294 xfs_ail_splice( struct xfs_ail *ailp, struct xfs_ail_cursor *cur, struct list_head *list, xfs_lsn_t lsn) xfs_ail_splice() argument 339 xfs_ail_delete( struct xfs_ail *ailp, struct xfs_log_item *lip) xfs_ail_delete() argument 392 xfsaild_push_item( struct xfs_ail *ailp, struct xfs_log_item *lip) xfsaild_push_item() argument 417 xfsaild_push( struct xfs_ail *ailp) xfsaild_push() argument 579 struct xfs_ail *ailp = data; xfsaild() local 674 xfs_ail_push( struct xfs_ail *ailp, xfs_lsn_t threshold_lsn) xfs_ail_push() argument 700 xfs_ail_push_all( struct xfs_ail *ailp) xfs_ail_push_all() argument 713 xfs_ail_push_all_sync( struct xfs_ail *ailp) xfs_ail_push_all_sync() argument 820 xfs_trans_ail_insert( struct xfs_ail *ailp, struct xfs_log_item *lip, xfs_lsn_t lsn) xfs_trans_ail_insert() argument 837 xfs_ail_delete_one( struct xfs_ail *ailp, struct xfs_log_item *lip) xfs_ail_delete_one() argument 859 struct xfs_ail *ailp = lip->li_ailp; xfs_trans_ail_delete() local 885 struct xfs_ail *ailp; xfs_trans_ail_init() local 915 struct xfs_ail *ailp = mp->m_ail; xfs_trans_ail_destroy() local [all...] |
H A 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() 81 return list_first_entry_or_null(&ailp->ail_head, struct xfs_log_item, in xfs_ail_min() 87 struct xfs_ail *ailp, 89 xfs_lsn_t lsn) __releases(ailp->ail_lock) 91 xfs_trans_ail_update_bulk(ailp, NULL, &lip, 1, lsn); 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, struc 78 xfs_ail_min( struct xfs_ail *ailp) xfs_ail_min() argument 120 xfs_trans_ail_copy_lsn( struct xfs_ail *ailp, xfs_lsn_t *dst, xfs_lsn_t *src) xfs_trans_ail_copy_lsn() argument 132 xfs_trans_ail_copy_lsn( struct xfs_ail *ailp, xfs_lsn_t *dst, xfs_lsn_t *src) xfs_trans_ail_copy_lsn() argument [all...] |
H A D | xfs_trans.c | 690 struct xfs_ail *ailp, in xfs_log_item_batch_insert() 698 spin_lock(&ailp->ail_lock); in xfs_log_item_batch_insert() 699 /* xfs_trans_ail_update_bulk drops 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() 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 in xfs_trans_committed_bulk() 689 xfs_log_item_batch_insert( struct xfs_ail *ailp, struct xfs_ail_cursor *cur, struct xfs_log_item **log_items, int nr_items, xfs_lsn_t commit_lsn) xfs_log_item_batch_insert() argument 731 xfs_trans_committed_bulk( struct xfs_ail *ailp, struct xfs_log_vec *log_vector, xfs_lsn_t commit_lsn, bool aborted) xfs_trans_committed_bulk() argument [all...] |
H A 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 in xlog_recover_process_intents() 2595 struct xfs_ail *ailp; xlog_recover_cancel_intents() local [all...] |
H A D | xfs_inode_item.c | 682 struct xfs_ail *ailp, in xfs_iflush_ail_updates() 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() 681 xfs_iflush_ail_updates( struct xfs_ail *ailp, struct list_head *list) xfs_iflush_ail_updates() argument
|
H A 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()
|