Lines Matching refs:lock
11 * a lock to protect its internal state. At initialisation time, the client
95 spinlock_t lock; /* Lock to protect this struct. */
224 * We get called holding the mru->lock, which we drop and then reacquire.
230 __releases(mru->lock) __acquires(mru->lock)
243 * needing to hold the lock
247 spin_unlock(&mru->lock);
254 spin_lock(&mru->lock);
276 spin_lock(&mru->lock);
290 spin_unlock(&mru->lock);
358 spin_lock_init(&mru->lock);
388 spin_lock(&mru->lock);
390 spin_unlock(&mru->lock);
392 spin_lock(&mru->lock);
398 spin_unlock(&mru->lock);
437 spin_lock(&mru->lock);
442 spin_unlock(&mru->lock);
464 spin_lock(&mru->lock);
468 spin_unlock(&mru->lock);
505 * Because sparse isn't smart enough to know about conditional lock return
507 * not release the lock.
520 spin_lock(&mru->lock);
527 spin_unlock(&mru->lock);
540 __releases(mru->lock)
542 spin_unlock(&mru->lock);