Lines Matching defs:lock
114 spinlock_t lock;
182 spinlock_t lock; /* for from, to */
193 .lock = __SPIN_LOCK_UNLOCKED(mc.lock),
663 spin_lock_irqsave(&mctz->lock, flags);
665 spin_unlock_irqrestore(&mctz->lock, flags);
711 spin_lock_irqsave(&mctz->lock, flags);
720 spin_unlock_irqrestore(&mctz->lock, flags);
769 spin_lock_irq(&mctz->lock);
771 spin_unlock_irq(&mctz->lock);
1488 spin_lock(&mc.lock);
1497 spin_unlock(&mc.lock);
1840 * so we cannot give a lock.
1851 * OK, we failed to lock the whole subtree so we have
2065 * There is no guarantee that an OOM-lock contender
2142 * lock_page_memcg - lock a page->mem_cgroup binding
2159 * The RCU lock is held throughout the transaction. The fast
2163 * The RCU lock also protects the memcg from being freed when
2190 * the task who has the lock for unlock_page_memcg().
2910 * - the page lock
3439 * is empty. Do it lockless to prevent lock bouncing. Races
3463 spin_lock_irq(&mctz->lock);
3485 spin_unlock_irq(&mctz->lock);
3783 * ordering is imposed by list_lru_node->lock taken by
4853 * Called with wqh->lock held and interrupts disabled.
4870 * side will require wqh->lock via remove_wait_queue(),
5829 * Note that lock_page_memcg is a memcg lock, not a page lock,
5880 * Called with pte lock held.
6077 spin_lock(&mc.lock);
6081 spin_unlock(&mc.lock);
6139 spin_lock(&mc.lock);
6144 spin_unlock(&mc.lock);
6895 * by the page lock, which serializes swap cache removal, which
7251 * context because of lock dependencies (cgroup_lock -> cpu hotplug) but
7274 spin_lock_init(&rtpn->lock);
7354 * i_pages lock which is taken with interrupts-off. It is