Lines Matching defs:lock
171 * CONDITION test and condition change and wakeup are under the same lock) then
288 * @lock: protects the above two fields
297 raw_spinlock_t lock;
1072 * - lock it with task_lock()
1137 /* Updated under owner's pi_lock and rq lock */
2031 extern int __cond_resched_lock(spinlock_t *lock);
2033 #define cond_resched_lock(lock) \
2036 __cond_resched_lock(lock); \
2053 static inline int spin_needbreak(spinlock_t *lock)
2056 return spin_is_contended(lock);
2097 * In order to reduce various lock holder preemption latencies provide an
2101 * the native optimistic spin heuristic of testing if the lock owner task is