Home
last modified time | relevance | path

Searched refs:conn_id (Results 1 – 25 of 55) sorted by relevance

123

/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dtest_tcp_estats.c148 struct tcp_estats_conn_id conn_id; member
179 static __always_inline void conn_id_ipv4_init(struct tcp_estats_conn_id *conn_id, in conn_id_ipv4_init() argument
182 conn_id->localaddressType = TCP_ESTATS_ADDRTYPE_IPV4; in conn_id_ipv4_init()
184 unaligned_u32_set(conn_id->localaddress.data, (__u8 *)saddr); in conn_id_ipv4_init()
185 unaligned_u32_set(conn_id->remaddress.data, (__u8 *)daddr); in conn_id_ipv4_init()
188 static __always_inline void conn_id_ipv6_init(struct tcp_estats_conn_id *conn_id, in conn_id_ipv6_init() argument
191 conn_id->localaddressType = TCP_ESTATS_ADDRTYPE_IPV6; in conn_id_ipv6_init()
193 unaligned_u32_set(conn_id->localaddress.data, (__u8 *)saddr); in conn_id_ipv6_init()
194 unaligned_u32_set(conn_id->localaddress.data + sizeof(__u32), in conn_id_ipv6_init()
196 unaligned_u32_set(conn_id->localaddress.data + sizeof(__u32) * 2, in conn_id_ipv6_init()
[all …]
/linux-6.6.21/net/nfc/nci/
Ddata.c27 __u8 conn_id, int err) in nci_data_exchange_complete() argument
33 conn_info = nci_get_conn_info_by_conn_id(ndev, conn_id); in nci_data_exchange_complete()
65 __u8 conn_id, in nci_push_data_hdr() argument
73 hdr->conn_id = conn_id; in nci_push_data_hdr()
81 int nci_conn_max_data_pkt_payload_size(struct nci_dev *ndev, __u8 conn_id) in nci_conn_max_data_pkt_payload_size() argument
85 conn_info = nci_get_conn_info_by_conn_id(ndev, conn_id); in nci_conn_max_data_pkt_payload_size()
94 __u8 conn_id, in nci_queue_tx_data_frags() argument
105 pr_debug("conn_id 0x%x, total_len %d\n", conn_id, total_len); in nci_queue_tx_data_frags()
107 conn_info = nci_get_conn_info_by_conn_id(ndev, conn_id); in nci_queue_tx_data_frags()
132 nci_push_data_hdr(ndev, conn_id, skb_frag, in nci_queue_tx_data_frags()
[all …]
Dcore.c44 int conn_id) in nci_get_conn_info_by_conn_id() argument
49 if (conn_info->conn_id == conn_id) in nci_get_conn_info_by_conn_id()
64 return conn_info->conn_id; in nci_get_conn_info_by_dest_type_params()
68 return conn_info->conn_id; in nci_get_conn_info_by_dest_type_params()
398 u8 conn_id; member
406 nci_send_data(ndev, data->conn_id, data->data); in nci_send_data_req()
432 int conn_id = nci_get_conn_info_by_dest_type_params(ndev, in nci_nfcc_loopback() local
435 if (conn_id < 0) { in nci_nfcc_loopback()
441 conn_id = nci_get_conn_info_by_dest_type_params(ndev, in nci_nfcc_loopback()
446 conn_info = nci_get_conn_info_by_conn_id(ndev, conn_id); in nci_nfcc_loopback()
[all …]
Dhci.c20 u8 conn_id; member
179 r = nci_send_data(ndev, conn_info->conn_id, skb); in nci_hci_send_data()
238 data.conn_id = conn_info->conn_id; in nci_hci_send_cmd()
507 data.conn_id = conn_info->conn_id; in nci_hci_open_pipe()
580 data.conn_id = conn_info->conn_id; in nci_hci_set_param()
619 data.conn_id = conn_info->conn_id; in nci_hci_get_param()
Drsp.c205 conn_info->conn_id = NCI_STATIC_RF_CONN_ID; in nci_rf_disc_rsp_packet()
300 conn_info->conn_id = rsp->conn_id; in nci_core_conn_create_rsp_packet()
312 conn_info->conn_id = rsp->conn_id; in nci_core_conn_create_rsp_packet()
Dntf.c61 ntf->conn_entries[i].conn_id = in nci_core_conn_credits_ntf_packet()
62 nci_conn_id(&ntf->conn_entries[i].conn_id); in nci_core_conn_credits_ntf_packet()
65 i, ntf->conn_entries[i].conn_id, in nci_core_conn_credits_ntf_packet()
69 ntf->conn_entries[i].conn_id); in nci_core_conn_credits_ntf_packet()
101 ntf->conn_id = nci_conn_id(&ntf->conn_id); in nci_core_conn_intf_error_ntf_packet()
103 pr_debug("status 0x%x, conn_id %d\n", ntf->status, ntf->conn_id); in nci_core_conn_intf_error_ntf_packet()
107 nci_data_exchange_complete(ndev, NULL, ntf->conn_id, -EIO); in nci_core_conn_intf_error_ntf_packet()
/linux-6.6.21/fs/smb/client/
Dtrace.h908 __u64 conn_id,
910 TP_ARGS(hostname, conn_id, dst_addr),
913 __field(__u64, conn_id)
919 __entry->conn_id = conn_id;
925 __entry->conn_id,
933 __u64 conn_id, \
935 TP_ARGS(hostname, conn_id, addr))
942 TP_PROTO(char *hostname, __u64 conn_id,
944 TP_ARGS(hostname, conn_id, dst_addr, rc),
947 __field(__u64, conn_id)
[all …]
/linux-6.6.21/drivers/nfc/fdp/
Dfdp.c181 static int fdp_nci_send_patch(struct nci_dev *ndev, u8 conn_id, u8 type) in fdp_nci_send_patch() argument
199 max_size = nci_conn_max_data_pkt_payload_size(ndev, conn_id); in fdp_nci_send_patch()
224 rc = nci_send_data(ndev, conn_id, skb); in fdp_nci_send_patch()
328 int conn_id; in fdp_nci_patch_otp() local
344 conn_id = fdp_nci_create_conn(ndev); in fdp_nci_patch_otp()
345 if (conn_id < 0) in fdp_nci_patch_otp()
346 return conn_id; in fdp_nci_patch_otp()
349 r = fdp_nci_send_patch(ndev, conn_id, NCI_PATCH_TYPE_OTP); in fdp_nci_patch_otp()
361 r = nci_core_conn_close(info->ndev, conn_id); in fdp_nci_patch_otp()
394 int conn_id; in fdp_nci_patch_ram() local
[all …]
/linux-6.6.21/drivers/gpu/drm/
Ddrm_sysfs.c475 char hotplug_str[] = "HOTPLUG=1", conn_id[21]; in drm_sysfs_connector_hotplug_event() local
476 char *envp[] = { hotplug_str, conn_id, NULL }; in drm_sysfs_connector_hotplug_event()
478 snprintf(conn_id, sizeof(conn_id), in drm_sysfs_connector_hotplug_event()
503 char hotplug_str[] = "HOTPLUG=1", conn_id[21], prop_id[21]; in drm_sysfs_connector_property_event() local
504 char *envp[4] = { hotplug_str, conn_id, prop_id, NULL }; in drm_sysfs_connector_property_event()
509 snprintf(conn_id, ARRAY_SIZE(conn_id), in drm_sysfs_connector_property_event()
/linux-6.6.21/drivers/scsi/bnx2fc/
Dbnx2fc_tgt.c28 static void bnx2fc_free_conn_id(struct bnx2fc_hba *hba, u32 conn_id);
618 u32 conn_id, next; in bnx2fc_alloc_conn_id() local
630 conn_id = hba->next_conn_id++; in bnx2fc_alloc_conn_id()
634 while (hba->tgt_ofld_list[conn_id] != NULL) { in bnx2fc_alloc_conn_id()
635 conn_id++; in bnx2fc_alloc_conn_id()
636 if (conn_id == BNX2FC_NUM_MAX_SESS) in bnx2fc_alloc_conn_id()
637 conn_id = 0; in bnx2fc_alloc_conn_id()
639 if (conn_id == next) { in bnx2fc_alloc_conn_id()
645 hba->tgt_ofld_list[conn_id] = tgt; in bnx2fc_alloc_conn_id()
646 tgt->fcoe_conn_id = conn_id; in bnx2fc_alloc_conn_id()
[all …]
Dbnx2fc_hwi.c188 u16 conn_id; in bnx2fc_send_session_ofld_req() local
198 conn_id = (u16)tgt->fcoe_conn_id; in bnx2fc_send_session_ofld_req()
199 ofld_req1.fcoe_conn_id = conn_id; in bnx2fc_send_session_ofld_req()
411 enbl_req.conn_id = tgt->fcoe_conn_id; in bnx2fc_send_session_enable_req()
470 disable_req.conn_id = tgt->fcoe_conn_id; in bnx2fc_send_session_disable_req()
505 destroy_req.conn_id = tgt->fcoe_conn_id; in bnx2fc_send_session_destroy_req()
1133 u32 conn_id = new_cqe_kcqe->fcoe_conn_id; in bnx2fc_fastpath_notification() local
1134 struct bnx2fc_rport *tgt = hba->tgt_ofld_list[conn_id]; in bnx2fc_fastpath_notification()
1137 printk(KERN_ERR PFX "conn_id 0x%x not valid\n", conn_id); in bnx2fc_fastpath_notification()
1158 u32 conn_id; in bnx2fc_process_ofld_cmpl() local
[all …]
/linux-6.6.21/include/linux/qed/
Dnvmetcp_common.h123 __le16 conn_id; member
132 __le16 conn_id; member
162 __le16 conn_id; member
205 __le16 conn_id; member
211 __le16 conn_id; member
267 __le16 conn_id; member
Discsi_common.h1011 __le16 conn_id; member
1041 __le16 conn_id; member
1050 __le16 conn_id; member
1064 __le16 conn_id; member
1217 __le16 conn_id; member
1230 __le16 conn_id; member
1241 __le16 conn_id; member
1250 __le16 conn_id; member
1260 __le16 conn_id; member
/linux-6.6.21/include/net/nfc/
Dnci_core.h108 __u8 conn_id; member
299 int nci_core_conn_close(struct nci_dev *ndev, u8 conn_id);
367 int nci_send_data(struct nci_dev *ndev, __u8 conn_id, struct sk_buff *skb);
368 int nci_conn_max_data_pkt_payload_size(struct nci_dev *ndev, __u8 conn_id);
370 __u8 conn_id, int err);
382 int conn_id);
Dnci.h214 __u8 conn_id; /* MT & PBF & ConnID */ member
373 __u8 conn_id; member
411 __u8 conn_id; member
425 __u8 conn_id; member
/linux-6.6.21/drivers/hv/
Dconnection.c413 union hv_connection_id conn_id; in vmbus_post_msg() local
418 conn_id.asu32 = 0; in vmbus_post_msg()
419 conn_id.u.id = vmbus_connection.msg_conn_id; in vmbus_post_msg()
427 ret = hv_post_message(conn_id, 1, buffer, buflen); in vmbus_post_msg()
/linux-6.6.21/drivers/scsi/qedf/
Dqedf_hsi.h50 __le16 conn_id; member
151 __le16 conn_id /* Connection ID the frame is associated to */; member
/linux-6.6.21/drivers/scsi/qedi/
Dqedi_hsi.h32 __le16 conn_id; member
/linux-6.6.21/drivers/net/ethernet/qlogic/qed/
Dqed_nvmetcp.c304 p_ramrod->conn_id = cpu_to_le16(p_conn->conn_id); in qed_sp_nvmetcp_conn_offload()
381 p_ramrod->conn_id = cpu_to_le16(p_conn->conn_id); in qed_sp_nvmetcp_conn_update()
416 p_ramrod->conn_id = cpu_to_le16(p_conn->conn_id); in qed_sp_nvmetcp_conn_terminate()
542 p_conn->conn_id = (u16)icid; in qed_nvmetcp_acquire_connection()
Dqed_iscsi.c44 u16 conn_id; member
306 p_ramrod->conn_id = cpu_to_le16(p_conn->conn_id); in qed_sp_iscsi_conn_offload()
475 p_ramrod->conn_id = cpu_to_le16(p_conn->conn_id); in qed_sp_iscsi_conn_update()
516 p_ramrod->conn_id = cpu_to_le16(p_conn->conn_id); in qed_sp_iscsi_mac_update()
558 p_ramrod->conn_id = cpu_to_le16(p_conn->conn_id); in qed_sp_iscsi_conn_terminate()
810 p_conn->conn_id = (u16)icid; in qed_iscsi_acquire_connection()
Dqed_nvmetcp.h44 u16 conn_id; member
/linux-6.6.21/drivers/gpu/drm/i915/display/
Dintel_dp_mst.h17 int intel_dp_mst_encoder_init(struct intel_digital_port *dig_port, int conn_id);
/linux-6.6.21/net/l2tp/
Dl2tp_ip.c32 u32 conn_id; member
69 if (l2tp->conn_id != tunnel_id) in __l2tp_ip_bind_lookup()
292 l2tp_ip_sk(sk)->conn_id = addr->l2tp_conn_id; in l2tp_ip_bind()
371 lsa->l2tp_conn_id = lsk->conn_id; in l2tp_ip_getname()
Dl2tp_ip6.c36 u32 conn_id; member
79 if (l2tp->conn_id != tunnel_id) in __l2tp_ip6_bind_lookup()
341 l2tp_ip6_sk(sk)->conn_id = addr->l2tp_conn_id; in l2tp_ip6_bind()
442 lsa->l2tp_conn_id = lsk->conn_id; in l2tp_ip6_getname()
/linux-6.6.21/drivers/infiniband/core/
Dcma.c2382 struct rdma_id_private *listen_id, *conn_id = NULL; in cma_ib_req_handler() local
2408 conn_id = cma_ib_new_udp_id(&listen_id->id, ib_event, net_dev); in cma_ib_req_handler()
2413 conn_id = cma_ib_new_conn_id(&listen_id->id, ib_event, net_dev); in cma_ib_req_handler()
2417 if (!conn_id) { in cma_ib_req_handler()
2422 mutex_lock_nested(&conn_id->handler_mutex, SINGLE_DEPTH_NESTING); in cma_ib_req_handler()
2423 ret = cma_ib_acquire_dev(conn_id, listen_id, &req); in cma_ib_req_handler()
2425 destroy_id_handler_unlock(conn_id); in cma_ib_req_handler()
2429 conn_id->cm_id.ib = cm_id; in cma_ib_req_handler()
2430 cm_id->context = conn_id; in cma_ib_req_handler()
2433 ret = cma_cm_event_handler(conn_id, &event); in cma_ib_req_handler()
[all …]

123