Lines Matching refs:unix_peer
180 #define unix_peer(sk) (unix_sk(sk)->peer) macro
184 return unix_peer(osk) == sk; in unix_our_peer()
189 return unix_peer(osk) == NULL || unix_our_peer(sk, osk); in unix_may_send()
208 peer = unix_peer(s); in unix_peer_get()
485 if (!sock_flag(other, SOCK_DEAD) && unix_peer(other) == sk) { in unix_dgram_disconnected()
542 skpair = unix_peer(sk); in unix_release_sock()
558 unix_peer(sk) = NULL; in unix_release_sock()
1182 if (unix_peer(sk)) { in unix_dgram_connect()
1183 struct sock *old_peer = unix_peer(sk); in unix_dgram_connect()
1184 unix_peer(sk) = other; in unix_dgram_connect()
1193 unix_peer(sk) = other; in unix_dgram_connect()
1350 unix_peer(newsk) = sk; in unix_stream_connect()
1390 unix_peer(sk) = newsk; in unix_stream_connect()
1423 unix_peer(ska) = skb; in unix_socketpair()
1424 unix_peer(skb) = ska; in unix_socketpair()
1726 if (unix_peer(sk) == other) { in unix_dgram_sendmsg()
1727 unix_peer(sk) = NULL; in unix_dgram_sendmsg()
1760 unlikely(unix_peer(other) != sk && in unix_dgram_sendmsg()
1777 if (unix_peer(sk) != other || in unix_dgram_sendmsg()
1848 other = unix_peer(sk); in unix_stream_sendmsg()
1935 other = unix_peer(sk); in unix_stream_sendpage()
2515 other = unix_peer(sk); in unix_shutdown()
2722 other = unix_peer(sk); in unix_dgram_poll()
2723 if (other && unix_peer(other) != sk && in unix_dgram_poll()