| /linux/net/core/ |
| H A D | skmsg.c | 412 int __sk_msg_recvmsg(struct sock *sk, struct sk_psock *psock, struct msghdr *msg, in __sk_msg_recvmsg() 500 int sk_msg_recvmsg(struct sock *sk, struct sk_psock *psock, struct msghdr *msg, in sk_msg_recvmsg() 509 struct sk_psock *psock; in sk_msg_is_readable() local 546 struct sk_psock *psock, in sk_psock_skb_ingress_enqueue() 590 static int sk_psock_skb_ingress(struct sk_psock *psock, struct sk_buff *skb, in sk_psock_skb_ingress() 624 static int sk_psock_skb_ingress_self(struct sk_psock *psock, struct sk_buff *skb, in sk_psock_skb_ingress_self() 646 static int sk_psock_handle_skb(struct sk_psock *psock, struct sk_buff *skb, in sk_psock_handle_skb() 658 static void sk_psock_skb_state(struct sk_psock *psock, in sk_psock_skb_state() 673 struct sk_psock *psock = container_of(dwork, struct sk_psock, work); in sk_psock_backlog() local 751 struct sk_psock *psock; in sk_psock_init() local [all …]
|
| /linux/include/linux/ |
| H A D | skmsg.h | 155 static inline void sk_msg_apply_bytes(struct sk_psock *psock, u32 bytes) in sk_msg_apply_bytes() 302 static inline void sk_psock_set_state(struct sk_psock *psock, in sk_psock_set_state() 308 static inline void sk_psock_clear_state(struct sk_psock *psock, in sk_psock_clear_state() 314 static inline bool sk_psock_test_state(const struct sk_psock *psock, in sk_psock_test_state() 326 static inline u32 sk_psock_get_msg_len_nolock(struct sk_psock *psock) in sk_psock_get_msg_len_nolock() 332 static inline void sk_psock_msg_len_add_locked(struct sk_psock *psock, int diff) in sk_psock_msg_len_add_locked() 340 static inline void sk_psock_msg_len_add(struct sk_psock *psock, int diff) in sk_psock_msg_len_add() 347 static inline bool sk_psock_queue_msg(struct sk_psock *psock, in sk_psock_queue_msg() 366 static inline struct sk_msg *sk_psock_dequeue_msg(struct sk_psock *psock) in sk_psock_dequeue_msg() 380 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 D | kcmsock.c | 56 static void kcm_abort_tx_psock(struct kcm_psock *psock, int err, in kcm_abort_tx_psock() 96 struct kcm_psock *psock) in kcm_update_rx_mux_stats() 108 struct kcm_psock *psock) in kcm_update_tx_mux_stats() 127 struct kcm_psock *psock; in kcm_rcv_ready() local 255 static struct kcm_sock *reserve_rx_kcm(struct kcm_psock *psock, in reserve_rx_kcm() 307 static void unreserve_rx_kcm(struct kcm_psock *psock, in unreserve_rx_kcm() 352 struct kcm_psock *psock; in psock_data_ready() local 368 struct kcm_psock *psock = container_of(strp, struct kcm_psock, strp); in kcm_rcv_strparser() local 389 struct kcm_psock *psock = container_of(strp, struct kcm_psock, strp); in kcm_parse_func_strparser() local 399 struct kcm_psock *psock = container_of(strp, struct kcm_psock, strp); in kcm_read_sock_done() local [all …]
|
| H A D | kcmproc.c | 139 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 D | tcp_bpf.c | 33 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 356 struct sk_psock *psock; in tcp_bpf_recvmsg() local 403 static int tcp_bpf_send_verdict(struct sock *sk, struct sk_psock *psock, in tcp_bpf_send_verdict() 521 struct sk_psock *psock; in tcp_bpf_sendmsg() local 677 struct sk_psock *psock; in tcp_bpf_strp_read_sock() local 708 int tcp_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore) in tcp_bpf_update_proto()
|
| H A D | udp_bpf.c | 28 static bool psock_has_data(struct sk_psock *psock) in psock_has_data() 37 static int udp_msg_wait_data(struct sock *sk, struct sk_psock *psock, in udp_msg_wait_data() 64 struct sk_psock *psock; in udp_bpf_recvmsg() local 154 int udp_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore) in udp_bpf_update_proto()
|
| /linux/net/vmw_vsock/ |
| H A D | vsock_bpf.c | 25 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 D | unix_bpf.c | 16 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/tls/ |
| H A D | tls_sw.c | 860 struct sk_psock *psock; in bpf_exec_tx_verdict() local 1360 tls_rx_rec_wait(struct sock * sk,struct sk_psock * psock,bool nonblock,bool released) tls_rx_rec_wait() argument 2051 struct sk_psock *psock; tls_sw_recvmsg() local 2345 struct sk_psock *psock; tls_sw_read_sock() local 2438 struct sk_psock *psock; tls_sw_sock_is_readable() local 2521 struct sk_psock *psock; tls_data_ready() local [all...] |
| H A D | tls_main.c | 407 struct sk_psock *psock; in tls_sk_poll() local
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | lwt_redirect.c | 162 int psock = -1; in send_and_capture_test_packets() local
|