Lines Matching refs:res_lock
89 ** tightening the use of res_lock the resource bitmap and actual pdir are no
206 spinlock_t res_lock; /* protects the resource bitmap, but must be held when */
215 /* than res_lock for bigger systems. */
480 spin_lock_irqsave(&ioc->res_lock, flags);
586 spin_unlock_irqrestore(&ioc->res_lock, flags);
591 spin_unlock_irqrestore(&ioc->res_lock, flags);
641 spin_lock(&ioc->res_lock);
649 spin_unlock(&ioc->res_lock);
922 spin_lock_irqsave(&ioc->res_lock, flags);
925 spin_unlock_irqrestore(&ioc->res_lock, flags);
952 spin_lock_irqsave(&ioc->res_lock, flags);
954 spin_unlock_irqrestore(&ioc->res_lock, flags);
1040 spin_lock(&ioc->res_lock);
1048 spin_unlock(&ioc->res_lock);
1052 spin_lock_irqsave(&ioc->res_lock, flags);
1056 spin_unlock_irqrestore(&ioc->res_lock, flags);
1414 spin_lock_irqsave(&ioc->res_lock, flags);
1420 spin_unlock_irqrestore(&ioc->res_lock, flags);
1446 spin_lock_irqsave(&ioc->res_lock, flags);
1452 spin_unlock_irqrestore(&ioc->res_lock, flags);
1485 spin_lock_irqsave(&ioc->res_lock, flags);
1487 spin_unlock_irqrestore(&ioc->res_lock, flags);
1500 spin_lock_irqsave(&ioc->res_lock, flags);
1502 spin_unlock_irqrestore(&ioc->res_lock, flags);
1621 spin_lock_init(&ioc->res_lock);