Lines Matching refs:sock
9 #include <net/sock.h>
17 struct sock *unix_get_socket(struct file *filp);
18 struct sock *unix_peer_get(struct sock *sk);
52 struct sock sk;
56 struct sock *peer;
82 static inline void unix_state_lock_nested(struct sock *sk,
90 long unix_inq_len(struct sock *sk);
91 long unix_outq_len(struct sock *sk);
93 int __unix_dgram_recvmsg(struct sock *sk, struct msghdr *msg, size_t size,
95 int __unix_stream_recvmsg(struct sock *sk, struct msghdr *msg, size_t size,
109 int unix_dgram_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore);
110 int unix_stream_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore);