Searched refs:sk_psock (Results 1 – 12 of 12) sorted by relevance
/linux-6.3-rc2/include/linux/ |
A D | skmsg.h | 79 struct sk_psock { struct 280 static inline struct sk_psock *sk_psock(const struct sock *sk) in sk_psock() function 286 static inline void sk_psock_set_state(struct sk_psock *psock, in sk_psock_set_state() 310 static inline void sk_psock_queue_msg(struct sk_psock *psock, in sk_psock_queue_msg() 379 struct sk_psock *sk_psock_init(struct sock *sk, int node); 380 void sk_psock_stop(struct sk_psock *psock); 430 struct sk_psock *psock) in sk_psock_restore_proto() 436 static inline struct sk_psock *sk_psock_get(struct sock *sk) in sk_psock_get() 438 struct sk_psock *psock; in sk_psock_get() 441 psock = sk_psock(sk); in sk_psock_get() [all …]
|
/linux-6.3-rc2/net/core/ |
A D | skmsg.c | 492 struct sk_psock *psock; in sk_msg_is_readable() 496 psock = sk_psock(sk); in sk_msg_is_readable() 643 struct sk_psock *psock = container_of(work, struct sk_psock, work); in sk_psock_backlog() 704 struct sk_psock *psock; in sk_psock_init() 1045 struct sk_psock *psock; in sk_psock_write_space() 1049 psock = sk_psock(sk); in sk_psock_write_space() 1063 struct sk_psock *psock; in sk_psock_strp_read() 1070 psock = sk_psock(sk); in sk_psock_strp_read() 1098 struct sk_psock *psock = container_of(strp, struct sk_psock, strp); in sk_psock_strp_parse() 1121 psock = sk_psock(sk); in sk_psock_strp_data_ready() [all …]
|
A D | sock_map.c | 181 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() 473 struct sk_psock *psock; in sock_map_update_common() 491 psock = sk_psock(sk); in sock_map_update_common() 977 struct sk_psock *psock; in sock_hash_update_common() 992 psock = sk_psock(sk); in sock_hash_update_common() 1566 struct sk_psock *psock; in sock_map_unhash() 1569 psock = sk_psock(sk); in sock_map_unhash() [all …]
|
/linux-6.3-rc2/net/ipv4/ |
A D | udp_bpf.c | 29 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 D | tcp_bpf.c | 14 static int bpf_tcp_ingress(struct sock *sk, struct sk_psock *psock, in bpf_tcp_ingress() 141 struct sk_psock *psock = sk_psock_get(sk); in tcp_bpf_sendmsg_redir() 155 static int tcp_msg_wait_data(struct sock *sk, struct sk_psock *psock, in tcp_msg_wait_data() 183 struct sk_psock *psock; in tcp_bpf_recvmsg_parser() 244 struct sk_psock *psock; in tcp_bpf_recvmsg() 285 static int tcp_bpf_send_verdict(struct sock *sk, struct sk_psock *psock, in tcp_bpf_send_verdict() 403 struct sk_psock *psock; in tcp_bpf_sendmsg() 492 struct sk_psock *psock; in tcp_bpf_sendpage() 603 int tcp_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore) in tcp_bpf_update_proto()
|
/linux-6.3-rc2/net/unix/ |
A D | unix_bpf.c | 15 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() 144 int unix_dgram_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore) in unix_dgram_bpf_update_proto() 160 int unix_stream_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore) in unix_stream_bpf_update_proto()
|
/linux-6.3-rc2/include/net/ |
A D | af_unix.h | 102 int unix_dgram_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore); 103 int unix_stream_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore);
|
A D | udp.h | 530 struct sk_psock; 531 struct proto *udp_bpf_get_proto(struct sock *sk, struct sk_psock *psock); 532 int udp_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore);
|
A D | tcp.h | 2318 struct sk_psock; 2321 struct proto *tcp_bpf_get_proto(struct sock *sk, struct sk_psock *psock); 2322 int tcp_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore);
|
A D | sock.h | 1217 struct sk_psock; 1290 struct sk_psock *psock,
|
/linux-6.3-rc2/net/tls/ |
A D | tls_sw.c | 807 struct sk_psock *psock; in bpf_exec_tx_verdict() 1306 tls_rx_rec_wait(struct sock *sk, struct sk_psock *psock, bool nonblock, in tls_rx_rec_wait() 1933 struct sk_psock *psock; in tls_sw_recvmsg() 2222 struct sk_psock *psock; in tls_sw_sock_is_readable() 2225 psock = sk_psock(sk); in tls_sw_sock_is_readable() 2306 struct sk_psock *psock; in tls_data_ready()
|
/linux-6.3-rc2/Documentation/bpf/ |
A D | map_sockmap.rst | 35 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 35 milliseconds