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()
539 skpair = unix_peer(sk); in unix_release_sock()
540 unix_peer(sk) = NULL; in unix_release_sock()
1205 if (unix_peer(sk)) { in unix_dgram_connect()
1206 struct sock *old_peer = unix_peer(sk); in unix_dgram_connect()
1207 unix_peer(sk) = other; in unix_dgram_connect()
1216 unix_peer(sk) = other; in unix_dgram_connect()
1373 unix_peer(newsk) = sk; in unix_stream_connect()
1413 unix_peer(sk) = newsk; in unix_stream_connect()
1446 unix_peer(ska) = skb; in unix_socketpair()
1447 unix_peer(skb) = ska; in unix_socketpair()
1796 if (unix_peer(sk) == other) { in unix_dgram_sendmsg()
1797 unix_peer(sk) = NULL; in unix_dgram_sendmsg()
1830 unlikely(unix_peer(other) != sk && in unix_dgram_sendmsg()
1847 if (unix_peer(sk) != other || in unix_dgram_sendmsg()
1918 other = unix_peer(sk); in unix_stream_sendmsg()
2005 other = unix_peer(sk); in unix_stream_sendpage()
2585 other = unix_peer(sk); in unix_shutdown()
2792 other = unix_peer(sk); in unix_dgram_poll()
2793 if (other && unix_peer(other) != sk && in unix_dgram_poll()