Lines Matching refs:unix_peer
181 #define unix_peer(sk) (unix_sk(sk)->peer) macro
185 return unix_peer(osk) == sk; in unix_our_peer()
190 return unix_peer(osk) == NULL || unix_our_peer(sk, osk); in unix_may_send()
209 peer = unix_peer(s); in unix_peer_get()
493 if (!sock_flag(other, SOCK_DEAD) && unix_peer(other) == sk) { in unix_dgram_disconnected()
554 skpair = unix_peer(sk); in unix_release_sock()
555 unix_peer(sk) = NULL; in unix_release_sock()
1271 if (unix_peer(sk)) { in unix_dgram_connect()
1272 struct sock *old_peer = unix_peer(sk); in unix_dgram_connect()
1274 unix_peer(sk) = other; in unix_dgram_connect()
1285 unix_peer(sk) = other; in unix_dgram_connect()
1446 unix_peer(newsk) = sk; in unix_stream_connect()
1486 unix_peer(sk) = newsk; in unix_stream_connect()
1519 unix_peer(ska) = skb; in unix_socketpair()
1520 unix_peer(skb) = ska; in unix_socketpair()
1867 if (unix_peer(sk) == other) { in unix_dgram_sendmsg()
1868 unix_peer(sk) = NULL; in unix_dgram_sendmsg()
1902 unlikely(unix_peer(other) != sk && in unix_dgram_sendmsg()
1919 if (unix_peer(sk) != other || in unix_dgram_sendmsg()
2043 other = unix_peer(sk); in unix_stream_sendmsg()
2139 other = unix_peer(sk); in unix_stream_sendpage()
2888 other = unix_peer(sk); in unix_shutdown()
3116 other = unix_peer(sk); in unix_dgram_poll()
3117 if (other && unix_peer(other) != sk && in unix_dgram_poll()