Lines Matching refs:unix_sk
138 #define UNIX_ABSTRACT(sk) (unix_sk(sk)->addr->hash < UNIX_HASH_SIZE)
182 #define unix_peer(sk) (unix_sk(sk)->peer)
280 struct unix_sock *u = unix_sk(s); in __unix_find_socket_byname()
316 struct dentry *dentry = unix_sk(s)->path.dentry; in unix_find_socket_byinode()
362 __remove_wait_queue(&unix_sk(u->peer_wake.private)->peer_wait, in unix_dgram_peer_wake_relay()
379 u = unix_sk(sk); in unix_dgram_peer_wake_connect()
380 u_other = unix_sk(other); in unix_dgram_peer_wake_connect()
400 u = unix_sk(sk); in unix_dgram_peer_wake_disconnect()
401 u_other = unix_sk(other); in unix_dgram_peer_wake_disconnect()
470 wake_up_interruptible_all(&unix_sk(sk)->peer_wait); in unix_dgram_disconnected()
485 struct unix_sock *u = unix_sk(sk); in unix_sock_destructor()
512 struct unix_sock *u = unix_sk(sk); in unix_release_sock()
606 struct unix_sock *u = unix_sk(sk); in unix_listen()
662 struct unix_sock *u = unix_sk(sk); in unix_set_peek_off()
775 u = unix_sk(sk); in unix_create1()
844 struct unix_sock *u = unix_sk(sk); in unix_autobind()
941 dentry = unix_sk(u)->path.dentry; in unix_find_other()
943 touch_atime(&unix_sk(u)->path); in unix_find_other()
977 struct unix_sock *u = unix_sk(sk); in unix_bind()
1126 !unix_sk(sk)->addr && (err = unix_autobind(sock)) != 0) in unix_dgram_connect()
1187 struct unix_sock *u = unix_sk(other); in unix_wait_for_peer()
1212 struct unix_sock *u = unix_sk(sk), *newu, *otheru; in unix_stream_connect()
1333 newu = unix_sk(newsk); in unix_stream_connect()
1335 otheru = unix_sk(other); in unix_stream_connect()
1440 wake_up_interruptible(&unix_sk(sk)->peer_wait); in unix_accept()
1473 u = unix_sk(sk); in unix_getname()
1548 unix_sk(sk)->recursion_level); in unix_attach_fds()
1646 struct unix_sock *u = unix_sk(sk); in unix_dgram_sendmsg()
1825 if (max_level > unix_sk(other)->recursion_level) in unix_dgram_sendmsg()
1826 unix_sk(other)->recursion_level = max_level; in unix_dgram_sendmsg()
1931 if (max_level > unix_sk(other)->recursion_level) in unix_stream_sendmsg()
1932 unix_sk(other)->recursion_level = max_level; in unix_stream_sendmsg()
1974 mutex_unlock(&unix_sk(other)->readlock); in unix_stream_sendpage()
1984 err = mutex_lock_interruptible(&unix_sk(other)->readlock); in unix_stream_sendpage()
2051 mutex_unlock(&unix_sk(other)->readlock); in unix_stream_sendpage()
2060 mutex_unlock(&unix_sk(other)->readlock); in unix_stream_sendpage()
2102 struct unix_sock *u = unix_sk(sk); in unix_copy_addr()
2115 struct unix_sock *u = unix_sk(sk); in unix_dgram_recvmsg()
2266 struct unix_sock *u = unix_sk(sk); in unix_stream_read_generic()
2317 unix_sk(sk)->recursion_level = 0; in unix_stream_read_generic()
2490 struct unix_sock *u = unix_sk(sk); in skb_unix_socket_splice()
2810 struct unix_sock *u = unix_sk(s); in unix_seq_show()