Lines Matching refs:res_lock
94 ** tightening the use of res_lock the resource bitmap and actual pdir are no
211 spinlock_t res_lock; /* protects the resource bitmap, but must be held when */
220 /* than res_lock for bigger systems. */
502 spin_lock_irqsave(&ioc->res_lock, flags);
612 spin_unlock_irqrestore(&ioc->res_lock, flags);
617 spin_unlock_irqrestore(&ioc->res_lock, flags);
667 spin_lock(&ioc->res_lock);
675 spin_unlock(&ioc->res_lock);
960 spin_lock_irqsave(&ioc->res_lock, flags);
963 spin_unlock_irqrestore(&ioc->res_lock, flags);
991 spin_lock_irqsave(&ioc->res_lock, flags);
993 spin_unlock_irqrestore(&ioc->res_lock, flags);
1089 spin_lock(&ioc->res_lock);
1097 spin_unlock(&ioc->res_lock);
1101 spin_lock_irqsave(&ioc->res_lock, flags);
1105 spin_unlock_irqrestore(&ioc->res_lock, flags);
1484 spin_lock_irqsave(&ioc->res_lock, flags);
1490 spin_unlock_irqrestore(&ioc->res_lock, flags);
1520 spin_lock_irqsave(&ioc->res_lock, flags);
1526 spin_unlock_irqrestore(&ioc->res_lock, flags);
1561 spin_lock_irqsave(&ioc->res_lock, flags);
1563 spin_unlock_irqrestore(&ioc->res_lock, flags);
1577 spin_lock_irqsave(&ioc->res_lock, flags);
1579 spin_unlock_irqrestore(&ioc->res_lock, flags);
1698 spin_lock_init(&ioc->res_lock);