Lines Matching refs:io_lock

235 	spinlock_t *io_lock = NULL;  in snic_issue_scsi_req()  local
267 io_lock = snic_io_lock_hash(snic, sc); in snic_issue_scsi_req()
276 spin_lock_irqsave(io_lock, flags); in snic_issue_scsi_req()
281 spin_unlock_irqrestore(io_lock, flags); in snic_issue_scsi_req()
541 spinlock_t *io_lock; in snic_icmnd_cmpl_handler() local
578 io_lock = snic_io_lock_hash(snic, sc); in snic_icmnd_cmpl_handler()
580 spin_lock_irqsave(io_lock, flags); in snic_icmnd_cmpl_handler()
588 spin_unlock_irqrestore(io_lock, flags); in snic_icmnd_cmpl_handler()
598 spin_unlock_irqrestore(io_lock, flags); in snic_icmnd_cmpl_handler()
619 spin_unlock_irqrestore(io_lock, flags); in snic_icmnd_cmpl_handler()
653 spin_unlock_irqrestore(io_lock, flags); in snic_icmnd_cmpl_handler()
766 spinlock_t *io_lock = NULL; in snic_process_itmf_cmpl() local
771 io_lock = snic_io_lock_hash(snic, sc); in snic_process_itmf_cmpl()
772 spin_lock_irqsave(io_lock, flags); in snic_process_itmf_cmpl()
774 spin_unlock_irqrestore(io_lock, flags); in snic_process_itmf_cmpl()
783 spin_unlock_irqrestore(io_lock, flags); in snic_process_itmf_cmpl()
807 spin_unlock_irqrestore(io_lock, flags); in snic_process_itmf_cmpl()
828 spin_unlock_irqrestore(io_lock, flags); in snic_process_itmf_cmpl()
839 spin_unlock_irqrestore(io_lock, flags); in snic_process_itmf_cmpl()
855 spin_unlock_irqrestore(io_lock, flags); in snic_process_itmf_cmpl()
875 spin_unlock_irqrestore(io_lock, flags); in snic_process_itmf_cmpl()
880 spin_unlock_irqrestore(io_lock, flags); in snic_process_itmf_cmpl()
994 spinlock_t *io_lock = NULL; in snic_hba_reset_cmpl_handler() local
1043 io_lock = snic_io_lock_hash(snic, sc); in snic_hba_reset_cmpl_handler()
1044 spin_lock_irqsave(io_lock, flags); in snic_hba_reset_cmpl_handler()
1047 spin_unlock_irqrestore(io_lock, flags); in snic_hba_reset_cmpl_handler()
1060 spin_unlock_irqrestore(io_lock, flags); in snic_hba_reset_cmpl_handler()
1072 spin_unlock_irqrestore(io_lock, flags); in snic_hba_reset_cmpl_handler()
1081 spin_lock_irqsave(io_lock, flags); in snic_hba_reset_cmpl_handler()
1090 spin_unlock_irqrestore(io_lock, flags); in snic_hba_reset_cmpl_handler()
1415 spinlock_t *io_lock = NULL; in snic_abort_finish() local
1419 io_lock = snic_io_lock_hash(snic, sc); in snic_abort_finish()
1420 spin_lock_irqsave(io_lock, flags); in snic_abort_finish()
1478 spin_unlock_irqrestore(io_lock, flags); in snic_abort_finish()
1494 spinlock_t *io_lock = NULL; in snic_send_abort_and_wait() local
1507 io_lock = snic_io_lock_hash(snic, sc); in snic_send_abort_and_wait()
1521 spin_lock_irqsave(io_lock, flags); in snic_send_abort_and_wait()
1524 spin_unlock_irqrestore(io_lock, flags); in snic_send_abort_and_wait()
1537 spin_unlock_irqrestore(io_lock, flags); in snic_send_abort_and_wait()
1558 spin_unlock_irqrestore(io_lock, flags); in snic_send_abort_and_wait()
1568 spin_lock_irqsave(io_lock, flags); in snic_send_abort_and_wait()
1574 spin_unlock_irqrestore(io_lock, flags); in snic_send_abort_and_wait()
1580 spin_lock_irqsave(io_lock, flags); in snic_send_abort_and_wait()
1588 spin_unlock_irqrestore(io_lock, flags); in snic_send_abort_and_wait()
1661 spinlock_t *io_lock = NULL; in snic_is_abts_pending() local
1670 io_lock = snic_io_lock_tag(snic, tag); in snic_is_abts_pending()
1672 spin_lock_irqsave(io_lock, flags); in snic_is_abts_pending()
1676 spin_unlock_irqrestore(io_lock, flags); in snic_is_abts_pending()
1683 spin_unlock_irqrestore(io_lock, flags); in snic_is_abts_pending()
1696 spin_unlock_irqrestore(io_lock, flags); in snic_is_abts_pending()
1701 spin_unlock_irqrestore(io_lock, flags); in snic_is_abts_pending()
1715 spinlock_t *io_lock = NULL; in snic_dr_clean_single_req() local
1721 io_lock = snic_io_lock_tag(snic, tag); in snic_dr_clean_single_req()
1722 spin_lock_irqsave(io_lock, flags); in snic_dr_clean_single_req()
1776 spin_unlock_irqrestore(io_lock, flags); in snic_dr_clean_single_req()
1791 spin_lock_irqsave(io_lock, flags); in snic_dr_clean_single_req()
1804 spin_lock_irqsave(io_lock, flags); in snic_dr_clean_single_req()
1809 spin_unlock_irqrestore(io_lock, flags); in snic_dr_clean_single_req()
1814 spin_lock_irqsave(io_lock, flags); in snic_dr_clean_single_req()
1836 spin_unlock_irqrestore(io_lock, flags); in snic_dr_clean_single_req()
1848 spin_unlock_irqrestore(io_lock, flags); in snic_dr_clean_single_req()
1903 spinlock_t *io_lock = NULL; in snic_dr_finish() local
1908 io_lock = snic_io_lock_hash(snic, sc); in snic_dr_finish()
1909 spin_lock_irqsave(io_lock, flags); in snic_dr_finish()
1912 spin_unlock_irqrestore(io_lock, flags); in snic_dr_finish()
1952 spin_unlock_irqrestore(io_lock, flags); in snic_dr_finish()
1964 spin_lock_irqsave(io_lock, flags); in snic_dr_finish()
1973 spin_lock_irqsave(io_lock, flags); in snic_dr_finish()
1982 lockdep_assert_held(io_lock); in snic_dr_finish()
1985 spin_unlock_irqrestore(io_lock, flags); in snic_dr_finish()
2010 spinlock_t *io_lock = NULL; in snic_send_dr_and_wait() local
2015 io_lock = snic_io_lock_hash(snic, sc); in snic_send_dr_and_wait()
2016 spin_lock_irqsave(io_lock, flags); in snic_send_dr_and_wait()
2023 spin_unlock_irqrestore(io_lock, flags); in snic_send_dr_and_wait()
2040 spin_unlock_irqrestore(io_lock, flags); in snic_send_dr_and_wait()
2054 spin_lock_irqsave(io_lock, flags); in snic_send_dr_and_wait()
2061 spin_unlock_irqrestore(io_lock, flags); in snic_send_dr_and_wait()
2067 spin_lock_irqsave(io_lock, flags); in snic_send_dr_and_wait()
2069 spin_unlock_irqrestore(io_lock, flags); in snic_send_dr_and_wait()
2098 spinlock_t *io_lock = NULL; in snic_unlink_and_release_req() local
2102 io_lock = snic_io_lock_hash(snic, sc); in snic_unlink_and_release_req()
2103 spin_lock_irqsave(io_lock, flags); in snic_unlink_and_release_req()
2111 spin_unlock_irqrestore(io_lock, flags); in snic_unlink_and_release_req()
2215 spinlock_t *io_lock = NULL; in snic_issue_hba_reset() local
2236 io_lock = snic_io_lock_hash(snic, sc); in snic_issue_hba_reset()
2237 spin_lock_irqsave(io_lock, flags); in snic_issue_hba_reset()
2243 spin_unlock_irqrestore(io_lock, flags); in snic_issue_hba_reset()
2260 spin_lock_irqsave(io_lock, flags); in snic_issue_hba_reset()
2262 spin_unlock_irqrestore(io_lock, flags); in snic_issue_hba_reset()
2276 spin_lock_irqsave(io_lock, flags); in snic_issue_hba_reset()
2280 spin_unlock_irqrestore(io_lock, flags); in snic_issue_hba_reset()
2290 spin_lock_irqsave(io_lock, flags); in snic_issue_hba_reset()
2294 spin_unlock_irqrestore(io_lock, flags); in snic_issue_hba_reset()
2422 spinlock_t *io_lock = NULL; in snic_scsi_cleanup() local
2434 io_lock = snic_io_lock_tag(snic, tag); in snic_scsi_cleanup()
2435 spin_lock_irqsave(io_lock, flags); in snic_scsi_cleanup()
2438 spin_unlock_irqrestore(io_lock, flags); in snic_scsi_cleanup()
2449 spin_unlock_irqrestore(io_lock, flags); in snic_scsi_cleanup()
2456 spin_unlock_irqrestore(io_lock, flags); in snic_scsi_cleanup()
2467 spin_unlock_irqrestore(io_lock, flags); in snic_scsi_cleanup()
2511 spinlock_t *io_lock = NULL; in snic_internal_abort_io() local
2516 io_lock = snic_io_lock_hash(snic, sc); in snic_internal_abort_io()
2517 spin_lock_irqsave(io_lock, flags); in snic_internal_abort_io()
2558 spin_unlock_irqrestore(io_lock, flags); in snic_internal_abort_io()
2566 spin_lock_irqsave(io_lock, flags); in snic_internal_abort_io()
2574 spin_lock_irqsave(io_lock, flags); in snic_internal_abort_io()
2583 lockdep_assert_held(io_lock); in snic_internal_abort_io()
2584 spin_unlock_irqrestore(io_lock, flags); in snic_internal_abort_io()
2598 spinlock_t *io_lock = NULL; in snic_tgt_scsi_abort_io() local
2614 io_lock = snic_io_lock_tag(snic, tag); in snic_tgt_scsi_abort_io()
2616 spin_lock_irqsave(io_lock, flags); in snic_tgt_scsi_abort_io()
2619 spin_unlock_irqrestore(io_lock, flags); in snic_tgt_scsi_abort_io()
2626 spin_unlock_irqrestore(io_lock, flags); in snic_tgt_scsi_abort_io()
2630 spin_unlock_irqrestore(io_lock, flags); in snic_tgt_scsi_abort_io()