Home
last modified time | relevance | path

Searched refs:sk_user_data (Results 1 – 25 of 46) sorted by relevance

12

/Linux-v5.15/kernel/bpf/
Dreuseport_array.c23 uintptr_t sk_user_data; in bpf_sk_reuseport_detach() local
26 sk_user_data = (uintptr_t)sk->sk_user_data; in bpf_sk_reuseport_detach()
27 if (sk_user_data & SK_USER_DATA_BPF) { in bpf_sk_reuseport_detach()
30 socks = (void *)(sk_user_data & SK_USER_DATA_PTRMASK); in bpf_sk_reuseport_detach()
31 WRITE_ONCE(sk->sk_user_data, NULL); in bpf_sk_reuseport_detach()
83 WRITE_ONCE(sk->sk_user_data, NULL); in reuseport_array_delete_elem()
137 sk->sk_user_data = NULL; in reuseport_array_free()
230 if (READ_ONCE(nsk->sk_user_data)) in reuseport_array_update_check()
248 uintptr_t sk_user_data; in bpf_fd_reuseport_array_update_elem() local
302 sk_user_data = (uintptr_t)&array->ptrs[index] | SK_USER_DATA_NOCOPY | in bpf_fd_reuseport_array_update_elem()
[all …]
/Linux-v5.15/net/phonet/
Dpep-gprs.c65 struct gprs_dev *gp = sk->sk_user_data; in gprs_state_change()
138 struct gprs_dev *gp = sk->sk_user_data; in gprs_data_ready()
149 struct gprs_dev *gp = sk->sk_user_data; in gprs_write_space()
263 if (unlikely(sk->sk_user_data)) { in gprs_attach()
272 sk->sk_user_data = gp; in gprs_attach()
293 struct gprs_dev *gp = sk->sk_user_data; in gprs_detach()
297 sk->sk_user_data = NULL; in gprs_detach()
/Linux-v5.15/net/rds/
Dtcp_listen.c237 ready = sk->sk_user_data; in rds_tcp_listen_data_ready()
284 sock->sk->sk_user_data = sock->sk->sk_data_ready; in rds_tcp_listen_init()
334 if (sk->sk_user_data) { in rds_tcp_listen_stop()
335 sk->sk_data_ready = sk->sk_user_data; in rds_tcp_listen_stop()
336 sk->sk_user_data = NULL; in rds_tcp_listen_stop()
Dtcp.c124 sock->sk->sk_user_data = NULL; in rds_tcp_restore_callbacks()
212 sock->sk->sk_data_ready = sock->sk->sk_user_data; in rds_tcp_set_callbacks()
220 sock->sk->sk_user_data = cp; in rds_tcp_set_callbacks()
643 return lsock->sk->sk_user_data; in rds_tcp_listen_sock_def_readable()
Dtcp_connect.c47 cp = sk->sk_user_data; in rds_tcp_state_change()
Dtcp_send.c185 cp = sk->sk_user_data; in rds_tcp_write_space()
Dtcp_recv.c315 cp = sk->sk_user_data; in rds_tcp_data_ready()
/Linux-v5.15/drivers/infiniband/sw/siw/
Dsiw_cm.h130 #define sk_to_qp(sk) (((struct siw_cep *)((sk)->sk_user_data))->qp)
131 #define sk_to_cep(sk) ((struct siw_cep *)((sk)->sk_user_data))
/Linux-v5.15/net/tipc/
Dtopsrv.c164 sk->sk_user_data = NULL; in tipc_conn_close()
349 con = sk->sk_user_data; in tipc_conn_write_space()
441 con = sk->sk_user_data; in tipc_conn_data_ready()
474 newsk->sk_user_data = con; in tipc_topsrv_accept()
491 srv = sk->sk_user_data; in tipc_topsrv_listener_data_ready()
512 sk->sk_user_data = srv; in tipc_topsrv_create_listener()
/Linux-v5.15/net/l2tp/
Dl2tp_ppp.c161 session = (struct l2tp_session *)(sk->sk_user_data); in pppol2tp_sock_to_session()
410 struct l2tp_session *session = sk->sk_user_data; in pppol2tp_session_destruct()
416 sk->sk_user_data = NULL; in pppol2tp_session_destruct()
685 if (sk->sk_user_data) in pppol2tp_connect()
823 sk->sk_user_data = session; in pppol2tp_connect()
1064 session = sock->sk->sk_user_data; in pppol2tp_ioctl()
1081 session = sock->sk->sk_user_data; in pppol2tp_ioctl()
1097 session = sock->sk->sk_user_data; in pppol2tp_ioctl()
1249 if (!sk->sk_user_data) in pppol2tp_setsockopt()
1357 if (!sk->sk_user_data) in pppol2tp_getsockopt()
[all …]
Dl2tp_core.c168 struct l2tp_tunnel *tunnel = sk->sk_user_data; in l2tp_sk_to_tunnel()
1154 sk->sk_user_data = NULL; in l2tp_tunnel_destruct()
1449 if (sk->sk_user_data) in l2tp_validate_socket()
1501 .sk_user_data = tunnel, in l2tp_tunnel_register()
1509 sk->sk_user_data = tunnel; in l2tp_tunnel_register()
/Linux-v5.15/fs/ocfs2/cluster/
Dtcp.c589 sc = sk->sk_user_data; in o2net_data_ready()
610 sc = sk->sk_user_data; in o2net_state_change()
652 sk->sk_data_ready = sk->sk_user_data; in o2net_register_callbacks()
653 sk->sk_user_data = NULL; in o2net_register_callbacks()
656 BUG_ON(sk->sk_user_data != NULL); in o2net_register_callbacks()
657 sk->sk_user_data = sc; in o2net_register_callbacks()
676 if (sk->sk_user_data == sc) { in o2net_unregister_callbacks()
678 sk->sk_user_data = NULL; in o2net_unregister_callbacks()
1936 ready = sk->sk_user_data; in o2net_listen_data_ready()
1986 sock->sk->sk_user_data = sock->sk->sk_data_ready; in o2net_open_listening_sock()
[all …]
/Linux-v5.15/drivers/scsi/
Discsi_tcp.c113 struct iscsi_conn *conn = sk->sk_user_data; in iscsi_sw_sk_state_check()
132 conn = sk->sk_user_data; in iscsi_sw_tcp_data_ready()
165 conn = sk->sk_user_data; in iscsi_sw_tcp_state_change()
194 conn = sk->sk_user_data; in iscsi_sw_tcp_write_space()
219 sk->sk_user_data = conn; in iscsi_sw_tcp_conn_set_callbacks()
238 sk->sk_user_data = NULL; in iscsi_sw_tcp_conn_restore_callbacks()
/Linux-v5.15/drivers/target/iscsi/
Discsi_target_nego.c385 struct iscsi_conn *conn = sk->sk_user_data; in iscsi_target_sk_data_ready()
391 if (!sk->sk_user_data) { in iscsi_target_sk_data_ready()
435 sk->sk_user_data = conn; in iscsi_target_set_sock_callbacks()
457 if (!sk->sk_user_data) { in iscsi_target_restore_sock_callbacks()
461 sk->sk_user_data = NULL; in iscsi_target_restore_sock_callbacks()
672 conn = sk->sk_user_data; in iscsi_target_sk_state_change()
/Linux-v5.15/drivers/xen/
Dpvcalls-back.c289 struct sock_mapping *map = sock->sk_user_data; in pvcalls_sk_state_change()
300 struct sock_mapping *map = sock->sk_user_data; in pvcalls_sk_data_ready()
372 map->sock->sk->sk_user_data = map; in pvcalls_new_active_socket()
439 map->sock->sk->sk_user_data = NULL; in pvcalls_back_release_active()
463 mappass->sock->sk->sk_user_data = NULL; in pvcalls_back_release_passive()
586 struct sockpass_mapping *mappass = sock->sk_user_data; in pvcalls_pass_sk_data_ready()
662 map->sock->sk->sk_user_data = map; in pvcalls_back_bind()
907 map->sock->sk->sk_user_data != map) { in pvcalls_back_conn_event()
/Linux-v5.15/net/rxrpc/
Dlocal_object.c137 tuncfg.sk_user_data = local; in rxrpc_open_socket()
384 socket->sk->sk_user_data = NULL; in rxrpc_local_destroyer()
/Linux-v5.15/drivers/nvme/target/
Dtcp.c1401 sock->sk->sk_user_data = NULL; in nvmet_tcp_restore_socket_callbacks()
1461 queue = sk->sk_user_data; in nvmet_tcp_data_ready()
1472 queue = sk->sk_user_data; in nvmet_tcp_write_space()
1494 queue = sk->sk_user_data; in nvmet_tcp_state_change()
1552 sock->sk->sk_user_data = queue; in nvmet_tcp_set_queue_sock()
1655 port = sk->sk_user_data; in nvmet_tcp_listen_data_ready()
1709 port->sock->sk->sk_user_data = port; in nvmet_tcp_add_port()
1749 port->sock->sk->sk_user_data = NULL; in nvmet_tcp_remove_port()
/Linux-v5.15/net/sunrpc/
Dsvcsock.c322 struct svc_sock *svsk = (struct svc_sock *)sk->sk_user_data; in svc_data_ready()
339 struct svc_sock *svsk = (struct svc_sock *)(sk->sk_user_data); in svc_write_space()
696 struct svc_sock *svsk = (struct svc_sock *)sk->sk_user_data; in svc_tcp_listen_data_ready()
727 struct svc_sock *svsk = (struct svc_sock *)sk->sk_user_data; in svc_tcp_state_change()
1333 inet->sk_user_data = svsk; in svc_setup_socket()
1507 sk->sk_user_data = NULL; in svc_sock_detach()
/Linux-v5.15/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_cm.c1022 csk = sk->sk_user_data; in chtls_pass_accept_rpl()
1184 newsk->sk_user_data = csk; in chtls_recv_sock()
1523 struct chtls_sock *csk = sk->sk_user_data; in add_to_reap_list()
1546 csk = child->sk_user_data; in add_pass_open_to_parent()
1591 csk = sk->sk_user_data; in chtls_pass_establish()
1664 if (unlikely(sk->sk_user_data && in check_sk_callbacks()
2079 csk = sk->sk_user_data; in abort_syn_rcv()
2111 struct chtls_sock *csk = sk->sk_user_data; in chtls_abort_req_rss()
2191 csk = sk->sk_user_data; in chtls_conn_cpl()
2226 struct chtls_sock *csk = sk->sk_user_data; in chtls_rx_ack()
/Linux-v5.15/drivers/soc/qcom/
Dqmi_interface.c570 struct qmi_handle *qmi = sk->sk_user_data; in qmi_data_ready()
599 sock->sk->sk_user_data = qmi; in qmi_sock_create()
689 sock->sk->sk_user_data = NULL; in qmi_handle_release()
/Linux-v5.15/drivers/net/wireguard/
Dsocket.c321 wg = sk->sk_user_data; in wg_receive()
353 .sk_user_data = wg, in wg_socket_init()
/Linux-v5.15/fs/dlm/
Dlowcomms.c101 #define sock2con(x) ((struct connection *)(x)->sk_user_data)
670 sk->sk_user_data = NULL; in restore_callbacks()
686 sk->sk_user_data = con; in add_listen_sock()
701 sk->sk_user_data = con; in add_sock()
1684 con->sock->sk->sk_user_data = NULL; in _stop_conn()
/Linux-v5.15/net/ipv4/
Dudp_tunnel_core.c74 rcu_assign_sk_user_data(sk, cfg->sk_user_data); in setup_udp_tunnel_sock()
/Linux-v5.15/include/net/
Dudp_tunnel.h78 void *sk_user_data; /* user data used by encap_rcv call back */ member
/Linux-v5.15/net/kcm/
Dkcmsock.c348 psock = (struct kcm_psock *)sk->sk_user_data; in psock_data_ready()
414 psock = (struct kcm_psock *)sk->sk_user_data; in psock_write_space()
1425 if (csk->sk_user_data) { in kcm_attach()
1437 csk->sk_user_data = psock; in kcm_attach()
1514 csk->sk_user_data = NULL; in kcm_unattach()

12