Lines Matching refs:unix_peer
183 #define unix_peer(sk) (unix_sk(sk)->peer) macro
187 return unix_peer(osk) == sk; in unix_our_peer()
192 return unix_peer(osk) == NULL || unix_our_peer(sk, osk); in unix_may_send()
205 peer = unix_peer(s); in unix_peer_get()
482 if (!sock_flag(other, SOCK_DEAD) && unix_peer(other) == sk) { in unix_dgram_disconnected()
539 skpair = unix_peer(sk); in unix_release_sock()
555 unix_peer(sk) = NULL; in unix_release_sock()
1157 if (unix_peer(sk)) { in unix_dgram_connect()
1158 struct sock *old_peer = unix_peer(sk); in unix_dgram_connect()
1159 unix_peer(sk) = other; in unix_dgram_connect()
1168 unix_peer(sk) = other; in unix_dgram_connect()
1324 unix_peer(newsk) = sk; in unix_stream_connect()
1350 unix_peer(sk) = newsk; in unix_stream_connect()
1383 unix_peer(ska) = skb; in unix_socketpair()
1384 unix_peer(skb) = ska; in unix_socketpair()
1733 if (unix_peer(sk) == other) { in unix_dgram_sendmsg()
1734 unix_peer(sk) = NULL; in unix_dgram_sendmsg()
1767 unlikely(unix_peer(other) != sk && unix_recvq_full(other))) { in unix_dgram_sendmsg()
1783 if (unix_peer(sk) != other || in unix_dgram_sendmsg()
1853 other = unix_peer(sk); in unix_stream_sendmsg()
1939 other = unix_peer(sk); in unix_stream_sendpage()
2513 other = unix_peer(sk); in unix_shutdown()
2714 other = unix_peer(sk); in unix_dgram_poll()
2715 if (other && unix_peer(other) != sk && in unix_dgram_poll()