Home
last modified time | relevance | path

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

/drivers/usb/class/
Dcdc-wdm.c92 struct mutex rlock; member
386 rv = mutex_lock_interruptible(&desc->rlock); /*concurrent reads */ in wdm_read()
451 mutex_unlock(&desc->rlock); in wdm_read()
644 mutex_init(&desc->rlock); in wdm_probe()
/drivers/net/wan/
Dcosa.c125 struct mutex rlock; member
567 mutex_init(&chan->rlock); in cosa_probe()
794 if (mutex_lock_interruptible(&chan->rlock)) in cosa_read()
799 mutex_unlock(&chan->rlock); in cosa_read()
817 mutex_unlock(&chan->rlock); in cosa_read()
826 mutex_unlock(&chan->rlock); in cosa_read()
/drivers/net/
Dppp_generic.c103 spinlock_t rlock; /* lock for receive side 58 */ member
325 #define ppp_recv_lock(ppp) spin_lock_bh(&(ppp)->rlock)
326 #define ppp_recv_unlock(ppp) spin_unlock_bh(&(ppp)->rlock)
2417 spin_lock_init(&ppp->rlock); in ppp_create_interface()