Home
last modified time | relevance | path

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

/linux/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
500 int sk_msg_recvmsg(struct sock *sk, struct sk_psock *psock, struct msghdr *msg, in sk_msg_recvmsg() argument
509 struct sk_psock *psock; in sk_msg_is_readable() local
546 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
590 sk_psock_skb_ingress(struct sk_psock * psock,struct sk_buff * skb,u32 off,u32 len) sk_psock_skb_ingress() argument
624 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
646 sk_psock_handle_skb(struct sk_psock * psock,struct sk_buff * skb,u32 off,u32 len,bool ingress) sk_psock_handle_skb() argument
658 sk_psock_skb_state(struct sk_psock * psock,struct sk_psock_work_state * state,int len,int off) sk_psock_skb_state() argument
673 struct sk_psock *psock = container_of(dwork, struct sk_psock, work); sk_psock_backlog() local
751 struct sk_psock *psock; sk_psock_init() local
804 sk_psock_link_pop(struct sk_psock * psock) sk_psock_link_pop() argument
817 __sk_psock_purge_ingress_msg(struct sk_psock * psock) __sk_psock_purge_ingress_msg() argument
832 __sk_psock_zap_ingress(struct sk_psock * psock) __sk_psock_zap_ingress() argument
843 sk_psock_link_destroy(struct sk_psock * psock) sk_psock_link_destroy() argument
853 sk_psock_stop(struct sk_psock * psock) sk_psock_stop() argument
865 struct sk_psock *psock = container_of(to_rcu_work(work), sk_psock_destroy() local
888 sk_psock_drop(struct sock * sk,struct sk_psock * psock) sk_psock_drop() argument
919 sk_psock_msg_verdict(struct sock * sk,struct sk_psock * psock,struct sk_msg * msg) sk_psock_msg_verdict() argument
1009 sk_psock_tls_strp_read(struct sk_psock * psock,struct sk_buff * skb) sk_psock_tls_strp_read() argument
1030 sk_psock_verdict_apply(struct sk_psock * psock,struct sk_buff * skb,int verdict) sk_psock_verdict_apply() argument
1093 struct sk_psock *psock; sk_psock_write_space() local
1111 struct sk_psock *psock; sk_psock_strp_read() local
1145 struct sk_psock *psock = container_of(strp, struct sk_psock, strp); sk_psock_strp_parse() local
1163 struct sk_psock *psock; sk_psock_strp_data_ready() local
1181 sk_psock_init_strp(struct sock * sk,struct sk_psock * psock) sk_psock_init_strp() argument
1202 sk_psock_start_strp(struct sock * sk,struct sk_psock * psock) sk_psock_start_strp() argument
1212 sk_psock_stop_strp(struct sock * sk,struct sk_psock * psock) sk_psock_stop_strp() argument
1224 sk_psock_done_strp(struct sk_psock * psock) sk_psock_done_strp() argument
1231 sk_psock_done_strp(struct sk_psock * psock) sk_psock_done_strp() argument
1238 struct sk_psock *psock; sk_psock_verdict_recv() local
1283 struct sk_psock *psock; sk_psock_verdict_data_ready() local
1293 sk_psock_start_verdict(struct sock * sk,struct sk_psock * psock) sk_psock_start_verdict() argument
1303 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/include/linux/
H A Dskmsg.h155 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 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/net/ipv4/
H A Dtcp_bpf.c33 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()
228 struct sk_psock *psock; in tcp_bpf_recvmsg_parser() local
357 struct sk_psock *psock; in tcp_bpf_recvmsg() local
404 static int tcp_bpf_send_verdict(struct sock *sk, struct sk_psock *psock, in tcp_bpf_send_verdict()
522 struct sk_psock *psock; in tcp_bpf_sendmsg() local
678 struct sk_psock *psock; in tcp_bpf_strp_read_sock() local
709 int tcp_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore) in tcp_bpf_update_proto()
H A Dudp_bpf.c30 static bool psock_has_data(struct sk_psock *psock) in psock_has_data()
39 static int udp_msg_wait_data(struct sock *sk, struct sk_psock *psock, in udp_msg_wait_data()
66 struct sk_psock *psock; in udp_bpf_recvmsg() local
156 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.c850 struct sk_psock *psock; in bpf_exec_tx_verdict() local
1350 tls_rx_rec_wait(struct sock *sk, struct sk_psock *psock, bool nonblock, in tls_rx_rec_wait()
2042 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