/openbmc/linux/include/linux/ |
H A D | vmw_vmci_api.h | 48 int vmci_qpair_alloc(struct vmci_qp **qpair, 53 int vmci_qpair_detach(struct vmci_qp **qpair); 54 int vmci_qpair_get_produce_indexes(const struct vmci_qp *qpair, 57 int vmci_qpair_get_consume_indexes(const struct vmci_qp *qpair, 60 s64 vmci_qpair_produce_free_space(const struct vmci_qp *qpair); 61 s64 vmci_qpair_produce_buf_ready(const struct vmci_qp *qpair); 63 s64 vmci_qpair_consume_buf_ready(const struct vmci_qp *qpair); 64 ssize_t vmci_qpair_enqueue(struct vmci_qp *qpair, 66 ssize_t vmci_qpair_dequeue(struct vmci_qp *qpair, 70 ssize_t vmci_qpair_enquev(struct vmci_qp *qpair, [all …]
|
/openbmc/linux/drivers/scsi/qla2xxx/ |
H A D | qla_inline.h | 188 sp->qpair = qpair; in qla2xxx_init_sp() 220 sp->qpair = NULL; in qla2xxx_rel_qpair_sp() 231 struct qla_qpair *qpair; in qla2x00_get_sp() local 236 qpair = vha->hw->base_qpair; in qla2x00_get_sp() 332 qpair->cpuid = cpuid; in qla_cpu_update() 338 h->cpuid = qpair->cpuid; in qla_cpu_update() 350 if (h->qpair == qpair) in qla_qpair_to_hint() 586 return qpair; in qla_mapq_nvme_select_qpair() 592 struct qla_qpair *qpair) in qla_mapq_init_qp_cpu_map() argument 606 msix->cpuid = qpair->cpuid; in qla_mapq_init_qp_cpu_map() [all …]
|
H A D | qla_target.c | 1846 qpair->reqq_start_iocbs(qpair); in qlt_build_abts_resp_iocb() 1921 qpair->reqq_start_iocbs(qpair); in qlt_24xx_send_abts_resp() 1990 qpair->reqq_start_iocbs(qpair); in qlt_24xx_retry_term_exchange() 2136 mcmd->qpair = h->qpair; in __qlt_24xx_handle_abts() 2154 mcmd->qpair = abort_cmd->qpair; in __qlt_24xx_handle_abts() 2282 qpair->reqq_start_iocbs(qpair); in qlt_24xx_send_task_mgmt_ctio() 2498 qpair = cmd->qpair; in qlt_unmap_sg() 4335 cmd->qpair = h->qpair; in qlt_assign_qpair() 4477 mcmd->qpair = h->qpair; in qlt_issue_task_mgmt() 4490 mcmd->qpair = h->qpair; in qlt_issue_task_mgmt() [all …]
|
H A D | qla_dfs.c | 300 struct qla_qpair *qpair = vha->hw->base_qpair; in qla_dfs_tgt_counters_show() local 310 qla_core_sbt_cmd = qpair->tgt_counters.qla_core_sbt_cmd; in qla_dfs_tgt_counters_show() 311 core_qla_que_buf = qpair->tgt_counters.core_qla_que_buf; in qla_dfs_tgt_counters_show() 312 qla_core_ret_ctio = qpair->tgt_counters.qla_core_ret_ctio; in qla_dfs_tgt_counters_show() 315 core_qla_free_cmd = qpair->tgt_counters.core_qla_free_cmd; in qla_dfs_tgt_counters_show() 316 num_q_full_sent = qpair->tgt_counters.num_q_full_sent; in qla_dfs_tgt_counters_show() 321 qpair = vha->hw->queue_pair_map[i]; in qla_dfs_tgt_counters_show() 322 if (!qpair) in qla_dfs_tgt_counters_show() 329 qpair->tgt_counters.qla_core_ret_sta_ctio; in qla_dfs_tgt_counters_show() 331 num_q_full_sent += qpair->tgt_counters.num_q_full_sent; in qla_dfs_tgt_counters_show() [all …]
|
H A D | qla_iocb.c | 601 struct qla_qpair *qpair = sp->qpair; in qla24xx_build_scsi_type_6_iocbs() local 709 struct qla_qpair *qpair = sp->qpair; in qla24xx_build_scsi_iocbs() local 1918 struct qla_qpair *qpair = sp->qpair; in qla2xxx_start_scsi_mq() local 1927 req = qpair->req; in qla2xxx_start_scsi_mq() 1928 rsp = qpair->rsp; in qla2xxx_start_scsi_mq() 2081 struct qla_qpair *qpair = sp->qpair; in qla2xxx_dif_start_scsi_mq() local 2108 rsp = qpair->rsp; in qla2xxx_dif_start_scsi_mq() 2109 req = qpair->req; in qla2xxx_dif_start_scsi_mq() 3390 struct qla_qpair *qpair = sp->qpair; in qla82xx_start_scsi() local 4251 struct qla_qpair *qpair = sp->qpair; in qla_start_scsi_type6() local [all …]
|
H A D | qla_nvme.c | 120 struct qla_qpair *qpair; in qla_nvme_alloc_queue() local 142 qpair = ha->base_qpair; in qla_nvme_alloc_queue() 153 if (!qpair) { in qla_nvme_alloc_queue() 160 *handle = qpair; in qla_nvme_alloc_queue() 194 qla2xxx_rel_qpair_sp(sp->qpair, sp); in qla_nvme_release_fcp_cmd_kref() 568 struct qla_qpair *qpair = sp->qpair; in qla2x00_start_nvme_mq() local 576 req = qpair->req; in qla2x00_start_nvme_mq() 577 rsp = qpair->rsp; in qla2x00_start_nvme_mq() 745 sp->qpair->cmd_cnt++; in qla2x00_start_nvme_mq() 806 qpair = qla_mapq_nvme_select_qpair(ha, qpair); in qla_nvme_post_cmd() [all …]
|
H A D | qla_init.c | 110 struct qla_qpair *qpair = sp->qpair; in qla24xx_abort_iocb_timeout() local 190 sp->qpair = cmd_sp->qpair; in qla24xx_async_abort_cmd() 2356 struct qla_qpair *qpair = sp->qpair; in qla24xx_async_abort_command() local 9688 qpair->qp_lock_ptr = &qpair->qp_lock; in qla2xxx_create_qpair() 9757 qpair->rsp->req = qpair->req; in qla2xxx_create_qpair() 9758 qpair->rsp->qpair = qpair; in qla2xxx_create_qpair() 9791 qpair->id); in qla2xxx_create_qpair() 9794 qpair->id); in qla2xxx_create_qpair() 9796 return qpair; in qla2xxx_create_qpair() 9816 kfree(qpair); in qla2xxx_create_qpair() [all …]
|
H A D | qla_mid.c | 658 struct qla_qpair *qpair, *tqpair; in qla25xx_delete_queues() local 661 list_for_each_entry_safe(qpair, tqpair, &vha->qp_list, in qla25xx_delete_queues() 663 qla2xxx_delete_qpair(vha, qpair); in qla25xx_delete_queues() 816 struct scsi_qla_host *vha = qpair->vha; in qla_do_work() 818 spin_lock_irqsave(&qpair->qp_lock, flags); in qla_do_work() 819 qla24xx_process_response_queue(vha, qpair->rsp); in qla_do_work() 820 spin_unlock_irqrestore(&qpair->qp_lock, flags); in qla_do_work() 863 rsp->msix = qpair->msix; in qla25xx_create_rsp_que() 901 ret = qla25xx_request_irq(ha, qpair, qpair->msix, in qla25xx_create_rsp_que() 922 if (qpair->hw->wq) in qla25xx_create_rsp_que() [all …]
|
H A D | qla_attr.c | 2839 struct qla_qpair *qpair; in qla2x00_get_fc_host_stats() local 2881 if (!qpair) in qla2x00_get_fc_host_stats() 2885 ib += qpair->counters.input_bytes; in qla2x00_get_fc_host_stats() 2948 struct qla_qpair *qpair; in qla2x00_reset_host_stats() local 2954 if (!qpair) in qla2x00_reset_host_stats() 2956 memset(&qpair->counters, 0, sizeof(qpair->counters)); in qla2x00_reset_host_stats() 3060 struct qla_qpair *qpair; in qla24xx_vport_create() local 3159 if (!qpair) in qla24xx_vport_create() 3170 req = qpair->req; in qla24xx_vport_create() 3171 vha->qpair = qpair; in qla24xx_vport_create() [all …]
|
H A D | qla_os.c | 417 struct qla_qpair *qpair); 898 if (qpair) in qla2xxx_queuecommand() 1016 if (!qpair->online) { in qla2xxx_mqueuecommand() 1259 struct qla_qpair *qpair; in qla2xxx_eh_abort() local 1276 qpair = sp->qpair; in qla2xxx_eh_abort() 1424 struct qla_qpair *qpair; in qla2x00_eh_wait_for_pending_commands() local 1432 if (!qpair) in qla2x00_eh_wait_for_pending_commands() 7750 qpair->online = 0; in qla_pci_error_cleanup() 7925 qpair->online = 1; in qla2xxx_pci_slot_reset() 8030 qpair->online = 0; in qla_pci_reset_prepare() [all …]
|
H A D | qla_isr.c | 3968 if (rsp->qpair->cpuid != raw_smp_processor_id() || !rsp->qpair->rcv_intr) { in qla24xx_process_response_queue() 3969 rsp->qpair->rcv_intr = 1; in qla24xx_process_response_queue() 4461 struct qla_qpair *qpair; in qla2xxx_msix_rsp_q() local 4463 qpair = dev_id; in qla2xxx_msix_rsp_q() 4464 if (!qpair) { in qla2xxx_msix_rsp_q() 4469 ha = qpair->hw; in qla2xxx_msix_rsp_q() 4480 struct qla_qpair *qpair; in qla2xxx_msix_rsp_q_hs() local 4484 qpair = dev_id; in qla2xxx_msix_rsp_q_hs() 4485 if (!qpair) { in qla2xxx_msix_rsp_q_hs() 4490 ha = qpair->hw; in qla2xxx_msix_rsp_q_hs() [all …]
|
H A D | qla_edif.c | 2566 qla_els_reject_iocb(vha, (*rsp)->qpair, &a); in qla24xx_auth_els() 2575 qla_els_reject_iocb(vha, (*rsp)->qpair, &a); in qla24xx_auth_els() 2584 qla_els_reject_iocb(vha, (*rsp)->qpair, &a); in qla24xx_auth_els() 2594 qla_els_reject_iocb(vha, (*rsp)->qpair, &a); in qla24xx_auth_els() 2614 qla_els_reject_iocb(vha, (*rsp)->qpair, &a); in qla24xx_auth_els() 2627 qla_els_reject_iocb(vha, (*rsp)->qpair, &a); in qla24xx_auth_els() 2988 struct req_que *req = sp->qpair->req; in qla28xx_start_scsi_edif() 2989 spinlock_t *lock = sp->qpair->qp_lock_ptr; in qla28xx_start_scsi_edif() 3204 sp->qpair->cmd_cnt++; in qla28xx_start_scsi_edif() 3217 qla_put_buf(sp->qpair, &sp->u.scmd.buf_dsc); in qla28xx_start_scsi_edif() [all …]
|
H A D | qla_target.h | 784 struct qla_qpair *qpair; member 872 struct qla_qpair *qpair; member 961 struct qla_qpair *qpair; member
|
H A D | qla_dbg.c | 2722 ql_log_qp(uint32_t level, struct qla_qpair *qpair, int32_t id, in ql_log_qp() argument 2732 ql_ktrace(0, level, pbuf, NULL, qpair ? qpair->vha : NULL, id, fmt); in ql_log_qp() 2736 qpair ? qpair->vha : NULL, id); in ql_log_qp() 2775 ql_dbg_qp(uint32_t level, struct qla_qpair *qpair, int32_t id, in ql_dbg_qp() argument 2782 ql_ktrace(1, level, pbuf, NULL, qpair ? qpair->vha : NULL, id, fmt); in ql_dbg_qp() 2794 qpair ? qpair->vha : NULL, id + ql_dbg_offset); in ql_dbg_qp()
|
H A D | qla_bsg.c | 3062 static bool qla_bsg_found(struct qla_qpair *qpair, struct bsg_job *bsg_job) in qla_bsg_found() argument 3073 spin_lock_irqsave(qpair->qp_lock_ptr, flags); in qla_bsg_found() 3074 req = qpair->req; in qla_bsg_found() 3084 spin_unlock_irqrestore(qpair->qp_lock_ptr, flags); in qla_bsg_found() 3102 spin_unlock_irqrestore(qpair->qp_lock_ptr, flags); in qla_bsg_found() 3115 struct qla_qpair *qpair; in qla24xx_bsg_timeout() local 3131 qpair = vha->hw->queue_pair_map[i]; in qla24xx_bsg_timeout() 3132 if (!qpair) in qla24xx_bsg_timeout() 3134 if (qla_bsg_found(qpair, bsg_job)) in qla24xx_bsg_timeout()
|
H A D | tcm_qla2xxx.c | 265 cmd->qpair->tgt_counters.qla_core_ret_sta_ctio++; in tcm_qla2xxx_complete_free() 306 cmd->qpair->tgt_counters.core_qla_free_cmd++; in tcm_qla2xxx_free_cmd() 473 cmd->qpair->tgt_counters.qla_core_sbt_cmd++; in tcm_qla2xxx_handle_cmd() 509 cmd->qpair->tgt_counters.qla_core_ret_ctio++; in tcm_qla2xxx_handle_data_work()
|
H A D | qla_mbx.c | 1538 if (sp->qpair) in qla2x00_abort_command() 1539 req = sp->qpair->req; in qla2x00_abort_command() 2513 if (vha->vp_idx && vha->qpair) in qla24xx_login_fabric() 2514 req = vha->qpair->req; in qla24xx_login_fabric() 3256 struct qla_qpair *qpair = sp->qpair; in qla24xx_abort_command() local 3261 if (sp->qpair) in qla24xx_abort_command() 3262 req = sp->qpair->req; in qla24xx_abort_command() 3350 struct qla_qpair *qpair; in __qla24xx_issue_tmf() local 3359 if (vha->vp_idx && vha->qpair) { in __qla24xx_issue_tmf() 3361 qpair = vha->qpair; in __qla24xx_issue_tmf() [all …]
|
H A D | qla_def.h | 476 struct qla_qpair *qpair; member 743 struct qla_qpair *qpair; member 3735 struct qla_qpair *qpair; member 5057 struct qla_qpair *qpair; /* base qpair */ member
|
/openbmc/linux/drivers/misc/vmw_vmci/ |
H A D | vmci_queue_pair.c | 2522 wait_event(qpair->event, generation != qpair->generation); in qp_wait_for_ready_queue() 2787 if (!qpair || !(*qpair)) in vmci_qpair_detach() 2830 if (!qpair) in vmci_qpair_get_produce_indexes() 2867 if (!qpair) in vmci_qpair_get_consume_indexes() 2902 if (!qpair) in vmci_qpair_produce_free_space() 2936 if (!qpair) in vmci_qpair_consume_free_space() 2971 if (!qpair) in vmci_qpair_produce_buf_ready() 3006 if (!qpair) in vmci_qpair_consume_buf_ready() 3176 if (!qpair) in vmci_qpair_enquev() 3217 if (!qpair) in vmci_qpair_dequev() [all …]
|
/openbmc/linux/net/vmw_vsock/ |
H A D | vmci_transport.c | 560 err = vmci_qpair_alloc(qpair, handle, produce_size, in vmci_transport_queue_pair_alloc() 1136 struct vmci_qp *qpair; in vmci_transport_recv_connecting_server() local 1198 &qpair, in vmci_transport_recv_connecting_server() 1214 vmci_trans(vpending)->qpair = qpair; in vmci_transport_recv_connecting_server() 1313 || vmci_trans(vsk)->qpair in vmci_transport_recv_connecting_client() 1382 struct vmci_qp *qpair; in vmci_transport_recv_connecting_client_negotiate() local 1455 err = vmci_transport_queue_pair_alloc(&qpair, in vmci_transport_recv_connecting_client_negotiate() 1475 vmci_trans(vsk)->qpair = qpair; in vmci_transport_recv_connecting_client_negotiate() 1491 vmci_qpair_detach(&qpair); in vmci_transport_recv_connecting_client_negotiate() 1584 vmci_trans(vsk)->qpair = NULL; in vmci_transport_socket_init() [all …]
|
H A D | vmci_transport_notify.c | 68 retval = vmci_qpair_consume_free_space(vmci_trans(vsk)->qpair) > in vmci_transport_notify_waiting_write() 98 return vmci_qpair_produce_buf_ready(vmci_trans(vsk)->qpair) > 0; in vmci_transport_notify_waiting_read() 201 vmci_qpair_get_consume_indexes(vmci_trans(vsk)->qpair, &tail, &head); in send_waiting_read() 237 vmci_qpair_get_produce_indexes(vmci_trans(vsk)->qpair, &tail, &head); in send_waiting_write() 464 vmci_qpair_get_consume_indexes(vmci_trans(vsk)->qpair, in vmci_transport_notify_pkt_recv_pre_dequeue() 538 vmci_qpair_get_produce_indexes(vmci_trans(vsk)->qpair, in vmci_transport_notify_pkt_send_pre_enqueue()
|
H A D | vmci_transport_notify_qstate.c | 59 retval = vmci_qpair_consume_free_space(vmci_trans(vsk)->qpair) > in vmci_transport_notify_waiting_write() 272 vmci_qpair_consume_free_space(vmci_trans(vsk)->qpair); in vmci_transport_notify_pkt_recv_post_dequeue() 319 vmci_qpair_produce_buf_ready(vmci_trans(vsk)->qpair) == written; in vmci_transport_notify_pkt_send_post_enqueue()
|
H A D | vmci_transport.h | 108 struct vmci_qp *qpair; member
|
/openbmc/linux/include/linux/avf/ |
H A D | virtchnl.h | 349 struct virtchnl_queue_pair_info qpair[]; member 1448 valid_len = virtchnl_struct_size(vqc, qpair, in virtchnl_vc_validate_vf_msg()
|
/openbmc/linux/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_virtchnl.c | 286 len = virtchnl_struct_size(vqci, qpair, pairs); in iavf_configure_queues() 298 vqpi = vqci->qpair; in iavf_configure_queues()
|