Home
last modified time | relevance | path

Searched defs:psock (Results 1 – 14 of 14) sorted by relevance

/linux/net/core/
H A Dskmsg.c413 int sk_msg_recvmsg(struct sock *sk, struct sk_psock *psock, struct msghdr *msg, in sk_msg_recvmsg() argument
494 struct sk_psock *psock; in sk_msg_is_readable() local
531 sk_psock_skb_ingress_enqueue(struct sk_buff * skb,u32 off,u32 len,struct sk_psock * psock,struct sock * sk,struct sk_msg * msg,bool take_ref) sk_psock_skb_ingress_enqueue() argument
575 sk_psock_skb_ingress(struct sk_psock * psock,struct sk_buff * skb,u32 off,u32 len) sk_psock_skb_ingress() argument
609 sk_psock_skb_ingress_self(struct sk_psock * psock,struct sk_buff * skb,u32 off,u32 len,bool take_ref) sk_psock_skb_ingress_self() argument
625 sk_psock_handle_skb(struct sk_psock * psock,struct sk_buff * skb,u32 off,u32 len,bool ingress) sk_psock_handle_skb() argument
637 sk_psock_skb_state(struct sk_psock * psock,struct sk_psock_work_state * state,int len,int off) sk_psock_skb_state() argument
652 struct sk_psock *psock = container_of(dwork, struct sk_psock, work); sk_psock_backlog() local
730 struct sk_psock *psock; sk_psock_init() local
783 sk_psock_link_pop(struct sk_psock * psock) sk_psock_link_pop() argument
796 __sk_psock_purge_ingress_msg(struct sk_psock * psock) __sk_psock_purge_ingress_msg() argument
809 __sk_psock_zap_ingress(struct sk_psock * psock) __sk_psock_zap_ingress() argument
820 sk_psock_link_destroy(struct sk_psock * psock) sk_psock_link_destroy() argument
830 sk_psock_stop(struct sk_psock * psock) sk_psock_stop() argument
842 struct sk_psock *psock = container_of(to_rcu_work(work), sk_psock_destroy() local
865 sk_psock_drop(struct sock * sk,struct sk_psock * psock) sk_psock_drop() argument
896 sk_psock_msg_verdict(struct sock * sk,struct sk_psock * psock,struct sk_msg * msg) sk_psock_msg_verdict() argument
985 sk_psock_tls_strp_read(struct sk_psock * psock,struct sk_buff * skb) sk_psock_tls_strp_read() argument
1006 sk_psock_verdict_apply(struct sk_psock * psock,struct sk_buff * skb,int verdict) sk_psock_verdict_apply() argument
1069 struct sk_psock *psock; sk_psock_write_space() local
1087 struct sk_psock *psock; sk_psock_strp_read() local
1121 struct sk_psock *psock = container_of(strp, struct sk_psock, strp); sk_psock_strp_parse() local
1139 struct sk_psock *psock; sk_psock_strp_data_ready() local
1157 sk_psock_init_strp(struct sock * sk,struct sk_psock * psock) sk_psock_init_strp() argument
1178 sk_psock_start_strp(struct sock * sk,struct sk_psock * psock) sk_psock_start_strp() argument
1188 sk_psock_stop_strp(struct sock * sk,struct sk_psock * psock) sk_psock_stop_strp() argument
1200 sk_psock_done_strp(struct sk_psock * psock) sk_psock_done_strp() argument
1207 sk_psock_done_strp(struct sk_psock * psock) sk_psock_done_strp() argument
1214 struct sk_psock *psock; sk_psock_verdict_recv() local
1259 struct sk_psock *psock; sk_psock_verdict_data_ready() local
1269 sk_psock_start_verdict(struct sock * sk,struct sk_psock * psock) sk_psock_start_verdict() argument
1279 sk_psock_stop_verdict(struct sock * sk,struct sk_psock * psock) sk_psock_stop_verdict() argument
[all...]
H A Dsock_map.c131 static void sock_map_add_link(struct sk_psock *psock, in sock_map_add_link()
143 struct sk_psock *psock, void *link_raw) in sock_map_del_link()
181 struct sk_psock *psock = sk_psock(sk); in sock_map_unref() local
189 static int sock_map_init_proto(struct sock *sk, struct sk_psock *psock) in sock_map_init_proto()
199 struct sk_psock *psock; in sock_map_psock_get_checked() local
224 struct sk_psock *psock; in sock_map_link() local
475 struct sk_psock *psock; in sock_map_update_common() local
999 struct sk_psock *psock; in sock_hash_update_common() local
1618 static void sock_map_remove_links(struct sock *sk, struct sk_psock *psock) in sock_map_remove_links()
1631 struct sk_psock *psock; in sock_map_unhash() local
[all …]
/linux/net/kcm/
H A Dkcmsock.c56 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 Dkcmproc.c139 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/include/linux/
H A Dskmsg.h151 static inline void sk_msg_apply_bytes(struct sk_psock *psock, u32 bytes) in sk_msg_apply_bytes() argument
298 static inline void sk_psock_set_state(struct sk_psock *psock, in sk_psock_set_state() argument
304 sk_psock_clear_state(struct sk_psock * psock,enum sk_psock_state_bits bit) sk_psock_clear_state() argument
310 sk_psock_test_state(const struct sk_psock * psock,enum sk_psock_state_bits bit) sk_psock_test_state() argument
322 sk_psock_queue_msg(struct sk_psock * psock,struct sk_msg * msg) sk_psock_queue_msg() argument
340 sk_psock_dequeue_msg(struct sk_psock * psock) sk_psock_dequeue_msg() argument
352 sk_psock_peek_msg(struct sk_psock * psock) sk_psock_peek_msg() argument
362 sk_psock_next_msg(struct sk_psock * psock,struct sk_msg * msg) sk_psock_next_msg() argument
376 sk_psock_queue_empty(const struct sk_psock * psock) sk_psock_queue_empty() argument
388 sk_psock_report_error(struct sk_psock * psock,int err) sk_psock_report_error() argument
404 sk_psock_init_strp(struct sock * sk,struct sk_psock * psock) sk_psock_init_strp() argument
409 sk_psock_start_strp(struct sock * sk,struct sk_psock * psock) sk_psock_start_strp() argument
413 sk_psock_stop_strp(struct sock * sk,struct sk_psock * psock) sk_psock_stop_strp() argument
440 sk_psock_cork_free(struct sk_psock * psock) sk_psock_cork_free() argument
450 sk_psock_restore_proto(struct sock * sk,struct sk_psock * psock) sk_psock_restore_proto() argument
458 struct sk_psock *psock; sk_psock_get() local
470 sk_psock_put(struct sock * sk,struct sk_psock * psock) sk_psock_put() argument
476 sk_psock_data_ready(struct sock * sk,struct sk_psock * psock) sk_psock_data_ready() argument
517 sk_psock_strp_enabled(struct sk_psock * psock) sk_psock_strp_enabled() argument
[all...]
/linux/net/ipv4/
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() local
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() local
337 struct sk_psock *psock; in tcp_bpf_recvmsg() local
384 static int tcp_bpf_send_verdict(struct sock *sk, struct sk_psock *psock, in tcp_bpf_send_verdict()
502 struct sk_psock *psock; in tcp_bpf_sendmsg() local
657 struct sk_psock *psock; in tcp_bpf_strp_read_sock() local
688 int tcp_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore) in tcp_bpf_update_proto()
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() local
141 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 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() local
150 int vsock_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore) in vsock_bpf_update_proto()
/linux/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() local
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()
/linux/drivers/pcmcia/
H A Dtcic.c105 u_short psock; member
533 u_short psock; in tcic_interrupt() local
595 u_short psock = container_of(sock, struct tcic_socket, socket)->psock; in tcic_get_status() local
621 u_short psock = container_of(sock, struct tcic_socket, socket)->psock; in tcic_set_socket() local
696 u_short psock = container_of(sock, struct tcic_socket, socket)->psock; in tcic_set_io_map() local
733 u_short psock = container_of(sock, struct tcic_socket, socket)->psock; in tcic_set_mem_map() local
H A Di82365.c149 u_short psock; member
662 static void __init add_socket(unsigned int port, int psock, int type) in add_socket()
/linux/net/tls/
H A Dtls_sw.c849 struct sk_psock *psock; in bpf_exec_tx_verdict() local
1349 tls_rx_rec_wait(struct sock *sk, struct sk_psock *psock, bool nonblock, in tls_rx_rec_wait()
2041 struct sk_psock *psock; in tls_sw_recvmsg() local
2336 struct sk_psock *psock; in tls_sw_read_sock() local
2429 struct sk_psock *psock; in tls_sw_sock_is_readable() local
2512 struct sk_psock *psock; in tls_data_ready() local
H A Dtls_main.c407 struct sk_psock *psock; in tls_sk_poll() local
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dlwt_redirect.c162 int psock = -1; in send_and_capture_test_packets() local