Home
last modified time | relevance | path

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

/linux/include/linux/
A Dskmsg.h83 struct sk_psock { struct
290 static inline struct sk_psock *sk_psock(const struct sock *sk) in sk_psock() function
296 static inline void sk_psock_set_state(struct sk_psock *psock, in sk_psock_set_state()
320 static inline void sk_psock_queue_msg(struct sk_psock *psock, in sk_psock_queue_msg()
389 struct sk_psock *sk_psock_init(struct sock *sk, int node);
390 void sk_psock_stop(struct sk_psock *psock);
443 struct sk_psock *psock) in sk_psock_restore_proto()
449 static inline struct sk_psock *sk_psock_get(struct sock *sk) in sk_psock_get()
451 struct sk_psock *psock; in sk_psock_get()
454 psock = sk_psock(sk); in sk_psock_get()
[all …]
/linux/net/core/
A Dskmsg.c491 struct sk_psock *psock; in sk_msg_is_readable()
495 psock = sk_psock(sk); in sk_msg_is_readable()
645 struct sk_psock *psock = container_of(dwork, struct sk_psock, work); in sk_psock_backlog()
703 struct sk_psock *psock; in sk_psock_init()
1040 struct sk_psock *psock; in sk_psock_write_space()
1044 psock = sk_psock(sk); in sk_psock_write_space()
1065 psock = sk_psock(sk); in sk_psock_strp_read()
1092 struct sk_psock *psock = container_of(strp, struct sk_psock, strp); in sk_psock_strp_parse()
1115 psock = sk_psock(sk); in sk_psock_strp_data_ready()
1187 psock = sk_psock(sk); in sk_psock_verdict_recv()
[all …]
A Dsock_map.c180 struct sk_psock *psock = sk_psock(sk); in sock_map_unref()
198 struct sk_psock *psock; in sock_map_psock_get_checked()
201 psock = sk_psock(sk); in sock_map_psock_get_checked()
223 struct sk_psock *psock; in sock_map_link()
472 struct sk_psock *psock; in sock_map_update_common()
490 psock = sk_psock(sk); in sock_map_update_common()
993 struct sk_psock *psock; in sock_hash_update_common()
1008 psock = sk_psock(sk); in sock_hash_update_common()
1625 struct sk_psock *psock; in sock_map_unhash()
1628 psock = sk_psock(sk); in sock_map_unhash()
[all …]
/linux/net/vmw_vsock/
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()
141 int vsock_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore) in vsock_bpf_update_proto()
/linux/net/ipv4/
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()
A Dtcp_bpf.c32 static int bpf_tcp_ingress(struct sock *sk, struct sk_psock *psock, in bpf_tcp_ingress()
164 struct sk_psock *psock = sk_psock_get(sk); in tcp_bpf_sendmsg_redir()
178 static int tcp_msg_wait_data(struct sock *sk, struct sk_psock *psock, in tcp_msg_wait_data()
200 static bool is_next_msg_fin(struct sk_psock *psock) in is_next_msg_fin()
225 struct sk_psock *psock; in tcp_bpf_recvmsg_parser()
335 struct sk_psock *psock; in tcp_bpf_recvmsg()
382 static int tcp_bpf_send_verdict(struct sock *sk, struct sk_psock *psock, in tcp_bpf_send_verdict()
500 struct sk_psock *psock; in tcp_bpf_sendmsg()
650 int tcp_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore) in tcp_bpf_update_proto()
/linux/net/unix/
A Dunix_bpf.c15 static int unix_msg_wait_data(struct sock *sk, struct sk_psock *psock, in unix_msg_wait_data()
54 struct sk_psock *psock; in unix_bpf_recvmsg()
147 int unix_dgram_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore) in unix_dgram_bpf_update_proto()
163 int unix_stream_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore) in unix_stream_bpf_update_proto()
/linux/include/net/
A Daf_unix.h121 int unix_dgram_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore);
122 int unix_stream_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore);
A Dudp.h523 struct sk_psock;
524 int udp_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore);
A Daf_vsock.h247 int vsock_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore);
A Dsock.h1192 struct sk_psock;
1271 struct sk_psock *psock,
A Dtcp.h2593 struct sk_psock;
2596 int tcp_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore);
/linux/net/tls/
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()
1960 struct sk_psock *psock; in tls_sw_recvmsg()
2253 struct sk_psock *psock; in tls_sw_read_sock()
2346 struct sk_psock *psock; in tls_sw_sock_is_readable()
2349 psock = sk_psock(sk); in tls_sw_sock_is_readable()
2430 struct sk_psock *psock; in tls_data_ready()
A Dtls_main.c410 struct sk_psock *psock; in tls_sk_poll()
/linux/Documentation/bpf/
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.

Completed in 50 milliseconds