Searched refs:rlock (Results 1 - 9 of 9) sorted by relevance

/linux-4.1.27/include/linux/
H A Dspinlock.h301 return &lock->rlock; spinlock_check()
307 raw_spin_lock_init(&(_lock)->rlock); \
312 raw_spin_lock(&lock->rlock); spin_lock()
317 raw_spin_lock_bh(&lock->rlock); spin_lock_bh()
322 return raw_spin_trylock(&lock->rlock); spin_trylock()
342 raw_spin_lock_irq(&lock->rlock); spin_lock_irq()
357 raw_spin_unlock(&lock->rlock); spin_unlock()
362 raw_spin_unlock_bh(&lock->rlock); spin_unlock_bh()
367 raw_spin_unlock_irq(&lock->rlock); spin_unlock_irq()
372 raw_spin_unlock_irqrestore(&lock->rlock, flags); spin_unlock_irqrestore()
377 return raw_spin_trylock_bh(&lock->rlock); spin_trylock_bh()
382 return raw_spin_trylock_irq(&lock->rlock); spin_trylock_irq()
392 raw_spin_unlock_wait(&lock->rlock); spin_unlock_wait()
397 return raw_spin_is_locked(&lock->rlock); spin_is_locked()
402 return raw_spin_is_contended(&lock->rlock); spin_is_contended()
407 return raw_spin_can_lock(&lock->rlock); spin_can_lock()
410 #define assert_spin_locked(lock) assert_raw_spin_locked(&(lock)->rlock)
H A Dspinlock_types.h66 struct raw_spinlock rlock; member in union:spinlock::__anon12447
79 { { .rlock = __RAW_SPIN_LOCK_INITIALIZER(lockname) } }
/linux-4.1.27/kernel/locking/
H A Dmutex-debug.h46 arch_spin_lock(&(lock)->rlock.raw_lock);\
52 arch_spin_unlock(&(lock)->rlock.raw_lock); \
/linux-4.1.27/drivers/clk/st/
H A Dclk-flexgen.c270 spinlock_t *rlock = NULL; st_of_flexgen_setup() local
302 rlock = kzalloc(sizeof(spinlock_t), GFP_KERNEL); st_of_flexgen_setup()
303 if (!rlock) st_of_flexgen_setup()
306 spin_lock_init(rlock); st_of_flexgen_setup()
324 reg, rlock, i, flex_flags); st_of_flexgen_setup()
342 kfree(rlock); st_of_flexgen_setup()
/linux-4.1.27/lib/
H A Dlocking-selftest.c258 #include "locking-selftest-rlock.h"
339 #include "locking-selftest-rlock.h"
367 #include "locking-selftest-rlock.h"
395 #include "locking-selftest-rlock.h"
424 #include "locking-selftest-rlock.h"
452 #include "locking-selftest-rlock.h"
480 #include "locking-selftest-rlock.h"
507 #include "locking-selftest-rlock.h"
535 #include "locking-selftest-rlock.h"
561 #include "locking-selftest-rlock.h"
593 #include "locking-selftest-rlock-hardirq.h"
602 #include "locking-selftest-rlock-softirq.h"
637 #include "locking-selftest-rlock.h"
666 #include "locking-selftest-rlock-hardirq.h"
675 #include "locking-selftest-rlock-softirq.h"
712 #include "locking-selftest-rlock-hardirq.h"
721 #include "locking-selftest-rlock-softirq.h"
760 #include "locking-selftest-rlock-hardirq.h"
769 #include "locking-selftest-rlock-softirq.h"
822 #include "locking-selftest-rlock-hardirq.h"
831 #include "locking-selftest-rlock-softirq.h"
1813 printk(" | spin |wlock |rlock |mutex | wsem | rsem |\n"); locking_selftest()
H A Dlockref.c22 while (likely(arch_spin_value_unlocked(old.lock.rlock.raw_lock))) { \
/linux-4.1.27/drivers/usb/class/
H A Dcdc-wdm.c99 struct mutex rlock; member in struct:wdm_device
478 rv = mutex_lock_interruptible(&desc->rlock); /*concurrent reads */ wdm_read()
572 mutex_unlock(&desc->rlock); wdm_read()
765 mutex_init(&desc->rlock); wdm_create()
975 mutex_lock(&desc->rlock); wdm_disconnect()
980 mutex_unlock(&desc->rlock); wdm_disconnect()
1004 mutex_lock(&desc->rlock); wdm_suspend()
1024 mutex_unlock(&desc->rlock); wdm_suspend()
1076 mutex_lock(&desc->rlock); wdm_pre_reset()
1092 mutex_unlock(&desc->rlock); wdm_post_reset()
/linux-4.1.27/drivers/net/wan/
H A Dcosa.c127 struct mutex rlock; member in struct:channel_data
576 mutex_init(&chan->rlock); cosa_probe()
797 if (mutex_lock_interruptible(&chan->rlock)) cosa_read()
802 mutex_unlock(&chan->rlock); cosa_read()
820 mutex_unlock(&chan->rlock); cosa_read()
829 mutex_unlock(&chan->rlock); cosa_read()
/linux-4.1.27/drivers/net/ppp/
H A Dppp_generic.c119 spinlock_t rlock; /* lock for receive side 58 */ member in struct:ppp
188 * Both the ppp.rlock and ppp.wlock locks protect the ppp.channels
191 * The lock ordering is: channel.upl -> ppp.wlock -> ppp.rlock ->
362 #define ppp_recv_lock(ppp) spin_lock_bh(&(ppp)->rlock)
363 #define ppp_recv_unlock(ppp) spin_unlock_bh(&(ppp)->rlock)
2692 spin_lock_init(&ppp->rlock); ppp_create_interface()

Completed in 243 milliseconds