Lines Matching refs:readlock
531 if (mutex_lock_interruptible(&u->readlock)) in unix_set_peek_off()
535 mutex_unlock(&u->readlock); in unix_set_peek_off()
647 mutex_init(&u->readlock); /* single task reading lock */ in unix_create1()
715 err = mutex_lock_interruptible(&u->readlock); in unix_autobind()
762 out: mutex_unlock(&u->readlock); in unix_autobind()
850 err = mutex_lock_interruptible(&u->readlock); in unix_bind()
927 mutex_unlock(&u->readlock); in unix_bind()
1789 err = mutex_lock_interruptible(&u->readlock); in unix_dgram_recvmsg()
1867 mutex_unlock(&u->readlock); in unix_dgram_recvmsg()
1943 err = mutex_lock_interruptible(&u->readlock); in unix_stream_recvmsg()
1980 mutex_unlock(&u->readlock); in unix_stream_recvmsg()
1985 || mutex_lock_interruptible(&u->readlock)) { in unix_stream_recvmsg()
2059 mutex_unlock(&u->readlock); in unix_stream_recvmsg()