Lines Matching defs:lock
31 if (gate->lock)
32 spin_lock_irqsave(gate->lock, flags);
39 if (gate->lock)
40 spin_unlock_irqrestore(gate->lock, flags);
57 if (gate->lock)
58 spin_lock_irqsave(gate->lock, flags);
65 if (gate->lock)
66 spin_unlock_irqrestore(gate->lock, flags);
75 if (gate->lock)
76 spin_lock_irqsave(gate->lock, flags);
80 if (gate->lock)
81 spin_unlock_irqrestore(gate->lock, flags);
95 unsigned int gate_flags, spinlock_t *lock)
118 gate->lock = lock;