Home
last modified time | relevance | path

Searched refs:sk_psock (Results 1 – 15 of 15) sorted by relevance

/linux-6.15/include/linux/
H A Dskmsg.h83 struct sk_psock { struct
292 static inline struct sk_psock *sk_psock(const struct sock *sk) in sk_psock() function
298 static inline void sk_psock_set_state(struct sk_psock *psock, in sk_psock_set_state()
322 static inline bool sk_psock_queue_msg(struct sk_psock *psock, in sk_psock_queue_msg()
396 struct sk_psock *sk_psock_init(struct sock *sk, int node);
397 void sk_psock_stop(struct sk_psock *psock);
450 struct sk_psock *psock) in sk_psock_restore_proto()
456 static inline struct sk_psock *sk_psock_get(struct sock *sk) in sk_psock_get()
458 struct sk_psock *psock; in sk_psock_get()
461 psock = sk_psock(sk); in sk_psock_get()
[all …]
/linux-6.15/net/core/
H A Dskmsg.c494 struct sk_psock *psock; in sk_msg_is_readable()
498 psock = sk_psock(sk); in sk_msg_is_readable()
651 struct sk_psock *psock = container_of(dwork, struct sk_psock, work); in sk_psock_backlog()
709 struct sk_psock *psock; in sk_psock_init()
1048 struct sk_psock *psock; in sk_psock_write_space()
1052 psock = sk_psock(sk); in sk_psock_write_space()
1073 psock = sk_psock(sk); in sk_psock_strp_read()
1100 struct sk_psock *psock = container_of(strp, struct sk_psock, strp); in sk_psock_strp_parse()
1123 psock = sk_psock(sk); in sk_psock_strp_data_ready()
1199 psock = sk_psock(sk); in sk_psock_verdict_recv()
[all …]
H A Dsock_map.c181 struct sk_psock *psock = sk_psock(sk); in sock_map_unref()
199 struct sk_psock *psock; in sock_map_psock_get_checked()
202 psock = sk_psock(sk); in sock_map_psock_get_checked()
224 struct sk_psock *psock; in sock_map_link()
475 struct sk_psock *psock; in sock_map_update_common()
493 psock = sk_psock(sk); in sock_map_update_common()
999 struct sk_psock *psock; in sock_hash_update_common()
1014 psock = sk_psock(sk); in sock_hash_update_common()
1631 struct sk_psock *psock; in sock_map_unhash()
1634 psock = sk_psock(sk); in sock_map_unhash()
[all …]
/linux-6.15/net/ipv4/
H A Dudp_bpf.c29 static bool psock_has_data(struct sk_psock *psock) in psock_has_data()
38 static int udp_msg_wait_data(struct sock *sk, struct sk_psock *psock, in udp_msg_wait_data()
65 struct sk_psock *psock; in udp_bpf_recvmsg()
141 int udp_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore) in udp_bpf_update_proto()
H A Dtcp_bpf.c32 static int bpf_tcp_ingress(struct sock *sk, struct sk_psock *psock, in bpf_tcp_ingress()
166 struct sk_psock *psock = sk_psock_get(sk); in tcp_bpf_sendmsg_redir()
180 static int tcp_msg_wait_data(struct sock *sk, struct sk_psock *psock, in tcp_msg_wait_data()
202 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()
337 struct sk_psock *psock; in tcp_bpf_recvmsg()
384 static int tcp_bpf_send_verdict(struct sock *sk, struct sk_psock *psock, in tcp_bpf_send_verdict()
499 struct sk_psock *psock; in tcp_bpf_sendmsg()
654 struct sk_psock *psock; in tcp_bpf_strp_read_sock()
660 psock = sk_psock(sk); in tcp_bpf_strp_read_sock()
[all …]
/linux-6.15/net/vmw_vsock/
H A Dvsock_bpf.c25 static bool vsock_has_data(struct sock *sk, struct sk_psock *psock) in vsock_has_data()
37 static bool vsock_msg_wait_data(struct sock *sk, struct sk_psock *psock, long timeo) in vsock_msg_wait_data()
79 struct sk_psock *psock; in vsock_bpf_recvmsg()
150 int vsock_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore) in vsock_bpf_update_proto()
/linux-6.15/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()
55 struct sk_psock *psock; in unix_bpf_recvmsg()
148 int unix_dgram_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore) in unix_dgram_bpf_update_proto()
164 int unix_stream_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore) in unix_stream_bpf_update_proto()
H A Daf_unix.h63 int unix_dgram_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore);
64 int unix_stream_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore);
/linux-6.15/include/net/
H A Daf_vsock.h247 int vsock_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore);
H A Dudp.h648 struct sk_psock;
649 int udp_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore);
H A Dsock.h1209 struct sk_psock;
1288 struct sk_psock *psock,
H A Dtcp.h2669 struct sk_psock;
2672 int tcp_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore);
/linux-6.15/net/tls/
H A Dtls_sw.c849 struct sk_psock *psock; in bpf_exec_tx_verdict()
1308 tls_rx_rec_wait(struct sock *sk, struct sk_psock *psock, bool nonblock, in tls_rx_rec_wait()
1994 struct sk_psock *psock; in tls_sw_recvmsg()
2287 struct sk_psock *psock; in tls_sw_read_sock()
2380 struct sk_psock *psock; in tls_sw_sock_is_readable()
2383 psock = sk_psock(sk); in tls_sw_sock_is_readable()
2464 struct sk_psock *psock; in tls_data_ready()
H A Dtls_main.c410 struct sk_psock *psock; in tls_sk_poll()
/linux-6.15/Documentation/bpf/
H A Dmap_sockmap.rst35 replaced and a ``struct sk_psock`` is attached to it. Additionally, this
36 ``sk_psock`` inherits the programs that are attached to the map.