Home
last modified time | relevance | path

Searched defs:psock (Results 1 - 25 of 25) sorted by relevance

/kernel/linux/linux-5.10/net/ipv4/
H A Dudp_bpf.c44 struct proto *udp_bpf_get_proto(struct sock *sk, struct sk_psock *psock) in udp_bpf_get_proto() argument
H A Dtcp_bpf.c14 int __tcp_bpf_recvmsg(struct sock *sk, struct sk_psock *psock, in __tcp_bpf_recvmsg() argument
94 static int bpf_tcp_ingress(struct sock *sk, struct sk_psock *psock, in bpf_tcp_ingress() argument
222 struct sk_psock *psock = sk_psock_get(sk); in tcp_bpf_sendmsg_redir() local
238 struct sk_psock *psock; tcp_bpf_stream_read() local
249 tcp_bpf_wait_data(struct sock *sk, struct sk_psock *psock, int flags, long timeo, int *err) tcp_bpf_wait_data() argument
274 struct sk_psock *psock; tcp_bpf_recvmsg() local
317 tcp_bpf_send_verdict(struct sock *sk, struct sk_psock *psock, struct sk_msg *msg, int *copied, int flags) tcp_bpf_send_verdict() argument
433 struct sk_psock *psock; tcp_bpf_sendmsg() local
522 struct sk_psock *psock; tcp_bpf_sendpage() local
624 tcp_bpf_get_proto(struct sock *sk, struct sk_psock *psock) tcp_bpf_get_proto() argument
[all...]
/kernel/linux/linux-6.6/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
149 vsock_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore) vsock_bpf_update_proto() argument
[all...]
/kernel/linux/linux-5.10/net/kcm/
H A Dkcmproc.c139 static void kcm_format_psock(struct kcm_psock *psock, struct seq_file *seq, in kcm_format_psock() argument
190 struct kcm_psock *psock; kcm_format_mux() local
248 struct kcm_psock *psock; kcm_stats_seq_show() local
[all...]
H A Dkcmsock.c53 static void kcm_abort_tx_psock(struct kcm_psock *psock, int err, in kcm_abort_tx_psock() argument
92 kcm_update_rx_mux_stats(struct kcm_mux *mux, struct kcm_psock *psock) kcm_update_rx_mux_stats() argument
104 kcm_update_tx_mux_stats(struct kcm_mux *mux, struct kcm_psock *psock) kcm_update_tx_mux_stats() argument
124 struct kcm_psock *psock; kcm_rcv_ready() local
252 reserve_rx_kcm(struct kcm_psock *psock, struct sk_buff *head) reserve_rx_kcm() argument
304 unreserve_rx_kcm(struct kcm_psock *psock, bool rcv_ready) unreserve_rx_kcm() argument
349 struct kcm_psock *psock; psock_data_ready() local
363 struct kcm_psock *psock = container_of(strp, struct kcm_psock, strp); kcm_rcv_strparser() local
384 struct kcm_psock *psock = container_of(strp, struct kcm_psock, strp); kcm_parse_func_strparser() local
394 struct kcm_psock *psock = container_of(strp, struct kcm_psock, strp); kcm_read_sock_done() local
413 struct kcm_psock *psock; psock_write_space() local
442 struct kcm_psock *psock; reserve_psock() local
492 psock_now_avail(struct kcm_psock *psock) psock_now_avail() argument
522 struct kcm_psock *psock; unreserve_psock() local
581 struct kcm_psock *psock; kcm_write_msgs() local
1340 struct kcm_psock *psock = NULL, *tpsock; kcm_attach() local
1467 kcm_unattach(struct kcm_psock *psock) kcm_unattach() argument
1567 struct kcm_psock *psock; kcm_unattach_ioctl() local
1715 struct kcm_psock *psock, *tmp_psock; release_mux() local
1798 struct kcm_psock *psock; kcm_release() local
[all...]
/kernel/linux/linux-6.6/net/unix/
H A Dunix_bpf.c15 static int unix_msg_wait_data(struct sock *sk, struct sk_psock *psock, in unix_msg_wait_data() argument
54 struct sk_psock *psock; in unix_bpf_recvmsg() local
144 unix_dgram_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore) unix_dgram_bpf_update_proto() argument
160 unix_stream_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore) unix_stream_bpf_update_proto() argument
[all...]
/kernel/linux/linux-6.6/net/ipv4/
H A Dudp_bpf.c29 static bool psock_has_data(struct sk_psock *psock) in psock_has_data() argument
38 static int udp_msg_wait_data(struct sock *sk, struct sk_psock *psock, in udp_msg_wait_data() argument
65 struct sk_psock *psock; in udp_bpf_recvmsg() local
141 udp_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore) udp_bpf_update_proto() argument
[all...]
H A Dtcp_bpf.c32 static int bpf_tcp_ingress(struct sock *sk, struct sk_psock *psock, in bpf_tcp_ingress() argument
164 struct sk_psock *psock = sk_psock_get(sk); in tcp_bpf_sendmsg_redir() local
178 static int tcp_msg_wait_data(struct sock *sk, struct sk_psock *psock, in tcp_msg_wait_data() argument
200 static bool is_next_msg_fin(struct sk_psock *psock) in is_next_msg_fin() argument
227 struct sk_psock *psock; tcp_bpf_recvmsg_parser() local
334 struct sk_psock *psock; tcp_bpf_recvmsg() local
381 tcp_bpf_send_verdict(struct sock *sk, struct sk_psock *psock, struct sk_msg *msg, int *copied, int flags) tcp_bpf_send_verdict() argument
499 struct sk_psock *psock; tcp_bpf_sendmsg() local
649 tcp_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore) tcp_bpf_update_proto() argument
[all...]
/kernel/linux/linux-6.6/net/kcm/
H A Dkcmproc.c139 static void kcm_format_psock(struct kcm_psock *psock, struct seq_file *seq, in kcm_format_psock() argument
190 struct kcm_psock *psock; kcm_format_mux() local
248 struct kcm_psock *psock; kcm_stats_seq_show() local
[all...]
H A Dkcmsock.c55 static void kcm_abort_tx_psock(struct kcm_psock *psock, int err, in kcm_abort_tx_psock() argument
94 kcm_update_rx_mux_stats(struct kcm_mux *mux, struct kcm_psock *psock) kcm_update_rx_mux_stats() argument
106 kcm_update_tx_mux_stats(struct kcm_mux *mux, struct kcm_psock *psock) kcm_update_tx_mux_stats() argument
126 struct kcm_psock *psock; kcm_rcv_ready() local
254 reserve_rx_kcm(struct kcm_psock *psock, struct sk_buff *head) reserve_rx_kcm() argument
306 unreserve_rx_kcm(struct kcm_psock *psock, bool rcv_ready) unreserve_rx_kcm() argument
351 struct kcm_psock *psock; psock_data_ready() local
367 struct kcm_psock *psock = container_of(strp, struct kcm_psock, strp); kcm_rcv_strparser() local
388 struct kcm_psock *psock = container_of(strp, struct kcm_psock, strp); kcm_parse_func_strparser() local
398 struct kcm_psock *psock = container_of(strp, struct kcm_psock, strp); kcm_read_sock_done() local
417 struct kcm_psock *psock; psock_write_space() local
446 struct kcm_psock *psock; reserve_psock() local
496 psock_now_avail(struct kcm_psock *psock) psock_now_avail() argument
526 struct kcm_psock *psock; unreserve_psock() local
586 struct kcm_psock *psock; kcm_write_msgs() local
1218 struct kcm_psock *psock = NULL, *tpsock; kcm_attach() local
1345 kcm_unattach(struct kcm_psock *psock) kcm_unattach() argument
1445 struct kcm_psock *psock; kcm_unattach_ioctl() local
1593 struct kcm_psock *psock, *tmp_psock; release_mux() local
1676 struct kcm_psock *psock; kcm_release() local
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
H A Dlwt_redirect.c162 int psock = -1; in send_and_capture_test_packets() local
/kernel/linux/linux-5.10/net/core/
H A Dskmsg.c461 static int sk_psock_skb_ingress(struct sk_psock *psock, struct sk_buff *skb) in sk_psock_skb_ingress() argument
494 static int sk_psock_skb_ingress_self(struct sk_psock *psock, struct sk_buff *skb) in sk_psock_skb_ingress_self() argument
430 sk_psock_skb_ingress_enqueue(struct sk_buff *skb, struct sk_psock *psock, struct sock *sk, struct sk_msg *msg) sk_psock_skb_ingress_enqueue() argument
510 sk_psock_handle_skb(struct sk_psock *psock, struct sk_buff *skb, u32 off, u32 len, bool ingress) sk_psock_handle_skb() argument
523 struct sk_psock *psock = container_of(work, struct sk_psock, work); sk_psock_backlog() local
576 struct sk_psock *psock; sk_psock_init() local
626 sk_psock_link_pop(struct sk_psock *psock) sk_psock_link_pop() argument
639 __sk_psock_purge_ingress_msg(struct sk_psock *psock) __sk_psock_purge_ingress_msg() argument
650 sk_psock_zap_ingress(struct sk_psock *psock) sk_psock_zap_ingress() argument
656 sk_psock_link_destroy(struct sk_psock *psock) sk_psock_link_destroy() argument
668 struct sk_psock *psock = container_of(gc, struct sk_psock, gc); sk_psock_destroy_deferred() local
692 struct sk_psock *psock = container_of(rcu, struct sk_psock, rcu); sk_psock_destroy() local
698 sk_psock_drop(struct sock *sk, struct sk_psock *psock) sk_psock_drop() argument
730 sk_psock_msg_verdict(struct sock *sk, struct sk_psock *psock, struct sk_msg *msg) sk_psock_msg_verdict() argument
764 sk_psock_bpf_run(struct sk_psock *psock, struct bpf_prog *prog, struct sk_buff *skb) sk_psock_bpf_run() argument
820 sk_psock_tls_strp_read(struct sk_psock *psock, struct sk_buff *skb) sk_psock_tls_strp_read() argument
840 sk_psock_verdict_apply(struct sk_psock *psock, struct sk_buff *skb, int verdict) sk_psock_verdict_apply() argument
884 struct sk_psock *psock; sk_psock_strp_read() local
916 struct sk_psock *psock = sk_psock_from_strp(strp); sk_psock_strp_parse() local
934 struct sk_psock *psock; sk_psock_strp_data_ready() local
954 struct sk_psock *psock; sk_psock_verdict_recv() local
1004 struct sk_psock *psock; sk_psock_write_space() local
1019 sk_psock_init_strp(struct sock *sk, struct sk_psock *psock) sk_psock_init_strp() argument
1031 sk_psock_start_verdict(struct sock *sk, struct sk_psock *psock) sk_psock_start_verdict() argument
1044 sk_psock_start_strp(struct sock *sk, struct sk_psock *psock) sk_psock_start_strp() argument
1057 sk_psock_stop_strp(struct sock *sk, struct sk_psock *psock) sk_psock_stop_strp() argument
1070 sk_psock_stop_verdict(struct sock *sk, struct sk_psock *psock) sk_psock_stop_verdict() argument
[all...]
H A Dsock_map.c135 static void sock_map_add_link(struct sk_psock *psock, in sock_map_add_link() argument
146 sock_map_del_link(struct sock *sk, struct sk_psock *psock, void *link_raw) sock_map_del_link() argument
179 struct sk_psock *psock = sk_psock(sk); sock_map_unref() local
187 sock_map_init_proto(struct sock *sk, struct sk_psock *psock) sock_map_init_proto() argument
213 struct sk_psock *psock; sock_map_psock_get_checked() local
235 struct sk_psock *psock; sock_map_link() local
324 struct sk_psock *psock; sock_map_link_no_progs() local
482 struct sk_psock *psock; sock_map_update_common() local
1007 struct sk_psock *psock; sock_hash_update_common() local
1533 sock_map_remove_links(struct sock *sk, struct sk_psock *psock) sock_map_remove_links() argument
1546 struct sk_psock *psock; sock_map_unhash() local
1566 struct sk_psock *psock; sock_map_close() local
[all...]
/kernel/linux/linux-5.10/drivers/pcmcia/
H A Dtcic.c105 u_short psock; member
533 u_short psock; in tcic_interrupt() local
595 u_short psock in tcic_get_status() local
621 u_short psock = container_of(sock, struct tcic_socket, socket)->psock; tcic_set_socket() local
696 u_short psock = container_of(sock, struct tcic_socket, socket)->psock; tcic_set_io_map() local
733 u_short psock = container_of(sock, struct tcic_socket, socket)->psock; tcic_set_mem_map() local
[all...]
H A Di82365.c149 u_short psock; member
662 static void __init add_socket(unsigned int port, int psock, int type) in add_socket() argument
[all...]
/kernel/linux/linux-6.6/drivers/pcmcia/
H A Dtcic.c105 u_short psock; member
533 u_short psock; in tcic_interrupt() local
595 u_short psock in tcic_get_status() local
621 u_short psock = container_of(sock, struct tcic_socket, socket)->psock; tcic_set_socket() local
696 u_short psock = container_of(sock, struct tcic_socket, socket)->psock; tcic_set_io_map() local
733 u_short psock = container_of(sock, struct tcic_socket, socket)->psock; tcic_set_mem_map() local
[all...]
H A Di82365.c149 u_short psock; member
662 static void __init add_socket(unsigned int port, int psock, int type) in add_socket() argument
[all...]
/kernel/linux/linux-6.6/net/tls/
H A Dtls_main.c411 struct sk_psock *psock; in tls_sk_poll() local
H A Dtls_sw.c849 struct sk_psock *psock; in bpf_exec_tx_verdict() local
1308 tls_rx_rec_wait(struct sock *sk, struct sk_psock *psock, bool nonblock, bool released) tls_rx_rec_wait() argument
1960 struct sk_psock *psock; tls_sw_recvmsg() local
2251 struct sk_psock *psock; tls_sw_read_sock() local
2344 struct sk_psock *psock; tls_sw_sock_is_readable() local
2428 struct sk_psock *psock; tls_data_ready() local
[all...]
/kernel/linux/linux-6.6/net/core/
H A Dskmsg.c412 int sk_msg_recvmsg(struct sock *sk, struct sk_psock *psock, struct msghdr *msg, in sk_msg_recvmsg() argument
490 struct sk_psock *psock; in sk_msg_is_readable() local
525 sk_psock_skb_ingress_enqueue(struct sk_buff *skb, u32 off, u32 len, struct sk_psock *psock, struct sock *sk, struct sk_msg *msg) sk_psock_skb_ingress_enqueue() argument
562 sk_psock_skb_ingress(struct sk_psock *psock, struct sk_buff *skb, u32 off, u32 len) sk_psock_skb_ingress() argument
596 sk_psock_skb_ingress_self(struct sk_psock *psock, struct sk_buff *skb, u32 off, u32 len) sk_psock_skb_ingress_self() argument
612 sk_psock_handle_skb(struct sk_psock *psock, struct sk_buff *skb, u32 off, u32 len, bool ingress) sk_psock_handle_skb() argument
629 sk_psock_skb_state(struct sk_psock *psock, struct sk_psock_work_state *state, int len, int off) sk_psock_skb_state() argument
644 struct sk_psock *psock = container_of(dwork, struct sk_psock, work); sk_psock_backlog() local
702 struct sk_psock *psock; sk_psock_init() local
755 sk_psock_link_pop(struct sk_psock *psock) sk_psock_link_pop() argument
768 __sk_psock_purge_ingress_msg(struct sk_psock *psock) __sk_psock_purge_ingress_msg() argument
779 __sk_psock_zap_ingress(struct sk_psock *psock) __sk_psock_zap_ingress() argument
790 sk_psock_link_destroy(struct sk_psock *psock) sk_psock_link_destroy() argument
800 sk_psock_stop(struct sk_psock *psock) sk_psock_stop() argument
812 struct sk_psock *psock = container_of(to_rcu_work(work), sk_psock_destroy() local
835 sk_psock_drop(struct sock *sk, struct sk_psock *psock) sk_psock_drop() argument
866 sk_psock_msg_verdict(struct sock *sk, struct sk_psock *psock, struct sk_msg *msg) sk_psock_msg_verdict() argument
955 sk_psock_tls_strp_read(struct sk_psock *psock, struct sk_buff *skb) sk_psock_tls_strp_read() argument
976 sk_psock_verdict_apply(struct sk_psock *psock, struct sk_buff *skb, int verdict) sk_psock_verdict_apply() argument
1039 struct sk_psock *psock; sk_psock_write_space() local
1057 struct sk_psock *psock; sk_psock_strp_read() local
1091 struct sk_psock *psock = container_of(strp, struct sk_psock, strp); sk_psock_strp_parse() local
1109 struct sk_psock *psock; sk_psock_strp_data_ready() local
1127 sk_psock_init_strp(struct sock *sk, struct sk_psock *psock) sk_psock_init_strp() argument
1144 sk_psock_start_strp(struct sock *sk, struct sk_psock *psock) sk_psock_start_strp() argument
1154 sk_psock_stop_strp(struct sock *sk, struct sk_psock *psock) sk_psock_stop_strp() argument
1166 sk_psock_done_strp(struct sk_psock *psock) sk_psock_done_strp() argument
1173 sk_psock_done_strp(struct sk_psock *psock) sk_psock_done_strp() argument
1180 struct sk_psock *psock; sk_psock_verdict_recv() local
1225 struct sk_psock *psock; sk_psock_verdict_data_ready() local
1238 sk_psock_start_verdict(struct sock *sk, struct sk_psock *psock) sk_psock_start_verdict() argument
1248 sk_psock_stop_verdict(struct sock *sk, struct sk_psock *psock) sk_psock_stop_verdict() argument
[all...]
H A Dsock_map.c128 static void sock_map_add_link(struct sk_psock *psock, in sock_map_add_link() argument
139 sock_map_del_link(struct sock *sk, struct sk_psock *psock, void *link_raw) sock_map_del_link() argument
177 struct sk_psock *psock = sk_psock(sk); sock_map_unref() local
185 sock_map_init_proto(struct sock *sk, struct sk_psock *psock) sock_map_init_proto() argument
195 struct sk_psock *psock; sock_map_psock_get_checked() local
220 struct sk_psock *psock; sock_map_link() local
469 struct sk_psock *psock; sock_map_update_common() local
986 struct sk_psock *psock; sock_hash_update_common() local
1573 sock_map_remove_links(struct sock *sk, struct sk_psock *psock) sock_map_remove_links() argument
1586 struct sk_psock *psock; sock_map_unhash() local
1608 struct sk_psock *psock; sock_map_destroy() local
1632 struct sk_psock *psock; sock_map_close() local
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dskmsg.h136 static inline void sk_msg_apply_bytes(struct sk_psock *psock, u32 bytes) in sk_msg_apply_bytes() argument
288 static inline void sk_psock_queue_msg(struct sk_psock *psock, in sk_psock_queue_msg() argument
294 static inline bool sk_psock_queue_empty(const struct sk_psock *psock) in sk_psock_queue_empty() argument
299 sk_psock_report_error(struct sk_psock *psock, int err) sk_psock_report_error() argument
333 sk_psock_cork_free(struct sk_psock *psock) sk_psock_cork_free() argument
342 sk_psock_update_proto(struct sock *sk, struct sk_psock *psock, struct proto *ops) sk_psock_update_proto() argument
350 sk_psock_restore_proto(struct sock *sk, struct sk_psock *psock) sk_psock_restore_proto() argument
368 sk_psock_set_state(struct sk_psock *psock, enum sk_psock_state_bits bit) sk_psock_set_state() argument
374 sk_psock_clear_state(struct sk_psock *psock, enum sk_psock_state_bits bit) sk_psock_clear_state() argument
380 sk_psock_test_state(const struct sk_psock *psock, enum sk_psock_state_bits bit) sk_psock_test_state() argument
388 struct sk_psock *psock; sk_psock_get() local
401 sk_psock_put(struct sock *sk, struct sk_psock *psock) sk_psock_put() argument
407 sk_psock_data_ready(struct sock *sk, struct sk_psock *psock) sk_psock_data_ready() argument
447 sk_psock_strp_enabled(struct sk_psock *psock) sk_psock_strp_enabled() argument
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dskmsg.h140 static inline void sk_msg_apply_bytes(struct sk_psock *psock, u32 bytes) in sk_msg_apply_bytes() argument
287 static inline void sk_psock_set_state(struct sk_psock *psock, in sk_psock_set_state() argument
293 static inline void sk_psock_clear_state(struct sk_psock *psock, in sk_psock_clear_state() argument
299 sk_psock_test_state(const struct sk_psock *psock, enum sk_psock_state_bits bit) sk_psock_test_state() argument
311 sk_psock_queue_msg(struct sk_psock *psock, struct sk_msg *msg) sk_psock_queue_msg() argument
324 sk_psock_dequeue_msg(struct sk_psock *psock) sk_psock_dequeue_msg() argument
336 sk_psock_peek_msg(struct sk_psock *psock) sk_psock_peek_msg() argument
346 sk_psock_next_msg(struct sk_psock *psock, struct sk_msg *msg) sk_psock_next_msg() argument
360 sk_psock_queue_empty(const struct sk_psock *psock) sk_psock_queue_empty() argument
372 sk_psock_report_error(struct sk_psock *psock, int err) sk_psock_report_error() argument
388 sk_psock_init_strp(struct sock *sk, struct sk_psock *psock) sk_psock_init_strp() argument
393 sk_psock_start_strp(struct sock *sk, struct sk_psock *psock) sk_psock_start_strp() argument
397 sk_psock_stop_strp(struct sock *sk, struct sk_psock *psock) sk_psock_stop_strp() argument
421 sk_psock_cork_free(struct sk_psock *psock) sk_psock_cork_free() argument
430 sk_psock_restore_proto(struct sock *sk, struct sk_psock *psock) sk_psock_restore_proto() argument
439 struct sk_psock *psock; sk_psock_get() local
451 sk_psock_put(struct sock *sk, struct sk_psock *psock) sk_psock_put() argument
457 sk_psock_data_ready(struct sock *sk, struct sk_psock *psock) sk_psock_data_ready() argument
496 sk_psock_strp_enabled(struct sk_psock *psock) sk_psock_strp_enabled() argument
[all...]
/third_party/curl/lib/
H A Dcf-socket.c1957 Curl_cf_socket_peek(struct Curl_cfilter *cf, struct Curl_easy *data, curl_socket_t *psock, const struct Curl_sockaddr_ex **paddr, const char **pr_ip_str, int *pr_port, const char **pl_ip_str, int *pl_port) Curl_cf_socket_peek() argument
/kernel/linux/linux-5.10/net/tls/
H A Dtls_sw.c798 struct sk_psock *psock; in bpf_exec_tx_verdict() local
1296 tls_wait_data(struct sock *sk, struct sk_psock *psock, bool nonblock, long timeo, int *err) tls_wait_data() argument
1752 struct sk_psock *psock; tls_sw_recvmsg() local
2044 struct sk_psock *psock; tls_sw_stream_read() local
2135 struct sk_psock *psock; tls_data_ready() local
[all...]

Completed in 26 milliseconds