Lines Matching refs:unix_peer
215 #define unix_peer(sk) (unix_sk(sk)->peer) macro
219 return unix_peer(osk) == sk; in unix_our_peer()
224 return unix_peer(osk) == NULL || unix_our_peer(sk, osk); in unix_may_send()
243 peer = unix_peer(s); in unix_peer_get()
571 if (!sock_flag(other, SOCK_DEAD) && unix_peer(other) == sk) { in unix_dgram_disconnected()
625 skpair = unix_peer(sk); in unix_release_sock()
626 unix_peer(sk) = NULL; in unix_release_sock()
1428 if (unix_peer(sk)) { in unix_dgram_connect()
1429 struct sock *old_peer = unix_peer(sk); in unix_dgram_connect()
1431 unix_peer(sk) = other; in unix_dgram_connect()
1442 unix_peer(sk) = other; in unix_dgram_connect()
1605 unix_peer(newsk) = sk; in unix_stream_connect()
1645 unix_peer(sk) = newsk; in unix_stream_connect()
1678 unix_peer(ska) = skb; in unix_socketpair()
1679 unix_peer(skb) = ska; in unix_socketpair()
2019 } else if (unix_peer(sk) == other) { in unix_dgram_sendmsg()
2020 unix_peer(sk) = NULL; in unix_dgram_sendmsg()
2054 unlikely(unix_peer(other) != sk && in unix_dgram_sendmsg()
2071 if (unix_peer(sk) != other || in unix_dgram_sendmsg()
2201 other = unix_peer(sk); in unix_stream_sendmsg()
2920 other = unix_peer(sk); in unix_shutdown()
3156 other = unix_peer(sk); in unix_dgram_poll()
3157 if (other && unix_peer(other) != sk && in unix_dgram_poll()