Searched refs:unix_peer (Results 1 – 8 of 8) sorted by relevance
285 return !unix_peer(osk) || unix_peer(osk) == sk; in unix_may_send()298 peer = unix_peer(s); in unix_peer_get()628 if (!sock_flag(other, SOCK_DEAD) && unix_peer(other) == sk) { in unix_dgram_disconnected()686 skpair = unix_peer(sk); in unix_release_sock()687 unix_peer(sk) = NULL; in unix_release_sock()1569 if (unix_peer(sk)) { in unix_dgram_connect()1570 struct sock *old_peer = unix_peer(sk); in unix_dgram_connect()1572 unix_peer(sk) = other; in unix_dgram_connect()1583 if (!unix_peer(old_peer)) in unix_dgram_connect()1590 unix_peer(sk) = other; in unix_dgram_connect()[all …]
187 sk_pair = unix_peer(sk); in unix_stream_bpf_update_proto()
79 buf[i++] = sock_i_ino(unix_peer(skb->sk)); in sk_diag_dump_icons()
58 #define unix_peer(sk) (unix_sk(sk)->peer) macro
22 #define unix_peer(sk) (unix_sk(sk)->peer) macro
312 if (unix_peer(sock->sk) == other->sk) in hook_unix_may_send()
732 peer_sk = unix_peer(sock->sk); in aa_unix_file_perm()
723 if (WARN_ON_ONCE(unix_peer(socket->sk)->sk_peer_pid != cprm->pid)) in coredump_sock_connect()