Lines Matching refs:unix_peer
172 #define unix_peer(sk) (unix_sk(sk)->peer) macro
176 return unix_peer(osk) == sk; in unix_our_peer()
181 return unix_peer(osk) == NULL || unix_our_peer(sk, osk); in unix_may_send()
194 peer = unix_peer(s); in unix_peer_get()
465 if (!sock_flag(other, SOCK_DEAD) && unix_peer(other) == sk) { in unix_dgram_disconnected()
522 skpair = unix_peer(sk); in unix_release_sock()
538 unix_peer(sk) = NULL; in unix_release_sock()
1130 if (unix_peer(sk)) { in unix_dgram_connect()
1131 struct sock *old_peer = unix_peer(sk); in unix_dgram_connect()
1132 unix_peer(sk) = other; in unix_dgram_connect()
1141 unix_peer(sk) = other; in unix_dgram_connect()
1297 unix_peer(newsk) = sk; in unix_stream_connect()
1323 unix_peer(sk) = newsk; in unix_stream_connect()
1356 unix_peer(ska) = skb; in unix_socketpair()
1357 unix_peer(skb) = ska; in unix_socketpair()
1688 if (unix_peer(sk) == other) { in unix_dgram_sendmsg()
1689 unix_peer(sk) = NULL; in unix_dgram_sendmsg()
1722 unlikely(unix_peer(other) != sk && unix_recvq_full(other))) { in unix_dgram_sendmsg()
1738 if (unix_peer(sk) != other || in unix_dgram_sendmsg()
1811 other = unix_peer(sk); in unix_stream_sendmsg()
2249 other = unix_peer(sk); in unix_shutdown()
2409 other = unix_peer(sk); in unix_dgram_poll()
2410 if (other && unix_peer(other) != sk && in unix_dgram_poll()