ailp 396 fs/xfs/xfs_buf_item.c struct xfs_ail *ailp = lip->li_ailp; ailp 449 fs/xfs/xfs_buf_item.c spin_lock(&ailp->ail_lock); ailp 450 fs/xfs/xfs_buf_item.c xfs_trans_ail_delete(ailp, lip, SHUTDOWN_LOG_IO_ERROR); ailp 1046 fs/xfs/xfs_buf_item.c struct xfs_ail *ailp; ailp 1058 fs/xfs/xfs_buf_item.c ailp = lip->li_ailp; ailp 1059 fs/xfs/xfs_buf_item.c spin_lock(&ailp->ail_lock); ailp 1064 fs/xfs/xfs_buf_item.c spin_unlock(&ailp->ail_lock); ailp 1213 fs/xfs/xfs_buf_item.c struct xfs_ail *ailp = lip->li_ailp; ailp 1228 fs/xfs/xfs_buf_item.c spin_lock(&ailp->ail_lock); ailp 1229 fs/xfs/xfs_buf_item.c xfs_trans_ail_delete(ailp, lip, SHUTDOWN_CORRUPT_INCORE); ailp 1023 fs/xfs/xfs_dquot.c struct xfs_ail *ailp = lip->li_ailp; ailp 1038 fs/xfs/xfs_dquot.c spin_lock(&ailp->ail_lock); ailp 1040 fs/xfs/xfs_dquot.c xfs_trans_ail_delete(ailp, lip, SHUTDOWN_CORRUPT_INCORE); ailp 1047 fs/xfs/xfs_dquot.c spin_unlock(&ailp->ail_lock); ailp 310 fs/xfs/xfs_dquot_item.c struct xfs_ail *ailp = qfs->qql_item.li_ailp; ailp 316 fs/xfs/xfs_dquot_item.c spin_lock(&ailp->ail_lock); ailp 317 fs/xfs/xfs_dquot_item.c xfs_trans_ail_delete(ailp, &qfs->qql_item, SHUTDOWN_LOG_IO_ERROR); ailp 692 fs/xfs/xfs_inode_item.c struct xfs_ail *ailp = lip->li_ailp; ailp 737 fs/xfs/xfs_inode_item.c spin_lock(&ailp->ail_lock); ailp 741 fs/xfs/xfs_inode_item.c mlip_changed |= xfs_ail_delete_one(ailp, blip); ailp 748 fs/xfs/xfs_inode_item.c if (!XFS_FORCED_SHUTDOWN(ailp->ail_mount)) ailp 749 fs/xfs/xfs_inode_item.c xlog_assign_tail_lsn_locked(ailp->ail_mount); ailp 750 fs/xfs/xfs_inode_item.c if (list_empty(&ailp->ail_head)) ailp 751 fs/xfs/xfs_inode_item.c wake_up_all(&ailp->ail_empty); ailp 753 fs/xfs/xfs_inode_item.c spin_unlock(&ailp->ail_lock); ailp 756 fs/xfs/xfs_inode_item.c xfs_log_space_wake(ailp->ail_mount); ailp 3389 fs/xfs/xfs_log_recover.c struct xfs_ail *ailp = log->l_ailp; ailp 3402 fs/xfs/xfs_log_recover.c spin_lock(&ailp->ail_lock); ailp 3403 fs/xfs/xfs_log_recover.c lip = xfs_trans_ail_cursor_first(ailp, &cur, 0); ailp 3412 fs/xfs/xfs_log_recover.c spin_unlock(&ailp->ail_lock); ailp 3414 fs/xfs/xfs_log_recover.c spin_lock(&ailp->ail_lock); ailp 3418 fs/xfs/xfs_log_recover.c lip = xfs_trans_ail_cursor_next(ailp, &cur); ailp 3422 fs/xfs/xfs_log_recover.c spin_unlock(&ailp->ail_lock); ailp 3485 fs/xfs/xfs_log_recover.c struct xfs_ail *ailp = log->l_ailp; ailp 3495 fs/xfs/xfs_log_recover.c spin_lock(&ailp->ail_lock); ailp 3496 fs/xfs/xfs_log_recover.c lip = xfs_trans_ail_cursor_first(ailp, &cur, 0); ailp 3505 fs/xfs/xfs_log_recover.c spin_unlock(&ailp->ail_lock); ailp 3507 fs/xfs/xfs_log_recover.c spin_lock(&ailp->ail_lock); ailp 3511 fs/xfs/xfs_log_recover.c lip = xfs_trans_ail_cursor_next(ailp, &cur); ailp 3515 fs/xfs/xfs_log_recover.c spin_unlock(&ailp->ail_lock); ailp 3601 fs/xfs/xfs_log_recover.c struct xfs_ail *ailp = log->l_ailp; ailp 3612 fs/xfs/xfs_log_recover.c spin_lock(&ailp->ail_lock); ailp 3613 fs/xfs/xfs_log_recover.c lip = xfs_trans_ail_cursor_first(ailp, &cur, 0); ailp 3622 fs/xfs/xfs_log_recover.c spin_unlock(&ailp->ail_lock); ailp 3624 fs/xfs/xfs_log_recover.c spin_lock(&ailp->ail_lock); ailp 3628 fs/xfs/xfs_log_recover.c lip = xfs_trans_ail_cursor_next(ailp, &cur); ailp 3632 fs/xfs/xfs_log_recover.c spin_unlock(&ailp->ail_lock); ailp 3720 fs/xfs/xfs_log_recover.c struct xfs_ail *ailp = log->l_ailp; ailp 3731 fs/xfs/xfs_log_recover.c spin_lock(&ailp->ail_lock); ailp 3732 fs/xfs/xfs_log_recover.c lip = xfs_trans_ail_cursor_first(ailp, &cur, 0); ailp 3741 fs/xfs/xfs_log_recover.c spin_unlock(&ailp->ail_lock); ailp 3743 fs/xfs/xfs_log_recover.c spin_lock(&ailp->ail_lock); ailp 3747 fs/xfs/xfs_log_recover.c lip = xfs_trans_ail_cursor_next(ailp, &cur); ailp 3751 fs/xfs/xfs_log_recover.c spin_unlock(&ailp->ail_lock); ailp 4570 fs/xfs/xfs_log_recover.c struct xfs_ail *ailp, ailp 4583 fs/xfs/xfs_log_recover.c spin_unlock(&ailp->ail_lock); ailp 4585 fs/xfs/xfs_log_recover.c spin_lock(&ailp->ail_lock); ailp 4594 fs/xfs/xfs_log_recover.c struct xfs_ail *ailp, ailp 4601 fs/xfs/xfs_log_recover.c spin_unlock(&ailp->ail_lock); ailp 4603 fs/xfs/xfs_log_recover.c spin_lock(&ailp->ail_lock); ailp 4610 fs/xfs/xfs_log_recover.c struct xfs_ail *ailp, ailp 4623 fs/xfs/xfs_log_recover.c spin_unlock(&ailp->ail_lock); ailp 4625 fs/xfs/xfs_log_recover.c spin_lock(&ailp->ail_lock); ailp 4634 fs/xfs/xfs_log_recover.c struct xfs_ail *ailp, ailp 4641 fs/xfs/xfs_log_recover.c spin_unlock(&ailp->ail_lock); ailp 4643 fs/xfs/xfs_log_recover.c spin_lock(&ailp->ail_lock); ailp 4650 fs/xfs/xfs_log_recover.c struct xfs_ail *ailp, ailp 4663 fs/xfs/xfs_log_recover.c spin_unlock(&ailp->ail_lock); ailp 4665 fs/xfs/xfs_log_recover.c spin_lock(&ailp->ail_lock); ailp 4674 fs/xfs/xfs_log_recover.c struct xfs_ail *ailp, ailp 4681 fs/xfs/xfs_log_recover.c spin_unlock(&ailp->ail_lock); ailp 4683 fs/xfs/xfs_log_recover.c spin_lock(&ailp->ail_lock); ailp 4690 fs/xfs/xfs_log_recover.c struct xfs_ail *ailp, ailp 4703 fs/xfs/xfs_log_recover.c spin_unlock(&ailp->ail_lock); ailp 4705 fs/xfs/xfs_log_recover.c spin_lock(&ailp->ail_lock); ailp 4714 fs/xfs/xfs_log_recover.c struct xfs_ail *ailp, ailp 4721 fs/xfs/xfs_log_recover.c spin_unlock(&ailp->ail_lock); ailp 4723 fs/xfs/xfs_log_recover.c spin_lock(&ailp->ail_lock); ailp 4797 fs/xfs/xfs_log_recover.c struct xfs_ail *ailp; ailp 4816 fs/xfs/xfs_log_recover.c ailp = log->l_ailp; ailp 4817 fs/xfs/xfs_log_recover.c spin_lock(&ailp->ail_lock); ailp 4818 fs/xfs/xfs_log_recover.c lip = xfs_trans_ail_cursor_first(ailp, &cur, 0); ailp 4829 fs/xfs/xfs_log_recover.c for (; lip; lip = xfs_trans_ail_cursor_next(ailp, &cur)) ailp 4850 fs/xfs/xfs_log_recover.c error = xlog_recover_process_efi(log->l_mp, ailp, lip); ailp 4853 fs/xfs/xfs_log_recover.c error = xlog_recover_process_rui(log->l_mp, ailp, lip); ailp 4856 fs/xfs/xfs_log_recover.c error = xlog_recover_process_cui(parent_tp, ailp, lip); ailp 4859 fs/xfs/xfs_log_recover.c error = xlog_recover_process_bui(parent_tp, ailp, lip); ailp 4864 fs/xfs/xfs_log_recover.c lip = xfs_trans_ail_cursor_next(ailp, &cur); ailp 4868 fs/xfs/xfs_log_recover.c spin_unlock(&ailp->ail_lock); ailp 4886 fs/xfs/xfs_log_recover.c struct xfs_ail *ailp; ailp 4888 fs/xfs/xfs_log_recover.c ailp = log->l_ailp; ailp 4889 fs/xfs/xfs_log_recover.c spin_lock(&ailp->ail_lock); ailp 4890 fs/xfs/xfs_log_recover.c lip = xfs_trans_ail_cursor_first(ailp, &cur, 0); ailp 4898 fs/xfs/xfs_log_recover.c for (; lip; lip = xfs_trans_ail_cursor_next(ailp, &cur)) ailp 4906 fs/xfs/xfs_log_recover.c xlog_recover_cancel_efi(log->l_mp, ailp, lip); ailp 4909 fs/xfs/xfs_log_recover.c xlog_recover_cancel_rui(log->l_mp, ailp, lip); ailp 4912 fs/xfs/xfs_log_recover.c xlog_recover_cancel_cui(log->l_mp, ailp, lip); ailp 4915 fs/xfs/xfs_log_recover.c xlog_recover_cancel_bui(log->l_mp, ailp, lip); ailp 4919 fs/xfs/xfs_log_recover.c lip = xfs_trans_ail_cursor_next(ailp, &cur); ailp 4923 fs/xfs/xfs_log_recover.c spin_unlock(&ailp->ail_lock); ailp 787 fs/xfs/xfs_trans.c struct xfs_ail *ailp, ailp 795 fs/xfs/xfs_trans.c spin_lock(&ailp->ail_lock); ailp 797 fs/xfs/xfs_trans.c xfs_trans_ail_update_bulk(ailp, cur, log_items, nr_items, commit_lsn); ailp 829 fs/xfs/xfs_trans.c struct xfs_ail *ailp, ailp 840 fs/xfs/xfs_trans.c spin_lock(&ailp->ail_lock); ailp 841 fs/xfs/xfs_trans.c xfs_trans_ail_cursor_last(ailp, &cur, commit_lsn); ailp 842 fs/xfs/xfs_trans.c spin_unlock(&ailp->ail_lock); ailp 871 fs/xfs/xfs_trans.c ASSERT(XFS_FORCED_SHUTDOWN(ailp->ail_mount)); ailp 886 fs/xfs/xfs_trans.c spin_lock(&ailp->ail_lock); ailp 888 fs/xfs/xfs_trans.c xfs_trans_ail_update(ailp, lip, item_lsn); ailp 890 fs/xfs/xfs_trans.c spin_unlock(&ailp->ail_lock); ailp 899 fs/xfs/xfs_trans.c xfs_log_item_batch_insert(ailp, &cur, log_items, ailp 907 fs/xfs/xfs_trans.c xfs_log_item_batch_insert(ailp, &cur, log_items, i, commit_lsn); ailp 909 fs/xfs/xfs_trans.c spin_lock(&ailp->ail_lock); ailp 911 fs/xfs/xfs_trans.c spin_unlock(&ailp->ail_lock); ailp 33 fs/xfs/xfs_trans_ail.c struct xfs_ail *ailp, ailp 44 fs/xfs/xfs_trans_ail.c if (list_empty(&ailp->ail_head)) ailp 52 fs/xfs/xfs_trans_ail.c if (&prev_lip->li_ail != &ailp->ail_head) ailp 55 fs/xfs/xfs_trans_ail.c if (&next_lip->li_ail != &ailp->ail_head) ailp 64 fs/xfs/xfs_trans_ail.c spin_unlock(&ailp->ail_lock); ailp 68 fs/xfs/xfs_trans_ail.c spin_lock(&ailp->ail_lock); ailp 80 fs/xfs/xfs_trans_ail.c struct xfs_ail *ailp) ailp 82 fs/xfs/xfs_trans_ail.c if (list_empty(&ailp->ail_head)) ailp 85 fs/xfs/xfs_trans_ail.c return list_entry(ailp->ail_head.prev, struct xfs_log_item, li_ail); ailp 94 fs/xfs/xfs_trans_ail.c struct xfs_ail *ailp, ailp 97 fs/xfs/xfs_trans_ail.c if (lip->li_ail.next == &ailp->ail_head) ailp 113 fs/xfs/xfs_trans_ail.c struct xfs_ail *ailp) ailp 118 fs/xfs/xfs_trans_ail.c spin_lock(&ailp->ail_lock); ailp 119 fs/xfs/xfs_trans_ail.c lip = xfs_ail_min(ailp); ailp 122 fs/xfs/xfs_trans_ail.c spin_unlock(&ailp->ail_lock); ailp 132 fs/xfs/xfs_trans_ail.c struct xfs_ail *ailp) ailp 137 fs/xfs/xfs_trans_ail.c spin_lock(&ailp->ail_lock); ailp 138 fs/xfs/xfs_trans_ail.c lip = xfs_ail_max(ailp); ailp 141 fs/xfs/xfs_trans_ail.c spin_unlock(&ailp->ail_lock); ailp 155 fs/xfs/xfs_trans_ail.c struct xfs_ail *ailp, ailp 159 fs/xfs/xfs_trans_ail.c list_add_tail(&cur->list, &ailp->ail_cursors); ailp 168 fs/xfs/xfs_trans_ail.c struct xfs_ail *ailp, ailp 174 fs/xfs/xfs_trans_ail.c lip = xfs_ail_min(ailp); ailp 176 fs/xfs/xfs_trans_ail.c cur->item = xfs_ail_next(ailp, lip); ailp 202 fs/xfs/xfs_trans_ail.c struct xfs_ail *ailp, ailp 207 fs/xfs/xfs_trans_ail.c list_for_each_entry(cur, &ailp->ail_cursors, list) { ailp 222 fs/xfs/xfs_trans_ail.c struct xfs_ail *ailp, ailp 228 fs/xfs/xfs_trans_ail.c xfs_trans_ail_cursor_init(ailp, cur); ailp 231 fs/xfs/xfs_trans_ail.c lip = xfs_ail_min(ailp); ailp 235 fs/xfs/xfs_trans_ail.c list_for_each_entry(lip, &ailp->ail_head, li_ail) { ailp 243 fs/xfs/xfs_trans_ail.c cur->item = xfs_ail_next(ailp, lip); ailp 249 fs/xfs/xfs_trans_ail.c struct xfs_ail *ailp, ailp 254 fs/xfs/xfs_trans_ail.c list_for_each_entry_reverse(lip, &ailp->ail_head, li_ail) { ailp 269 fs/xfs/xfs_trans_ail.c struct xfs_ail *ailp, ailp 273 fs/xfs/xfs_trans_ail.c xfs_trans_ail_cursor_init(ailp, cur); ailp 274 fs/xfs/xfs_trans_ail.c cur->item = __xfs_trans_ail_cursor_last(ailp, lsn); ailp 286 fs/xfs/xfs_trans_ail.c struct xfs_ail *ailp, ailp 302 fs/xfs/xfs_trans_ail.c lip = __xfs_trans_ail_cursor_last(ailp, lsn); ailp 323 fs/xfs/xfs_trans_ail.c list_splice(list, &ailp->ail_head); ailp 331 fs/xfs/xfs_trans_ail.c struct xfs_ail *ailp, ailp 334 fs/xfs/xfs_trans_ail.c xfs_ail_check(ailp, lip); ailp 336 fs/xfs/xfs_trans_ail.c xfs_trans_ail_cursor_clear(ailp, lip); ailp 341 fs/xfs/xfs_trans_ail.c struct xfs_ail *ailp, ailp 348 fs/xfs/xfs_trans_ail.c if (XFS_TEST_ERROR(false, ailp->ail_mount, XFS_ERRTAG_LOG_ITEM_PIN)) ailp 359 fs/xfs/xfs_trans_ail.c return lip->li_ops->iop_push(lip, &ailp->ail_buf_list); ailp 364 fs/xfs/xfs_trans_ail.c struct xfs_ail *ailp) ailp 366 fs/xfs/xfs_trans_ail.c xfs_mount_t *mp = ailp->ail_mount; ailp 381 fs/xfs/xfs_trans_ail.c if (ailp->ail_log_flush && ailp->ail_last_pushed_lsn == 0 && ailp 382 fs/xfs/xfs_trans_ail.c (!list_empty_careful(&ailp->ail_buf_list) || ailp 383 fs/xfs/xfs_trans_ail.c xfs_ail_min_lsn(ailp))) { ailp 384 fs/xfs/xfs_trans_ail.c ailp->ail_log_flush = 0; ailp 390 fs/xfs/xfs_trans_ail.c spin_lock(&ailp->ail_lock); ailp 394 fs/xfs/xfs_trans_ail.c target = ailp->ail_target; ailp 395 fs/xfs/xfs_trans_ail.c ailp->ail_target_prev = target; ailp 397 fs/xfs/xfs_trans_ail.c lip = xfs_trans_ail_cursor_first(ailp, &cur, ailp->ail_last_pushed_lsn); ailp 404 fs/xfs/xfs_trans_ail.c spin_unlock(&ailp->ail_lock); ailp 419 fs/xfs/xfs_trans_ail.c lock_result = xfsaild_push_item(ailp, lip); ailp 425 fs/xfs/xfs_trans_ail.c ailp->ail_last_pushed_lsn = lsn; ailp 444 fs/xfs/xfs_trans_ail.c ailp->ail_last_pushed_lsn = lsn; ailp 452 fs/xfs/xfs_trans_ail.c ailp->ail_log_flush++; ailp 483 fs/xfs/xfs_trans_ail.c lip = xfs_trans_ail_cursor_next(ailp, &cur); ailp 489 fs/xfs/xfs_trans_ail.c spin_unlock(&ailp->ail_lock); ailp 491 fs/xfs/xfs_trans_ail.c if (xfs_buf_delwri_submit_nowait(&ailp->ail_buf_list)) ailp 492 fs/xfs/xfs_trans_ail.c ailp->ail_log_flush++; ailp 502 fs/xfs/xfs_trans_ail.c ailp->ail_last_pushed_lsn = 0; ailp 515 fs/xfs/xfs_trans_ail.c ailp->ail_last_pushed_lsn = 0; ailp 530 fs/xfs/xfs_trans_ail.c struct xfs_ail *ailp = data; ailp 568 fs/xfs/xfs_trans_ail.c ASSERT(list_empty(&ailp->ail_buf_list) || ailp 569 fs/xfs/xfs_trans_ail.c XFS_FORCED_SHUTDOWN(ailp->ail_mount)); ailp 570 fs/xfs/xfs_trans_ail.c xfs_buf_delwri_cancel(&ailp->ail_buf_list); ailp 574 fs/xfs/xfs_trans_ail.c spin_lock(&ailp->ail_lock); ailp 586 fs/xfs/xfs_trans_ail.c if (!xfs_ail_min(ailp) && ailp 587 fs/xfs/xfs_trans_ail.c ailp->ail_target == ailp->ail_target_prev) { ailp 588 fs/xfs/xfs_trans_ail.c spin_unlock(&ailp->ail_lock); ailp 593 fs/xfs/xfs_trans_ail.c spin_unlock(&ailp->ail_lock); ailp 602 fs/xfs/xfs_trans_ail.c tout = xfsaild_push(ailp); ailp 625 fs/xfs/xfs_trans_ail.c struct xfs_ail *ailp, ailp 630 fs/xfs/xfs_trans_ail.c lip = xfs_ail_min(ailp); ailp 631 fs/xfs/xfs_trans_ail.c if (!lip || XFS_FORCED_SHUTDOWN(ailp->ail_mount) || ailp 632 fs/xfs/xfs_trans_ail.c XFS_LSN_CMP(threshold_lsn, ailp->ail_target) <= 0) ailp 640 fs/xfs/xfs_trans_ail.c xfs_trans_ail_copy_lsn(ailp, &ailp->ail_target, &threshold_lsn); ailp 643 fs/xfs/xfs_trans_ail.c wake_up_process(ailp->ail_task); ailp 651 fs/xfs/xfs_trans_ail.c struct xfs_ail *ailp) ailp 653 fs/xfs/xfs_trans_ail.c xfs_lsn_t threshold_lsn = xfs_ail_max_lsn(ailp); ailp 656 fs/xfs/xfs_trans_ail.c xfs_ail_push(ailp, threshold_lsn); ailp 664 fs/xfs/xfs_trans_ail.c struct xfs_ail *ailp) ailp 669 fs/xfs/xfs_trans_ail.c spin_lock(&ailp->ail_lock); ailp 670 fs/xfs/xfs_trans_ail.c while ((lip = xfs_ail_max(ailp)) != NULL) { ailp 671 fs/xfs/xfs_trans_ail.c prepare_to_wait(&ailp->ail_empty, &wait, TASK_UNINTERRUPTIBLE); ailp 672 fs/xfs/xfs_trans_ail.c ailp->ail_target = lip->li_lsn; ailp 673 fs/xfs/xfs_trans_ail.c wake_up_process(ailp->ail_task); ailp 674 fs/xfs/xfs_trans_ail.c spin_unlock(&ailp->ail_lock); ailp 676 fs/xfs/xfs_trans_ail.c spin_lock(&ailp->ail_lock); ailp 678 fs/xfs/xfs_trans_ail.c spin_unlock(&ailp->ail_lock); ailp 680 fs/xfs/xfs_trans_ail.c finish_wait(&ailp->ail_empty, &wait); ailp 707 fs/xfs/xfs_trans_ail.c struct xfs_ail *ailp, ailp 711 fs/xfs/xfs_trans_ail.c xfs_lsn_t lsn) __releases(ailp->ail_lock) ailp 719 fs/xfs/xfs_trans_ail.c mlip = xfs_ail_min(ailp); ailp 729 fs/xfs/xfs_trans_ail.c xfs_ail_delete(ailp, lip); ailp 740 fs/xfs/xfs_trans_ail.c xfs_ail_splice(ailp, cur, &tmp, lsn); ailp 743 fs/xfs/xfs_trans_ail.c if (!XFS_FORCED_SHUTDOWN(ailp->ail_mount)) ailp 744 fs/xfs/xfs_trans_ail.c xlog_assign_tail_lsn_locked(ailp->ail_mount); ailp 745 fs/xfs/xfs_trans_ail.c spin_unlock(&ailp->ail_lock); ailp 747 fs/xfs/xfs_trans_ail.c xfs_log_space_wake(ailp->ail_mount); ailp 749 fs/xfs/xfs_trans_ail.c spin_unlock(&ailp->ail_lock); ailp 755 fs/xfs/xfs_trans_ail.c struct xfs_ail *ailp, ailp 758 fs/xfs/xfs_trans_ail.c struct xfs_log_item *mlip = xfs_ail_min(ailp); ailp 761 fs/xfs/xfs_trans_ail.c xfs_ail_delete(ailp, lip); ailp 792 fs/xfs/xfs_trans_ail.c struct xfs_ail *ailp, ailp 794 fs/xfs/xfs_trans_ail.c int shutdown_type) __releases(ailp->ail_lock) ailp 796 fs/xfs/xfs_trans_ail.c struct xfs_mount *mp = ailp->ail_mount; ailp 800 fs/xfs/xfs_trans_ail.c spin_unlock(&ailp->ail_lock); ailp 810 fs/xfs/xfs_trans_ail.c mlip_changed = xfs_ail_delete_one(ailp, lip); ailp 814 fs/xfs/xfs_trans_ail.c if (list_empty(&ailp->ail_head)) ailp 815 fs/xfs/xfs_trans_ail.c wake_up_all(&ailp->ail_empty); ailp 818 fs/xfs/xfs_trans_ail.c spin_unlock(&ailp->ail_lock); ailp 820 fs/xfs/xfs_trans_ail.c xfs_log_space_wake(ailp->ail_mount); ailp 827 fs/xfs/xfs_trans_ail.c struct xfs_ail *ailp; ailp 829 fs/xfs/xfs_trans_ail.c ailp = kmem_zalloc(sizeof(struct xfs_ail), KM_MAYFAIL); ailp 830 fs/xfs/xfs_trans_ail.c if (!ailp) ailp 833 fs/xfs/xfs_trans_ail.c ailp->ail_mount = mp; ailp 834 fs/xfs/xfs_trans_ail.c INIT_LIST_HEAD(&ailp->ail_head); ailp 835 fs/xfs/xfs_trans_ail.c INIT_LIST_HEAD(&ailp->ail_cursors); ailp 836 fs/xfs/xfs_trans_ail.c spin_lock_init(&ailp->ail_lock); ailp 837 fs/xfs/xfs_trans_ail.c INIT_LIST_HEAD(&ailp->ail_buf_list); ailp 838 fs/xfs/xfs_trans_ail.c init_waitqueue_head(&ailp->ail_empty); ailp 840 fs/xfs/xfs_trans_ail.c ailp->ail_task = kthread_run(xfsaild, ailp, "xfsaild/%s", ailp 841 fs/xfs/xfs_trans_ail.c ailp->ail_mount->m_fsname); ailp 842 fs/xfs/xfs_trans_ail.c if (IS_ERR(ailp->ail_task)) ailp 845 fs/xfs/xfs_trans_ail.c mp->m_ail = ailp; ailp 849 fs/xfs/xfs_trans_ail.c kmem_free(ailp); ailp 857 fs/xfs/xfs_trans_ail.c struct xfs_ail *ailp = mp->m_ail; ailp 859 fs/xfs/xfs_trans_ail.c kthread_stop(ailp->ail_task); ailp 860 fs/xfs/xfs_trans_ail.c kmem_free(ailp); ailp 21 fs/xfs/xfs_trans_priv.h void xfs_trans_committed_bulk(struct xfs_ail *ailp, struct xfs_log_vec *lv, ailp 69 fs/xfs/xfs_trans_priv.h void xfs_trans_ail_update_bulk(struct xfs_ail *ailp, ailp 72 fs/xfs/xfs_trans_priv.h xfs_lsn_t lsn) __releases(ailp->ail_lock); ailp 79 fs/xfs/xfs_trans_priv.h struct xfs_ail *ailp) ailp 81 fs/xfs/xfs_trans_priv.h return list_first_entry_or_null(&ailp->ail_head, struct xfs_log_item, ailp 87 fs/xfs/xfs_trans_priv.h struct xfs_ail *ailp, ailp 89 fs/xfs/xfs_trans_priv.h xfs_lsn_t lsn) __releases(ailp->ail_lock) ailp 91 fs/xfs/xfs_trans_priv.h xfs_trans_ail_update_bulk(ailp, NULL, &lip, 1, lsn); ailp 94 fs/xfs/xfs_trans_priv.h bool xfs_ail_delete_one(struct xfs_ail *ailp, struct xfs_log_item *lip); ailp 95 fs/xfs/xfs_trans_priv.h void xfs_trans_ail_delete(struct xfs_ail *ailp, struct xfs_log_item *lip, ailp 96 fs/xfs/xfs_trans_priv.h int shutdown_type) __releases(ailp->ail_lock); ailp 103 fs/xfs/xfs_trans_priv.h struct xfs_ail *ailp = lip->li_ailp; ailp 105 fs/xfs/xfs_trans_priv.h spin_lock(&ailp->ail_lock); ailp 108 fs/xfs/xfs_trans_priv.h xfs_trans_ail_delete(ailp, lip, shutdown_type); ailp 110 fs/xfs/xfs_trans_priv.h spin_unlock(&ailp->ail_lock); ailp 116 fs/xfs/xfs_trans_priv.h struct xfs_log_item *xfs_ail_min(struct xfs_ail *ailp); ailp 117 fs/xfs/xfs_trans_priv.h xfs_lsn_t xfs_ail_min_lsn(struct xfs_ail *ailp); ailp 119 fs/xfs/xfs_trans_priv.h struct xfs_log_item * xfs_trans_ail_cursor_first(struct xfs_ail *ailp, ailp 122 fs/xfs/xfs_trans_priv.h struct xfs_log_item * xfs_trans_ail_cursor_last(struct xfs_ail *ailp, ailp 125 fs/xfs/xfs_trans_priv.h struct xfs_log_item * xfs_trans_ail_cursor_next(struct xfs_ail *ailp, ailp 132 fs/xfs/xfs_trans_priv.h struct xfs_ail *ailp, ailp 137 fs/xfs/xfs_trans_priv.h spin_lock(&ailp->ail_lock); ailp 139 fs/xfs/xfs_trans_priv.h spin_unlock(&ailp->ail_lock); ailp 144 fs/xfs/xfs_trans_priv.h struct xfs_ail *ailp,