Home
last modified time | relevance | path

Searched refs:rlock (Results 1 – 5 of 5) sorted by relevance

/linux-2.6.39/include/linux/
Dspinlock.h274 return &lock->rlock; in spinlock_check()
280 raw_spin_lock_init(&(_lock)->rlock); \
285 raw_spin_lock(&lock->rlock); in spin_lock()
290 raw_spin_lock_bh(&lock->rlock); in spin_lock_bh()
295 return raw_spin_trylock(&lock->rlock); in spin_trylock()
310 raw_spin_lock_irq(&lock->rlock); in spin_lock_irq()
325 raw_spin_unlock(&lock->rlock); in spin_unlock()
330 raw_spin_unlock_bh(&lock->rlock); in spin_unlock_bh()
335 raw_spin_unlock_irq(&lock->rlock); in spin_unlock_irq()
340 raw_spin_unlock_irqrestore(&lock->rlock, flags); in spin_unlock_irqrestore()
[all …]
Dspinlock_types.h66 struct raw_spinlock rlock; member
79 { { .rlock = __RAW_SPIN_LOCK_INITIALIZER(lockname) } }
/linux-2.6.39/kernel/
Dmutex-debug.h46 arch_spin_lock(&(lock)->rlock.raw_lock);\
52 arch_spin_unlock(&(lock)->rlock.raw_lock); \
/linux-2.6.39/drivers/net/wan/
Dcosa.c125 struct mutex rlock; member
577 mutex_init(&chan->rlock); in cosa_probe()
801 if (mutex_lock_interruptible(&chan->rlock)) in cosa_read()
806 mutex_unlock(&chan->rlock); in cosa_read()
824 mutex_unlock(&chan->rlock); in cosa_read()
833 mutex_unlock(&chan->rlock); in cosa_read()
/linux-2.6.39/drivers/net/
Dppp_generic.c107 spinlock_t rlock; /* lock for receive side 58 */ member
350 #define ppp_recv_lock(ppp) spin_lock_bh(&(ppp)->rlock)
351 #define ppp_recv_unlock(ppp) spin_unlock_bh(&(ppp)->rlock)
2595 spin_lock_init(&ppp->rlock); in ppp_create_interface()