Lines Matching refs:unix_peer
182 #define unix_peer(sk) (unix_sk(sk)->peer) macro
186 return unix_peer(osk) == sk; in unix_our_peer()
191 return unix_peer(osk) == NULL || unix_our_peer(sk, osk); in unix_may_send()
204 peer = unix_peer(s); in unix_peer_get()
476 if (!sock_flag(other, SOCK_DEAD) && unix_peer(other) == sk) { in unix_dgram_disconnected()
533 skpair = unix_peer(sk); in unix_release_sock()
549 unix_peer(sk) = NULL; in unix_release_sock()
1162 if (unix_peer(sk)) { in unix_dgram_connect()
1163 struct sock *old_peer = unix_peer(sk); in unix_dgram_connect()
1164 unix_peer(sk) = other; in unix_dgram_connect()
1173 unix_peer(sk) = other; in unix_dgram_connect()
1329 unix_peer(newsk) = sk; in unix_stream_connect()
1355 unix_peer(sk) = newsk; in unix_stream_connect()
1388 unix_peer(ska) = skb; in unix_socketpair()
1389 unix_peer(skb) = ska; in unix_socketpair()
1755 if (unix_peer(sk) == other) { in unix_dgram_sendmsg()
1756 unix_peer(sk) = NULL; in unix_dgram_sendmsg()
1789 unlikely(unix_peer(other) != sk && unix_recvq_full(other))) { in unix_dgram_sendmsg()
1805 if (unix_peer(sk) != other || in unix_dgram_sendmsg()
1878 other = unix_peer(sk); in unix_stream_sendmsg()
1967 other = unix_peer(sk); in unix_stream_sendpage()
2547 other = unix_peer(sk); in unix_shutdown()
2707 other = unix_peer(sk); in unix_dgram_poll()
2708 if (other && unix_peer(other) != sk && in unix_dgram_poll()