Home
last modified time | relevance | path

Searched defs:sk (Results 1 – 25 of 56) sorted by relevance

123

/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_cm.c94 struct sock *sk) in chtls_find_netdev()
141 static void assign_rxopt(struct sock *sk, unsigned int opt) in assign_rxopt()
169 static void chtls_purge_receive_queue(struct sock *sk) in chtls_purge_receive_queue()
179 static void chtls_purge_write_queue(struct sock *sk) in chtls_purge_write_queue()
190 static void chtls_purge_recv_queue(struct sock *sk) in chtls_purge_recv_queue()
223 static void chtls_send_abort(struct sock *sk, int mode, struct sk_buff *skb) in chtls_send_abort()
245 static void chtls_send_reset(struct sock *sk, int mode, struct sk_buff *skb) in chtls_send_reset()
280 static void release_tcp_port(struct sock *sk) in release_tcp_port()
286 static void tcp_uncork(struct sock *sk) in tcp_uncork()
296 static void chtls_close_conn(struct sock *sk) in chtls_close_conn()
[all …]
Dchtls_io.c43 static int nos_ivs(struct sock *sk, unsigned int size) in nos_ivs()
50 static int set_ivs_imm(struct sock *sk, const struct sk_buff *skb) in set_ivs_imm()
64 static int max_ivs_size(struct sock *sk, int size) in max_ivs_size()
69 static int ivs_size(struct sock *sk, const struct sk_buff *skb) in ivs_size()
89 static struct sk_buff *create_flowc_wr_skb(struct sock *sk, in create_flowc_wr_skb()
106 static int send_flowc_wr(struct sock *sk, struct fw_flowc_wr *flowc, in send_flowc_wr()
159 int send_tx_flowc_wr(struct sock *sk, int compl, in send_tx_flowc_wr()
219 static int tls_copy_ivs(struct sock *sk, struct sk_buff *skb) in tls_copy_ivs()
276 static void tls_copy_tx_key(struct sock *sk, struct sk_buff *skb) in tls_copy_tx_key()
340 static void tls_tx_data_wr(struct sock *sk, struct sk_buff *skb, in tls_tx_data_wr()
[all …]
Dchtls_hw.c41 static void __set_tcb_field(struct sock *sk, struct sk_buff *skb, u16 word, in __set_tcb_field()
61 static int chtls_set_tcb_field(struct sock *sk, u16 word, u64 mask, u64 val) in chtls_set_tcb_field()
91 void chtls_set_tcb_field_rpl_skb(struct sock *sk, u16 word, in chtls_set_tcb_field_rpl_skb()
112 int chtls_set_tcb_tflag(struct sock *sk, unsigned int bit_pos, int val) in chtls_set_tcb_tflag()
118 static int chtls_set_tcb_keyid(struct sock *sk, int keyid) in chtls_set_tcb_keyid()
123 static int chtls_set_tcb_seqno(struct sock *sk) in chtls_set_tcb_seqno()
128 static int chtls_set_tcb_quiesce(struct sock *sk, int val) in chtls_set_tcb_quiesce()
134 void chtls_set_quiesce_ctrl(struct sock *sk, int val) in chtls_set_quiesce_ctrl()
205 void free_tls_keyid(struct sock *sk) in free_tls_keyid()
365 struct sock *sk; in chtls_setkey() local
Dchtls_main.c78 static int listen_backlog_rcv(struct sock *sk, struct sk_buff *skb) in listen_backlog_rcv()
86 static int chtls_start_listen(struct chtls_dev *cdev, struct sock *sk) in chtls_start_listen()
110 static void chtls_stop_listen(struct chtls_dev *cdev, struct sock *sk) in chtls_stop_listen()
144 static int chtls_create_hash(struct tls_toe_device *dev, struct sock *sk) in chtls_create_hash()
153 static void chtls_destroy_hash(struct tls_toe_device *dev, struct sock *sk) in chtls_destroy_hash()
467 static int do_chtls_getsockopt(struct sock *sk, char __user *optval, in do_chtls_getsockopt()
478 static int chtls_getsockopt(struct sock *sk, int level, int optname, in chtls_getsockopt()
490 static int do_chtls_setsockopt(struct sock *sk, int optname, in do_chtls_setsockopt()
569 static int chtls_setsockopt(struct sock *sk, int level, int optname, in chtls_setsockopt()
591 void chtls_install_cpl_ops(struct sock *sk) in chtls_install_cpl_ops()
Dchtls_cm.h89 #define ACCEPT_QUEUE(sk) (&inet_csk(sk)->icsk_accept_queue.rskq_accept_head) argument
98 #define INC_ORPHAN_COUNT(sk) percpu_counter_inc((sk)->sk_prot->orphan_count) argument
110 static inline unsigned int sk_in_state(const struct sock *sk, in sk_in_state()
143 static inline void sk_wakeup_sleepers(struct sock *sk, bool interruptable) in sk_wakeup_sleepers()
172 static inline void chtls_free_skb(struct sock *sk, struct sk_buff *skb) in chtls_free_skb()
179 static inline void chtls_kfree_skb(struct sock *sk, struct sk_buff *skb) in chtls_kfree_skb()
205 static inline struct sk_buff *dequeue_wr(struct sock *sk) in dequeue_wr()
Dchtls.h160 struct sock *sk; /* The listening socket */ member
244 struct sock *sk; member
277 struct sock *sk; member
454 #define TCP_PAGE(sk) (sk->sk_frag.page) argument
455 #define TCP_OFF(sk) (sk->sk_frag.offset) argument
479 static inline int csk_flag(const struct sock *sk, enum csk_flags flag) in csk_flag()
507 struct sock *sk, in process_cpl_msg()
542 static inline void send_or_defer(struct sock *sk, struct tcp_sock *tp, in send_or_defer()
/drivers/isdn/mISDN/
Dsocket.c22 #define _pms(sk) ((struct mISDN_sock *)sk) argument
46 mISDN_sock_link(struct mISDN_sock_list *l, struct sock *sk) in mISDN_sock_link()
53 static void mISDN_sock_unlink(struct mISDN_sock_list *l, struct sock *sk) in mISDN_sock_unlink()
95 mISDN_sock_cmsg(struct sock *sk, struct msghdr *msg, struct sk_buff *skb) in mISDN_sock_cmsg()
110 struct sock *sk = sock->sk; in mISDN_sock_recvmsg() local
169 struct sock *sk = sock->sk; in mISDN_sock_sendmsg() local
238 struct sock *sk = sock->sk; in data_sock_release() local
279 data_sock_ioctl_bound(struct sock *sk, unsigned int cmd, void __user *p) in data_sock_ioctl_bound()
353 struct sock *sk = sock->sk; in data_sock_ioctl() local
406 struct sock *sk = sock->sk; in data_sock_setsockopt() local
[all …]
Ddsp_dtmf.c123 s32 sk, sk1, sk2; in dsp_dtmf_goertzel_decode() local
/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dtls.c39 static void mlx5e_tls_set_ipv4_flow(void *flow, struct sock *sk) in mlx5e_tls_set_ipv4_flow()
51 static void mlx5e_tls_set_ipv6_flow(void *flow, struct sock *sk) in mlx5e_tls_set_ipv6_flow()
63 static void mlx5e_tls_set_flow_tcp_ports(void *flow, struct sock *sk) in mlx5e_tls_set_flow_tcp_ports()
73 static int mlx5e_tls_set_flow(void *flow, struct sock *sk, u32 caps) in mlx5e_tls_set_flow()
102 static int mlx5e_tls_add(struct net_device *netdev, struct sock *sk, in mlx5e_tls_add()
163 static int mlx5e_tls_resync(struct net_device *netdev, struct sock *sk, in mlx5e_tls_resync()
Dktls_rx.c48 struct sock *sk; member
122 struct sock *sk) in accel_rule_init()
438 static bool resync_queue_get_psv(struct sock *sk) in resync_queue_get_psv()
463 struct sock *sk = NULL; in resync_update_sn() local
514 void mlx5e_ktls_rx_resync(struct net_device *netdev, struct sock *sk, in mlx5e_ktls_rx_resync()
571 static int mlx5e_ktls_sk_get_rxq(struct sock *sk) in mlx5e_ktls_sk_get_rxq()
581 int mlx5e_ktls_add_rx(struct net_device *netdev, struct sock *sk, in mlx5e_ktls_add_rx()
Dfs_tcp.c29 static void accel_fs_tcp_set_ipv4_flow(struct mlx5_flow_spec *spec, struct sock *sk) in accel_fs_tcp_set_ipv4_flow()
48 static void accel_fs_tcp_set_ipv6_flow(struct mlx5_flow_spec *spec, struct sock *sk) in accel_fs_tcp_set_ipv6_flow()
75 struct sock *sk, u32 tirn, in mlx5e_accel_fs_add_sk()
Dktls.c9 static int mlx5e_ktls_add(struct net_device *netdev, struct sock *sk, in mlx5e_ktls_add()
40 struct sock *sk, u32 seq, u8 *rcd_sn, in mlx5e_ktls_resync()
Dfs_tcp.h20 struct sock *sk, u32 tirn, in mlx5e_accel_fs_add_sk()
/drivers/net/ppp/
Dpptp.c135 struct sock *sk = &po->sk; in pptp_route_output() local
151 struct sock *sk = (struct sock *) chan->private; in pptp_xmit() local
269 static int pptp_rcv_core(struct sock *sk, struct sk_buff *skb) in pptp_rcv_core()
386 struct sock *sk = sock->sk; in pptp_bind() local
419 struct sock *sk = sock->sk; in pptp_connect() local
503 struct sock *sk = sock->sk; in pptp_release() local
533 static void pptp_sock_destruct(struct sock *sk) in pptp_sock_destruct()
546 struct sock *sk; in pptp_create() local
580 struct sock *sk = (struct sock *) chan->private; in pptp_ppp_ioctl() local
Dpppoe.c282 struct sock *sk; in pppoe_flush_dev() local
365 static int pppoe_rcv_core(struct sock *sk, struct sk_buff *skb) in pppoe_rcv_core()
463 struct sock *sk = sk_pppox(po); in pppoe_unbind_sock_work() local
538 struct sock *sk; in pppoe_create() local
563 struct sock *sk = sock->sk; in pppoe_release() local
612 struct sock *sk = sock->sk; in pppoe_connect() local
739 struct sock *sk = sock->sk; in pppoe_ioctl() local
840 struct sock *sk = sock->sk; in pppoe_sendmsg() local
912 static int __pppoe_xmit(struct sock *sk, struct sk_buff *skb) in __pppoe_xmit()
971 struct sock *sk = (struct sock *)chan->private; in pppoe_xmit() local
[all …]
Dpppox.c53 void pppox_unbind_sock(struct sock *sk) in pppox_unbind_sock()
69 struct sock *sk = sock->sk; in pppox_ioctl() local
/drivers/target/iscsi/
Discsi_target_nego.c391 static void iscsi_target_sk_data_ready(struct sock *sk) in iscsi_target_sk_data_ready()
434 struct sock *sk; in iscsi_target_set_sock_callbacks() local
456 struct sock *sk; in iscsi_target_restore_sock_callbacks() local
480 static bool __iscsi_target_sk_check_close(struct sock *sk) in __iscsi_target_sk_check_close()
495 struct sock *sk = conn->sock->sk; in iscsi_target_sk_check_close() local
510 struct sock *sk = conn->sock->sk; in iscsi_target_sk_check_flag() local
524 struct sock *sk = conn->sock->sk; in iscsi_target_sk_check_and_clear() local
639 struct sock *sk = conn->sock->sk; in iscsi_target_do_login_rx() local
671 static void iscsi_target_sk_state_change(struct sock *sk) in iscsi_target_sk_state_change()
1307 struct sock *sk = conn->sock->sk; in iscsi_target_start_negotiation() local
/drivers/infiniband/sw/siw/
Dsiw_cm.c41 static void siw_sk_assign_cm_upcalls(struct sock *sk) in siw_sk_assign_cm_upcalls()
51 static void siw_sk_save_upcalls(struct sock *sk) in siw_sk_save_upcalls()
63 static void siw_sk_restore_upcalls(struct sock *sk, struct siw_cep *cep) in siw_sk_restore_upcalls()
75 struct sock *sk = s->sk; in siw_qp_socket_assoc() local
88 struct sock *sk = s->sk; in siw_socket_disassoc() local
106 static void siw_rtr_data_ready(struct sock *sk) in siw_rtr_data_ready()
142 struct sock *sk = cep->sock->sk; in siw_sk_assign_rtr_upcalls() local
1219 static void siw_cm_llp_data_ready(struct sock *sk) in siw_cm_llp_data_ready()
1253 static void siw_cm_llp_write_space(struct sock *sk) in siw_cm_llp_write_space()
1261 static void siw_cm_llp_error_report(struct sock *sk) in siw_cm_llp_error_report()
[all …]
Dsiw_cm.h130 #define sk_to_qp(sk) (((struct siw_cep *)((sk)->sk_user_data))->qp) argument
131 #define sk_to_cep(sk) ((struct siw_cep *)((sk)->sk_user_data)) argument
Dsiw_qp.c93 void siw_qp_llp_data_ready(struct sock *sk) in siw_qp_llp_data_ready()
183 void siw_qp_llp_write_space(struct sock *sk) in siw_qp_llp_write_space()
/drivers/net/
Dvrf.c440 static int vrf_ip6_local_out(struct net *net, struct sock *sk, in vrf_ip6_local_out()
522 static int vrf_ip_local_out(struct net *net, struct sock *sk, in vrf_ip_local_out()
654 static int vrf_finish_output6(struct net *net, struct sock *sk, in vrf_finish_output6()
688 static int vrf_output6(struct net *net, struct sock *sk, struct sk_buff *skb) in vrf_output6()
728 static int vrf_output6_direct_finish(struct net *net, struct sock *sk, in vrf_output6_direct_finish()
736 static int vrf_output6_direct(struct net *net, struct sock *sk, in vrf_output6_direct()
753 static int vrf_ip6_out_direct_finish(struct net *net, struct sock *sk, in vrf_ip6_out_direct_finish()
766 struct sock *sk, in vrf_ip6_out_direct()
787 struct sock *sk, in vrf_ip6_out()
856 struct sock *sk, in vrf_ip6_out()
[all …]
Dgtp.c56 struct sock *sk; member
281 static void __gtp_encap_destroy(struct sock *sk) in __gtp_encap_destroy()
301 static void gtp_encap_destroy(struct sock *sk) in gtp_encap_destroy()
308 static void gtp_encap_disable_sock(struct sock *sk) in gtp_encap_disable_sock()
325 static int gtp_encap_recv(struct sock *sk, struct sk_buff *skb) in gtp_encap_recv()
387 const struct sock *sk, in ip4_route_output_gtp()
441 struct sock *sk; member
465 struct sock *sk, struct iphdr *iph, in gtp_set_pktinfo_ipv4()
792 struct sock *sk; in gtp_encap_enable_socket() local
927 static struct pdp_ctx *gtp_pdp_add(struct gtp_dev *gtp, struct sock *sk, in gtp_pdp_add()
[all …]
/drivers/net/ethernet/netronome/nfp/crypto/
Dtls.c176 struct sock *sk, int direction) in nfp_net_tls_set_ipv4()
194 struct sock *sk, int direction) in nfp_net_tls_set_ipv6()
214 struct nfp_crypto_req_add_back *back, struct sock *sk, in nfp_net_tls_set_l4()
264 nfp_net_tls_add(struct net_device *netdev, struct sock *sk, in nfp_net_tls_add()
423 nfp_net_tls_resync(struct net_device *netdev, struct sock *sk, u32 seq, in nfp_net_tls_resync()
480 struct sock *sk; in nfp_net_tls_rx_resync_req() local
/drivers/scsi/
Discsi_tcp.c111 static inline int iscsi_sw_sk_state_check(struct sock *sk) in iscsi_sw_sk_state_check()
125 static void iscsi_sw_tcp_data_ready(struct sock *sk) in iscsi_sw_tcp_data_ready()
157 static void iscsi_sw_tcp_state_change(struct sock *sk) in iscsi_sw_tcp_state_change()
186 static void iscsi_sw_tcp_write_space(struct sock *sk) in iscsi_sw_tcp_write_space()
215 struct sock *sk = tcp_sw_conn->sock->sk; in iscsi_sw_tcp_conn_set_callbacks() local
234 struct sock *sk = tcp_sw_conn->sock->sk; in iscsi_sw_tcp_conn_restore_callbacks() local
263 struct socket *sk = tcp_sw_conn->sock; in iscsi_sw_tcp_xmit_segment() local
670 struct sock *sk; in iscsi_sw_tcp_conn_bind() local
/drivers/infiniband/sw/rxe/
Drxe_net.c153 static int rxe_udp_encap_recv(struct sock *sk, struct sk_buff *skb) in rxe_udp_encap_recv()
227 static void rxe_release_udp_tunnel(struct socket *sk) in rxe_release_udp_tunnel()
372 struct sock *sk = skb->sk; in rxe_skb_tx_dtor() local

123