Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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.c43 int conn_id) in nci_get_conn_info_by_conn_id() argument
48 if (conn_info->conn_id == conn_id) in nci_get_conn_info_by_conn_id()
63 return conn_info->conn_id; in nci_get_conn_info_by_dest_type_params()
67 return conn_info->conn_id; in nci_get_conn_info_by_dest_type_params()
394 u8 conn_id; member
402 nci_send_data(ndev, data->conn_id, data->data); in nci_send_data_req()
428 int conn_id = nci_get_conn_info_by_dest_type_params(ndev, in nci_nfcc_loopback() local
431 if (conn_id < 0) { in nci_nfcc_loopback()
437 conn_id = nci_get_conn_info_by_dest_type_params(ndev, in nci_nfcc_loopback()
442 conn_info = nci_get_conn_info_by_conn_id(ndev, conn_id); in nci_nfcc_loopback()
[all …]
Drsp.c148 conn_info->conn_id = NCI_STATIC_RF_CONN_ID; in nci_rf_disc_rsp_packet()
243 conn_info->conn_id = rsp->conn_id; in nci_core_conn_create_rsp_packet()
255 conn_info->conn_id = rsp->conn_id; in nci_core_conn_create_rsp_packet()
Dhci.c19 u8 conn_id; member
180 r = nci_send_data(ndev, conn_info->conn_id, skb); in nci_hci_send_data()
239 data.conn_id = conn_info->conn_id; in nci_hci_send_cmd()
512 data.conn_id = conn_info->conn_id; in nci_hci_open_pipe()
588 data.conn_id = conn_info->conn_id; in nci_hci_set_param()
628 data.conn_id = conn_info->conn_id; in nci_hci_get_param()
Dntf.c44 ntf->conn_entries[i].conn_id = in nci_core_conn_credits_ntf_packet()
45 nci_conn_id(&ntf->conn_entries[i].conn_id); in nci_core_conn_credits_ntf_packet()
48 i, ntf->conn_entries[i].conn_id, in nci_core_conn_credits_ntf_packet()
52 ntf->conn_entries[i].conn_id); in nci_core_conn_credits_ntf_packet()
84 ntf->conn_id = nci_conn_id(&ntf->conn_id); in nci_core_conn_intf_error_ntf_packet()
86 pr_debug("status 0x%x, conn_id %d\n", ntf->status, ntf->conn_id); in nci_core_conn_intf_error_ntf_packet()
90 nci_data_exchange_complete(ndev, NULL, ntf->conn_id, -EIO); in nci_core_conn_intf_error_ntf_packet()
/kernel/linux/linux-5.10/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()
346 int conn_id; in fdp_nci_patch_otp() local
362 conn_id = fdp_nci_create_conn(ndev); in fdp_nci_patch_otp()
363 if (conn_id < 0) { in fdp_nci_patch_otp()
364 r = conn_id; in fdp_nci_patch_otp()
369 r = fdp_nci_send_patch(ndev, conn_id, NCI_PATCH_TYPE_OTP); in fdp_nci_patch_otp()
381 r = nci_core_conn_close(info->ndev, conn_id); in fdp_nci_patch_otp()
417 int conn_id; in fdp_nci_patch_ram() local
[all …]
/kernel/linux/linux-5.10/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()
1134 u32 conn_id = new_cqe_kcqe->fcoe_conn_id; in bnx2fc_fastpath_notification() local
1135 struct bnx2fc_rport *tgt = hba->tgt_ofld_list[conn_id]; in bnx2fc_fastpath_notification()
1138 printk(KERN_ERR PFX "conn_id 0x%x not valid\n", conn_id); in bnx2fc_fastpath_notification()
1159 u32 conn_id; in bnx2fc_process_ofld_cmpl() local
[all …]
D57xx_hsi_bnx2fc.h507 __le32 conn_id; member
518 __le32 conn_id; member
/kernel/linux/linux-5.10/include/net/nfc/
Dnci_core.h108 __u8 conn_id; member
297 int nci_core_conn_close(struct nci_dev *ndev, u8 conn_id);
365 int nci_send_data(struct nci_dev *ndev, __u8 conn_id, struct sk_buff *skb);
366 int nci_conn_max_data_pkt_payload_size(struct nci_dev *ndev, __u8 conn_id);
368 __u8 conn_id, int err);
380 int conn_id);
Dnci.h209 __u8 conn_id; /* MT & PBF & ConnID */ member
349 __u8 conn_id; member
377 __u8 conn_id; member
391 __u8 conn_id; member
/kernel/linux/linux-5.10/drivers/hv/
Dconnection.c367 union hv_connection_id conn_id; in vmbus_post_msg() local
372 conn_id.asu32 = 0; in vmbus_post_msg()
373 conn_id.u.id = vmbus_connection.msg_conn_id; in vmbus_post_msg()
381 ret = hv_post_message(conn_id, 1, buffer, buflen); in vmbus_post_msg()
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_sysfs.c361 char hotplug_str[] = "HOTPLUG=1", conn_id[21], prop_id[21]; in drm_sysfs_connector_status_event() local
362 char *envp[4] = { hotplug_str, conn_id, prop_id, NULL }; in drm_sysfs_connector_status_event()
367 snprintf(conn_id, ARRAY_SIZE(conn_id), in drm_sysfs_connector_status_event()
/kernel/linux/linux-5.10/include/linux/qed/
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
/kernel/linux/linux-5.10/drivers/scsi/qedf/
Dqedf_hsi.h50 __le16 conn_id; member
151 __le16 conn_id /* Connection ID the frame is associated to */; member
/kernel/linux/linux-5.10/drivers/scsi/qedi/
Dqedi_hsi.h32 __le16 conn_id; member
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_dp_mst.h14 int intel_dp_mst_encoder_init(struct intel_digital_port *dig_port, int conn_id);
/kernel/linux/linux-5.10/net/l2tp/
Dl2tp_ip.c32 u32 conn_id; member
67 if (l2tp->conn_id != tunnel_id) in __l2tp_ip_bind_lookup()
290 l2tp_ip_sk(sk)->conn_id = addr->l2tp_conn_id; in l2tp_ip_bind()
369 lsa->l2tp_conn_id = lsk->conn_id; in l2tp_ip_getname()
Dl2tp_ip6.c36 u32 conn_id; member
80 if (l2tp->conn_id != tunnel_id) in __l2tp_ip6_bind_lookup()
344 l2tp_ip6_sk(sk)->conn_id = addr->l2tp_conn_id; in l2tp_ip6_bind()
445 lsa->l2tp_conn_id = lsk->conn_id; in l2tp_ip6_getname()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Dcma.c2222 struct rdma_id_private *listen_id, *conn_id = NULL; in cma_ib_req_handler() local
2248 conn_id = cma_ib_new_udp_id(&listen_id->id, ib_event, net_dev); in cma_ib_req_handler()
2253 conn_id = cma_ib_new_conn_id(&listen_id->id, ib_event, net_dev); in cma_ib_req_handler()
2257 if (!conn_id) { in cma_ib_req_handler()
2262 mutex_lock_nested(&conn_id->handler_mutex, SINGLE_DEPTH_NESTING); in cma_ib_req_handler()
2263 ret = cma_ib_acquire_dev(conn_id, listen_id, &req); in cma_ib_req_handler()
2265 destroy_id_handler_unlock(conn_id); in cma_ib_req_handler()
2269 conn_id->cm_id.ib = cm_id; in cma_ib_req_handler()
2270 cm_id->context = conn_id; in cma_ib_req_handler()
2273 ret = cma_cm_event_handler(conn_id, &event); in cma_ib_req_handler()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_iscsi.c43 u16 conn_id; member
305 p_ramrod->conn_id = cpu_to_le16(p_conn->conn_id); in qed_sp_iscsi_conn_offload()
474 p_ramrod->conn_id = cpu_to_le16(p_conn->conn_id); in qed_sp_iscsi_conn_update()
515 p_ramrod->conn_id = cpu_to_le16(p_conn->conn_id); in qed_sp_iscsi_mac_update()
557 p_ramrod->conn_id = cpu_to_le16(p_conn->conn_id); in qed_sp_iscsi_conn_terminate()
811 p_conn->conn_id = (u16)icid; in qed_iscsi_acquire_connection()
/kernel/linux/linux-5.10/drivers/nfc/nfcmrvl/
Dfw_dnld.c96 hdr->conn_id = NCI_CORE_LC_CONNID_PROP_FW_DL; in alloc_lc_skb()
318 uint8_t conn_id = NCI_CORE_LC_CONNID_PROP_FW_DL; in process_state_fw_dnld() local
322 1, &conn_id); in process_state_fw_dnld()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/bios/
Dcommand_table.c557 enum connector_id conn_id = in transmitter_control_v3() local
560 bool dual_link_conn = (CONNECTOR_ID_DUAL_LINK_DVII == conn_id) in transmitter_control_v3()
561 || (CONNECTOR_ID_DUAL_LINK_DVID == conn_id); in transmitter_control_v3()
691 enum connector_id conn_id = in transmitter_control_v4() local
716 if ((CONNECTOR_ID_DUAL_LINK_DVII == conn_id) || in transmitter_control_v4()
717 (CONNECTOR_ID_DUAL_LINK_DVID == conn_id)) in transmitter_control_v4()
737 if ((CONNECTOR_ID_DUAL_LINK_DVII == conn_id) || in transmitter_control_v4()
738 (CONNECTOR_ID_DUAL_LINK_DVID == conn_id)) in transmitter_control_v4()
/kernel/linux/linux-5.10/arch/x86/kvm/
Dhyperv.c1908 static int kvm_hv_eventfd_assign(struct kvm *kvm, u32 conn_id, int fd) in kvm_hv_eventfd_assign() argument
1919 ret = idr_alloc(&hv->conn_to_evt, eventfd, conn_id, conn_id + 1, in kvm_hv_eventfd_assign()
1932 static int kvm_hv_eventfd_deassign(struct kvm *kvm, u32 conn_id) in kvm_hv_eventfd_deassign() argument
1938 eventfd = idr_remove(&hv->conn_to_evt, conn_id); in kvm_hv_eventfd_deassign()
1952 (args->conn_id & ~KVM_HYPERV_CONN_ID_MASK)) in kvm_vm_ioctl_hv_eventfd()
1956 return kvm_hv_eventfd_deassign(kvm, args->conn_id); in kvm_vm_ioctl_hv_eventfd()
1957 return kvm_hv_eventfd_assign(kvm, args->conn_id, args->fd); in kvm_vm_ioctl_hv_eventfd()

12