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) sk_psock_skb_ingress_enqueue() argument
569 sk_psock_skb_ingress(struct sk_psock * psock,struct sk_buff * skb,u32 off,u32 len) sk_psock_skb_ingress() argument
603 sk_psock_skb_ingress_self(struct sk_psock * psock,struct sk_buff * skb,u32 off,u32 len) sk_psock_skb_ingress_self() argument
619 sk_psock_handle_skb(struct sk_psock * psock,struct sk_buff * skb,u32 off,u32 len,bool ingress) sk_psock_handle_skb() argument
636 sk_psock_skb_state(struct sk_psock * psock,struct sk_psock_work_state * state,int len,int off) sk_psock_skb_state() argument
651 struct sk_psock *psock = container_of(dwork, struct sk_psock, work); sk_psock_backlog() local
709 struct sk_psock *psock; sk_psock_init() local
762 sk_psock_link_pop(struct sk_psock * psock) sk_psock_link_pop() argument
775 __sk_psock_purge_ingress_msg(struct sk_psock * psock) __sk_psock_purge_ingress_msg() argument
788 __sk_psock_zap_ingress(struct sk_psock * psock) __sk_psock_zap_ingress() argument
799 sk_psock_link_destroy(struct sk_psock * psock) sk_psock_link_destroy() argument
809 sk_psock_stop(struct sk_psock * psock) sk_psock_stop() argument
821 struct sk_psock *psock = container_of(to_rcu_work(work), sk_psock_destroy() local
844 sk_psock_drop(struct sock * sk,struct sk_psock * psock) sk_psock_drop() argument
875 sk_psock_msg_verdict(struct sock * sk,struct sk_psock * psock,struct sk_msg * msg) sk_psock_msg_verdict() argument
964 sk_psock_tls_strp_read(struct sk_psock * psock,struct sk_buff * skb) sk_psock_tls_strp_read() argument
985 sk_psock_verdict_apply(struct sk_psock * psock,struct sk_buff * skb,int verdict) sk_psock_verdict_apply() argument
1048 struct sk_psock *psock; sk_psock_write_space() local
1066 struct sk_psock *psock; sk_psock_strp_read() local
1100 struct sk_psock *psock = container_of(strp, struct sk_psock, strp); sk_psock_strp_parse() local
1118 struct sk_psock *psock; sk_psock_strp_data_ready() local
1136 sk_psock_init_strp(struct sock * sk,struct sk_psock * psock) sk_psock_init_strp() argument
1157 sk_psock_start_strp(struct sock * sk,struct sk_psock * psock) sk_psock_start_strp() argument
1167 sk_psock_stop_strp(struct sock * sk,struct sk_psock * psock) sk_psock_stop_strp() argument
1179 sk_psock_done_strp(struct sk_psock * psock) sk_psock_done_strp() argument
1186 sk_psock_done_strp(struct sk_psock * psock) sk_psock_done_strp() argument
1193 struct sk_psock *psock; sk_psock_verdict_recv() local
1238 struct sk_psock *psock; sk_psock_verdict_data_ready() local
1248 sk_psock_start_verdict(struct sock * sk,struct sk_psock * psock) sk_psock_start_verdict() argument
1258 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.c55 static void kcm_abort_tx_psock(struct kcm_psock *psock, int err, in kcm_abort_tx_psock()
95 struct kcm_psock *psock) in kcm_update_rx_mux_stats()
107 struct kcm_psock *psock) in kcm_update_tx_mux_stats()
126 struct kcm_psock *psock; in kcm_rcv_ready() local
254 static struct kcm_sock *reserve_rx_kcm(struct kcm_psock *psock, in reserve_rx_kcm()
306 static void unreserve_rx_kcm(struct kcm_psock *psock, in unreserve_rx_kcm()
351 struct kcm_psock *psock; in psock_data_ready() local
367 struct kcm_psock *psock = container_of(strp, struct kcm_psock, strp); in kcm_rcv_strparser() local
388 struct kcm_psock *psock = container_of(strp, struct kcm_psock, strp); in kcm_parse_func_strparser() local
398 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()
298 static inline void sk_psock_set_state(struct sk_psock *psock, in sk_psock_set_state()
304 static inline void sk_psock_clear_state(struct sk_psock *psock, in sk_psock_clear_state()
310 static inline bool sk_psock_test_state(const struct sk_psock *psock, in sk_psock_test_state()
322 static inline bool sk_psock_queue_msg(struct sk_psock *psock, in sk_psock_queue_msg()
340 static inline struct sk_msg *sk_psock_dequeue_msg(struct sk_psock *psock) in sk_psock_dequeue_msg()
352 static inline struct sk_msg *sk_psock_peek_msg(struct sk_psock *psock) in sk_psock_peek_msg()
362 static inline struct sk_msg *sk_psock_next_msg(struct sk_psock *psock, in sk_psock_next_msg()
376 static inline bool sk_psock_queue_empty(const struct sk_psock *psock) in sk_psock_queue_empty()
388 static inline void sk_psock_report_error(struct sk_psock *psock, int err) in sk_psock_report_error()
[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()
499 struct sk_psock *psock; in tcp_bpf_sendmsg() local
654 struct sk_psock *psock; in tcp_bpf_strp_read_sock() local
685 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
1308 tls_rx_rec_wait(struct sock * sk,struct sk_psock * psock,bool nonblock,bool released) tls_rx_rec_wait() argument
1994 struct sk_psock *psock; tls_sw_recvmsg() local
2287 struct sk_psock *psock; tls_sw_read_sock() local
2380 struct sk_psock *psock; tls_sw_sock_is_readable() local
2464 struct sk_psock *psock; tls_data_ready() local
[all...]
H A Dtls_main.c410 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