Lines Matching refs:unix_peer
291 return !unix_peer(osk) || unix_peer(osk) == sk; in unix_may_send()
304 peer = unix_peer(s); in unix_peer_get()
634 if (!sock_flag(other, SOCK_DEAD) && unix_peer(other) == sk) { in unix_dgram_disconnected()
687 skpair = unix_peer(sk); in unix_release_sock()
688 unix_peer(sk) = NULL; in unix_release_sock()
1476 if (unix_peer(sk)) { in unix_dgram_connect()
1477 struct sock *old_peer = unix_peer(sk); in unix_dgram_connect()
1479 unix_peer(sk) = other; in unix_dgram_connect()
1490 if (!unix_peer(old_peer)) in unix_dgram_connect()
1497 unix_peer(sk) = other; in unix_dgram_connect()
1646 unix_peer(newsk) = sk; in unix_stream_connect()
1687 unix_peer(sk) = newsk; in unix_stream_connect()
1718 unix_peer(ska) = skb; in unix_socketpair()
1719 unix_peer(skb) = ska; in unix_socketpair()
2085 if (unix_peer(sk) == other) { in unix_dgram_sendmsg()
2086 unix_peer(sk) = NULL; in unix_dgram_sendmsg()
2125 unlikely(unix_peer(other) != sk && in unix_dgram_sendmsg()
2142 if (unix_peer(sk) != other || in unix_dgram_sendmsg()
2268 other = unix_peer(sk); in unix_stream_sendmsg()
3042 other = unix_peer(sk); in unix_shutdown()
3292 other = unix_peer(sk); in unix_dgram_poll()
3293 if (other && unix_peer(other) != sk && in unix_dgram_poll()