Home
last modified time | relevance | path

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

123

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A 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 …]
/openbmc/linux/net/nfc/nci/
H A 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 …]
H A 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 …]
H A 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()
H A 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()
H A 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()
/openbmc/qemu/hw/hyperv/
H A Dhyperv_testdev.c31 uint8_t conn_id; member
38 uint8_t conn_id; member
159 uint8_t sint, uint8_t conn_id) in msg_conn_create() argument
166 conn->conn_id = conn_id; in msg_conn_create()
171 assert(!hyperv_set_msg_handler(conn->conn_id, msg_handler, conn)); in msg_conn_create()
176 static void msg_conn_destroy(HypervTestDev *dev, uint8_t conn_id) in msg_conn_destroy() argument
181 if (conn->conn_id == conn_id) { in msg_conn_destroy()
183 hyperv_set_msg_handler(conn->conn_id, NULL, NULL); in msg_conn_destroy()
199 assert(!hyperv_set_event_flag(conn->sint_route, conn->conn_id)); in evt_conn_handler()
203 uint8_t sint, uint8_t conn_id) in evt_conn_create() argument
[all …]
H A Dhyperv.c548 uint32_t conn_id; member
556 uint32_t conn_id; member
571 int hyperv_set_msg_handler(uint32_t conn_id, HvMsgHandler handler, void *data) in hyperv_set_msg_handler() argument
578 if (mh->conn_id == conn_id) { in hyperv_set_msg_handler()
592 mh->conn_id = conn_id; in hyperv_set_msg_handler()
632 if (mh->conn_id == (msg->connection_id & HV_CONNECTION_ID_MASK)) { in hyperv_hcall_post_message()
644 static int set_event_flag_handler(uint32_t conn_id, EventNotifier *notifier) in set_event_flag_handler() argument
651 if (handler->conn_id == conn_id) { in set_event_flag_handler()
665 handler->conn_id = conn_id; in set_event_flag_handler()
678 int hyperv_set_event_flag_handler(uint32_t conn_id, EventNotifier *notifier) in hyperv_set_event_flag_handler() argument
[all …]
/openbmc/linux/fs/smb/client/
H A Dtrace.h984 __u64 conn_id,
986 TP_ARGS(hostname, conn_id, dst_addr),
989 __field(__u64, conn_id)
995 __entry->conn_id = conn_id;
1001 __entry->conn_id,
1009 __u64 conn_id, \
1011 TP_ARGS(hostname, conn_id, addr))
1018 TP_PROTO(char *hostname, __u64 conn_id,
1020 TP_ARGS(hostname, conn_id, dst_addr, rc),
1023 __field(__u64, conn_id)
[all …]
/openbmc/linux/drivers/nfc/fdp/
H A 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 …]
/openbmc/linux/drivers/gpu/drm/
H A 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()
/openbmc/linux/drivers/scsi/bnx2fc/
H A 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 …]
H A 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 …]
/openbmc/linux/include/linux/qed/
H A 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
H A 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
/openbmc/linux/include/net/nfc/
H A 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);
H A Dnci.h214 __u8 conn_id; /* MT & PBF & ConnID */ member
373 __u8 conn_id; member
411 __u8 conn_id; member
425 __u8 conn_id; member
/openbmc/linux/drivers/hv/
H A Dconnection.c428 union hv_connection_id conn_id; in vmbus_post_msg() local
433 conn_id.asu32 = 0; in vmbus_post_msg()
434 conn_id.u.id = vmbus_connection.msg_conn_id; in vmbus_post_msg()
442 ret = hv_post_message(conn_id, 1, buffer, buflen); in vmbus_post_msg()
/openbmc/qemu/include/hw/hyperv/
H A Dhyperv.h53 int hyperv_set_msg_handler(uint32_t conn_id, HvMsgHandler handler, void *data);
59 int hyperv_set_event_flag_handler(uint32_t conn_id, EventNotifier *notifier);
/openbmc/linux/drivers/scsi/qedf/
H A Dqedf_hsi.h50 __le16 conn_id; member
151 __le16 conn_id /* Connection ID the frame is associated to */; member
/openbmc/linux/drivers/scsi/qedi/
H A Dqedi_hsi.h32 __le16 conn_id; member
/openbmc/linux/drivers/net/ethernet/qlogic/qed/
H A 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()
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_dp_mst.h17 int intel_dp_mst_encoder_init(struct intel_digital_port *dig_port, int conn_id);
/openbmc/linux/net/l2tp/
H A 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()
/openbmc/linux/drivers/infiniband/core/
H A Dcma.c2384 struct rdma_id_private *listen_id, *conn_id = NULL; in cma_ib_req_handler() local
2410 conn_id = cma_ib_new_udp_id(&listen_id->id, ib_event, net_dev); in cma_ib_req_handler()
2415 conn_id = cma_ib_new_conn_id(&listen_id->id, ib_event, net_dev); in cma_ib_req_handler()
2419 if (!conn_id) { in cma_ib_req_handler()
2424 mutex_lock_nested(&conn_id->handler_mutex, SINGLE_DEPTH_NESTING); in cma_ib_req_handler()
2425 ret = cma_ib_acquire_dev(conn_id, listen_id, &req); in cma_ib_req_handler()
2427 destroy_id_handler_unlock(conn_id); in cma_ib_req_handler()
2431 conn_id->cm_id.ib = cm_id; in cma_ib_req_handler()
2432 cm_id->context = conn_id; in cma_ib_req_handler()
2435 ret = cma_cm_event_handler(conn_id, &event); in cma_ib_req_handler()
[all …]

123