Home
last modified time | relevance | path

Searched defs:psock (Results 1 – 9 of 9) sorted by relevance

/linux/include/linux/
H A Dskmsg.h156 static inline void sk_msg_apply_bytes(struct sk_psock *psock, u32 bytes) in sk_msg_apply_bytes()
309 static inline void sk_psock_set_state(struct sk_psock *psock, in sk_psock_set_state()
315 static inline void sk_psock_clear_state(struct sk_psock *psock, in sk_psock_clear_state()
321 static inline bool sk_psock_test_state(const struct sk_psock *psock, in sk_psock_test_state()
333 static inline u32 sk_psock_get_msg_len_nolock(struct sk_psock *psock) in sk_psock_get_msg_len_nolock()
339 static inline void sk_psock_msg_len_add_locked(struct sk_psock *psock, int diff) in sk_psock_msg_len_add_locked()
347 static inline void sk_psock_msg_len_add(struct sk_psock *psock, int diff) in sk_psock_msg_len_add()
354 static inline bool sk_psock_queue_msg(struct sk_psock *psock, in sk_psock_queue_msg()
373 static inline struct sk_msg *sk_psock_dequeue_msg(struct sk_psock *psock) in sk_psock_dequeue_msg()
387 static inline struct sk_msg *sk_psock_peek_msg_locked(struct sk_psock *psock) in sk_psock_peek_msg_locked()
[all …]
/linux/net/kcm/
H A Dkcmsock.c58 static void kcm_abort_tx_psock(struct kcm_psock *psock, int err, in kcm_abort_tx_psock()
98 struct kcm_psock *psock) in kcm_update_rx_mux_stats()
110 struct kcm_psock *psock) in kcm_update_tx_mux_stats()
129 struct kcm_psock *psock; in kcm_rcv_ready() local
257 static struct kcm_sock *reserve_rx_kcm(struct kcm_psock *psock, in reserve_rx_kcm()
309 static void unreserve_rx_kcm(struct kcm_psock *psock, in unreserve_rx_kcm()
354 struct kcm_psock *psock; in psock_data_ready() local
370 struct kcm_psock *psock = container_of(strp, struct kcm_psock, strp); in kcm_rcv_strparser() local
391 struct kcm_psock *psock = container_of(strp, struct kcm_psock, strp); in kcm_parse_func_strparser() local
403 struct kcm_psock *psock = container_of(strp, struct kcm_psock, strp); in kcm_read_sock_done() local
[all …]
H A Dkcmproc.c139 static void kcm_format_psock(struct kcm_psock *psock, struct seq_file *seq, in kcm_format_psock()
190 struct kcm_psock *psock; in kcm_format_mux() local
248 struct kcm_psock *psock; in kcm_stats_seq_show() local
/linux/net/ipv4/
H A Dtcp_bpf.c33 static int bpf_tcp_ingress(struct sock *sk, struct sk_psock *psock, in bpf_tcp_ingress()
167 struct sk_psock *psock = sk_psock_get(sk); in tcp_bpf_sendmsg_redir() local
181 static int tcp_msg_wait_data(struct sock *sk, struct sk_psock *psock, in tcp_msg_wait_data()
203 static bool is_next_msg_fin(struct sk_psock *psock) in is_next_msg_fin()
227 struct sk_psock *psock; in tcp_bpf_recvmsg_parser() local
337 struct sk_psock *psock; in tcp_bpf_ioctl() local
371 struct sk_psock *psock; in tcp_bpf_recvmsg() local
418 static int tcp_bpf_send_verdict(struct sock *sk, struct sk_psock *psock, in tcp_bpf_send_verdict()
538 struct sk_psock *psock; in tcp_bpf_sendmsg() local
694 struct sk_psock *psock; in tcp_bpf_strp_read_sock() local
[all …]
/linux/net/vmw_vsock/
H A Dvsock_bpf.c25 static bool vsock_has_data(struct sock *sk, struct sk_psock *psock) in vsock_has_data() argument
37 static bool vsock_msg_wait_data(struct sock *sk, struct sk_psock *psock, long timeo) in vsock_msg_wait_data() argument
79 struct sk_psock *psock; in vsock_bpf_recvmsg() local
150 vsock_bpf_update_proto(struct sock * sk,struct sk_psock * psock,bool restore) vsock_bpf_update_proto() argument
[all...]
/linux/net/unix/
H A Dunix_bpf.c16 static int unix_msg_wait_data(struct sock *sk, struct sk_psock *psock, in unix_msg_wait_data() argument
55 struct sk_psock *psock; in unix_bpf_recvmsg() local
148 unix_dgram_bpf_update_proto(struct sock * sk,struct sk_psock * psock,bool restore) unix_dgram_bpf_update_proto() argument
164 unix_stream_bpf_update_proto(struct sock * sk,struct sk_psock * psock,bool restore) unix_stream_bpf_update_proto() argument
[all...]
/linux/net/core/
H A Dsock_map.c131 static void sock_map_add_link(struct sk_psock *psock, in sock_map_add_link()
143 struct sk_psock *psock, void *link_raw) in sock_map_del_link()
181 struct sk_psock *psock = sk_psock(sk); in sock_map_unref() local
189 static int sock_map_init_proto(struct sock *sk, struct sk_psock *psock) in sock_map_init_proto()
199 struct sk_psock *psock; in sock_map_psock_get_checked() local
224 struct sk_psock *psock; in sock_map_link() local
475 struct sk_psock *psock; in sock_map_update_common() local
1001 struct sk_psock *psock; in sock_hash_update_common() local
1635 static void sock_map_remove_links(struct sock *sk, struct sk_psock *psock) in sock_map_remove_links()
1648 struct sk_psock *psock; in sock_map_unhash() local
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dlwt_redirect.c162 int psock = -1; in send_and_capture_test_packets() local
/linux/net/tls/
H A Dtls_sw.c2081 struct sk_psock *psock; in tls_sw_read_sock() local