Lines Matching refs:io_lock
235 spinlock_t *io_lock = NULL;
267 io_lock = snic_io_lock_hash(snic, sc);
276 spin_lock_irqsave(io_lock, flags);
281 spin_unlock_irqrestore(io_lock, flags);
481 * Caller should hold io_lock
536 spinlock_t *io_lock;
573 io_lock = snic_io_lock_hash(snic, sc);
575 spin_lock_irqsave(io_lock, flags);
583 spin_unlock_irqrestore(io_lock, flags);
593 spin_unlock_irqrestore(io_lock, flags);
614 spin_unlock_irqrestore(io_lock, flags);
648 spin_unlock_irqrestore(io_lock, flags);
761 spinlock_t *io_lock = NULL;
766 io_lock = snic_io_lock_hash(snic, sc);
767 spin_lock_irqsave(io_lock, flags);
769 spin_unlock_irqrestore(io_lock, flags);
778 spin_unlock_irqrestore(io_lock, flags);
802 spin_unlock_irqrestore(io_lock, flags);
823 spin_unlock_irqrestore(io_lock, flags);
834 spin_unlock_irqrestore(io_lock, flags);
850 spin_unlock_irqrestore(io_lock, flags);
870 spin_unlock_irqrestore(io_lock, flags);
875 spin_unlock_irqrestore(io_lock, flags);
989 spinlock_t *io_lock = NULL;
1038 io_lock = snic_io_lock_hash(snic, sc);
1039 spin_lock_irqsave(io_lock, flags);
1042 spin_unlock_irqrestore(io_lock, flags);
1055 spin_unlock_irqrestore(io_lock, flags);
1067 spin_unlock_irqrestore(io_lock, flags);
1076 spin_lock_irqsave(io_lock, flags);
1085 spin_unlock_irqrestore(io_lock, flags);
1410 spinlock_t *io_lock = NULL;
1414 io_lock = snic_io_lock_hash(snic, sc);
1415 spin_lock_irqsave(io_lock, flags);
1473 spin_unlock_irqrestore(io_lock, flags);
1489 spinlock_t *io_lock = NULL;
1502 io_lock = snic_io_lock_hash(snic, sc);
1514 * The CMD_SP will not be cleared except while holding io_lock
1516 spin_lock_irqsave(io_lock, flags);
1519 spin_unlock_irqrestore(io_lock, flags);
1532 spin_unlock_irqrestore(io_lock, flags);
1553 spin_unlock_irqrestore(io_lock, flags);
1563 spin_lock_irqsave(io_lock, flags);
1569 spin_unlock_irqrestore(io_lock, flags);
1575 spin_lock_irqsave(io_lock, flags);
1583 spin_unlock_irqrestore(io_lock, flags);
1656 spinlock_t *io_lock = NULL;
1665 io_lock = snic_io_lock_tag(snic, tag);
1667 spin_lock_irqsave(io_lock, flags);
1671 spin_unlock_irqrestore(io_lock, flags);
1678 spin_unlock_irqrestore(io_lock, flags);
1691 spin_unlock_irqrestore(io_lock, flags);
1696 spin_unlock_irqrestore(io_lock, flags);
1710 spinlock_t *io_lock = NULL;
1716 io_lock = snic_io_lock_tag(snic, tag);
1717 spin_lock_irqsave(io_lock, flags);
1771 spin_unlock_irqrestore(io_lock, flags);
1786 spin_lock_irqsave(io_lock, flags);
1799 spin_lock_irqsave(io_lock, flags);
1804 spin_unlock_irqrestore(io_lock, flags);
1809 spin_lock_irqsave(io_lock, flags);
1831 spin_unlock_irqrestore(io_lock, flags);
1843 spin_unlock_irqrestore(io_lock, flags);
1898 spinlock_t *io_lock = NULL;
1903 io_lock = snic_io_lock_hash(snic, sc);
1904 spin_lock_irqsave(io_lock, flags);
1907 spin_unlock_irqrestore(io_lock, flags);
1947 spin_unlock_irqrestore(io_lock, flags);
1959 spin_lock_irqsave(io_lock, flags);
1968 spin_lock_irqsave(io_lock, flags);
1977 lockdep_assert_held(io_lock);
1980 spin_unlock_irqrestore(io_lock, flags);
2005 spinlock_t *io_lock = NULL;
2010 io_lock = snic_io_lock_hash(snic, sc);
2011 spin_lock_irqsave(io_lock, flags);
2018 spin_unlock_irqrestore(io_lock, flags);
2035 spin_unlock_irqrestore(io_lock, flags);
2049 spin_lock_irqsave(io_lock, flags);
2056 spin_unlock_irqrestore(io_lock, flags);
2062 spin_lock_irqsave(io_lock, flags);
2064 spin_unlock_irqrestore(io_lock, flags);
2093 spinlock_t *io_lock = NULL;
2097 io_lock = snic_io_lock_hash(snic, sc);
2098 spin_lock_irqsave(io_lock, flags);
2106 spin_unlock_irqrestore(io_lock, flags);
2210 spinlock_t *io_lock = NULL;
2231 io_lock = snic_io_lock_hash(snic, sc);
2232 spin_lock_irqsave(io_lock, flags);
2238 spin_unlock_irqrestore(io_lock, flags);
2255 spin_lock_irqsave(io_lock, flags);
2257 spin_unlock_irqrestore(io_lock, flags);
2271 spin_lock_irqsave(io_lock, flags);
2275 spin_unlock_irqrestore(io_lock, flags);
2285 spin_lock_irqsave(io_lock, flags);
2289 spin_unlock_irqrestore(io_lock, flags);
2381 * snic_cmpl_pending_tmreq : Caller should hold io_lock
2417 spinlock_t *io_lock = NULL;
2429 io_lock = snic_io_lock_tag(snic, tag);
2430 spin_lock_irqsave(io_lock, flags);
2433 spin_unlock_irqrestore(io_lock, flags);
2444 spin_unlock_irqrestore(io_lock, flags);
2451 spin_unlock_irqrestore(io_lock, flags);
2462 spin_unlock_irqrestore(io_lock, flags);
2506 spinlock_t *io_lock = NULL;
2511 io_lock = snic_io_lock_hash(snic, sc);
2512 spin_lock_irqsave(io_lock, flags);
2553 spin_unlock_irqrestore(io_lock, flags);
2561 spin_lock_irqsave(io_lock, flags);
2569 spin_lock_irqsave(io_lock, flags);
2578 lockdep_assert_held(io_lock);
2579 spin_unlock_irqrestore(io_lock, flags);
2593 spinlock_t *io_lock = NULL;
2609 io_lock = snic_io_lock_tag(snic, tag);
2611 spin_lock_irqsave(io_lock, flags);
2614 spin_unlock_irqrestore(io_lock, flags);
2621 spin_unlock_irqrestore(io_lock, flags);
2625 spin_unlock_irqrestore(io_lock, flags);