Searched refs:break_lock (Results 1 - 4 of 4) sorted by relevance

/linux-4.1.27/include/linux/
H A Drwlock_types.h14 unsigned int break_lock; member in struct:__anon12405
H A Dspinlock_types.h23 unsigned int break_lock; member in struct:raw_spinlock
H A Dspinlock.h110 #define raw_spin_is_contended(lock) ((lock)->break_lock)
/linux-4.1.27/kernel/locking/
H A Dspinlock.c69 if (!(lock)->break_lock) \
70 (lock)->break_lock = 1; \
71 while (!raw_##op##_can_lock(lock) && (lock)->break_lock)\
74 (lock)->break_lock = 0; \
89 if (!(lock)->break_lock) \
90 (lock)->break_lock = 1; \
91 while (!raw_##op##_can_lock(lock) && (lock)->break_lock)\
94 (lock)->break_lock = 0; \

Completed in 98 milliseconds