Lines Matching refs:unix_peer
214 #define unix_peer(sk) (unix_sk(sk)->peer) macro
218 return unix_peer(osk) == sk; in unix_our_peer()
223 return unix_peer(osk) == NULL || unix_our_peer(sk, osk); in unix_may_send()
242 peer = unix_peer(s); in unix_peer_get()
558 if (!sock_flag(other, SOCK_DEAD) && unix_peer(other) == sk) { in unix_dgram_disconnected()
612 skpair = unix_peer(sk); in unix_release_sock()
613 unix_peer(sk) = NULL; in unix_release_sock()
1406 if (unix_peer(sk)) { in unix_dgram_connect()
1407 struct sock *old_peer = unix_peer(sk); in unix_dgram_connect()
1409 unix_peer(sk) = other; in unix_dgram_connect()
1420 unix_peer(sk) = other; in unix_dgram_connect()
1582 unix_peer(newsk) = sk; in unix_stream_connect()
1622 unix_peer(sk) = newsk; in unix_stream_connect()
1655 unix_peer(ska) = skb; in unix_socketpair()
1656 unix_peer(skb) = ska; in unix_socketpair()
2002 if (unix_peer(sk) == other) { in unix_dgram_sendmsg()
2003 unix_peer(sk) = NULL; in unix_dgram_sendmsg()
2037 unlikely(unix_peer(other) != sk && in unix_dgram_sendmsg()
2054 if (unix_peer(sk) != other || in unix_dgram_sendmsg()
2178 other = unix_peer(sk); in unix_stream_sendmsg()
2274 other = unix_peer(sk); in unix_stream_sendpage()
2998 other = unix_peer(sk); in unix_shutdown()
3229 other = unix_peer(sk); in unix_dgram_poll()
3230 if (other && unix_peer(other) != sk && in unix_dgram_poll()