/linux-6.1.9/include/linux/ |
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); 62 s64 vmci_qpair_consume_free_space(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, [all …]
|
/linux-6.1.9/drivers/scsi/qla2xxx/ |
D | qla_inline.h | 179 struct qla_qpair *qpair, fc_port_t *fcport) in qla2xxx_init_sp() argument 185 sp->qpair = qpair; in qla2xxx_init_sp() 193 qla2xxx_get_qpair_sp(scsi_qla_host_t *vha, struct qla_qpair *qpair, in qla2xxx_get_qpair_sp() argument 199 QLA_QPAIR_MARK_BUSY(qpair, bail); in qla2xxx_get_qpair_sp() 203 sp = mempool_alloc(qpair->srb_mempool, flag); in qla2xxx_get_qpair_sp() 205 qla2xxx_init_sp(sp, vha, qpair, fcport); in qla2xxx_get_qpair_sp() 207 QLA_QPAIR_MARK_NOT_BUSY(qpair); in qla2xxx_get_qpair_sp() 215 qla2xxx_rel_qpair_sp(struct qla_qpair *qpair, srb_t *sp) in qla2xxx_rel_qpair_sp() argument 217 sp->qpair = NULL; in qla2xxx_rel_qpair_sp() 220 mempool_free(sp, qpair->srb_mempool); in qla2xxx_rel_qpair_sp() [all …]
|
D | qla_target.c | 113 static void qlt_send_notify_ack(struct qla_qpair *qpair, 126 static int qlt_check_reserve_free_req(struct qla_qpair *qpair, uint32_t); 1644 if (h->qpair) { in qlt_release() 1645 spin_lock_irqsave(h->qpair->qp_lock_ptr, flags); in qlt_release() 1647 spin_unlock_irqrestore(h->qpair->qp_lock_ptr, flags); in qlt_release() 1648 h->qpair = NULL; in qlt_release() 1710 static void qlt_send_notify_ack(struct qla_qpair *qpair, in qlt_send_notify_ack() argument 1715 struct scsi_qla_host *vha = qpair->vha; in qlt_send_notify_ack() 1725 pkt = (request_t *)__qla2x00_alloc_iocbs(qpair, NULL); in qlt_send_notify_ack() 1772 qla2x00_start_iocbs(vha, qpair->req); in qlt_send_notify_ack() [all …]
|
D | qla_dfs.c | 284 struct qla_qpair *qpair = vha->hw->base_qpair; in qla_dfs_tgt_counters_show() local 294 qla_core_sbt_cmd = qpair->tgt_counters.qla_core_sbt_cmd; in qla_dfs_tgt_counters_show() 295 core_qla_que_buf = qpair->tgt_counters.core_qla_que_buf; in qla_dfs_tgt_counters_show() 296 qla_core_ret_ctio = qpair->tgt_counters.qla_core_ret_ctio; in qla_dfs_tgt_counters_show() 297 core_qla_snd_status = qpair->tgt_counters.core_qla_snd_status; in qla_dfs_tgt_counters_show() 298 qla_core_ret_sta_ctio = qpair->tgt_counters.qla_core_ret_sta_ctio; in qla_dfs_tgt_counters_show() 299 core_qla_free_cmd = qpair->tgt_counters.core_qla_free_cmd; in qla_dfs_tgt_counters_show() 300 num_q_full_sent = qpair->tgt_counters.num_q_full_sent; in qla_dfs_tgt_counters_show() 301 num_alloc_iocb_failed = qpair->tgt_counters.num_alloc_iocb_failed; in qla_dfs_tgt_counters_show() 302 num_term_xchg_sent = qpair->tgt_counters.num_term_xchg_sent; in qla_dfs_tgt_counters_show() [all …]
|
D | qla_nvme.c | 97 struct qla_qpair *qpair; in qla_nvme_alloc_queue() local 119 qpair = ha->base_qpair; in qla_nvme_alloc_queue() 129 qpair = qla2xxx_create_qpair(vha, 5, vha->vp_idx, true); in qla_nvme_alloc_queue() 130 if (!qpair) { in qla_nvme_alloc_queue() 136 *handle = qpair; in qla_nvme_alloc_queue() 170 qla2xxx_rel_qpair_sp(sp->qpair, sp); in qla_nvme_release_fcp_cmd_kref() 427 struct qla_qpair *qpair = sp->qpair; in qla2x00_start_nvme_mq() local 435 req = qpair->req; in qla2x00_start_nvme_mq() 436 rsp = qpair->rsp; in qla2x00_start_nvme_mq() 440 spin_lock_irqsave(&qpair->qp_lock, flags); in qla2x00_start_nvme_mq() [all …]
|
D | qla_iocb.c | 508 __qla2x00_marker(struct scsi_qla_host *vha, struct qla_qpair *qpair, in __qla2x00_marker() argument 513 struct req_que *req = qpair->req; in __qla2x00_marker() 517 mrk = (mrk_entry_t *)__qla2x00_alloc_iocbs(qpair, NULL); in __qla2x00_marker() 548 qla2x00_marker(struct scsi_qla_host *vha, struct qla_qpair *qpair, in qla2x00_marker() argument 554 spin_lock_irqsave(qpair->qp_lock_ptr, flags); in qla2x00_marker() 555 ret = __qla2x00_marker(vha, qpair, loop_id, lun, type); in qla2x00_marker() 556 spin_unlock_irqrestore(qpair->qp_lock_ptr, flags); in qla2x00_marker() 598 struct qla_qpair *qpair = sp->qpair; in qla24xx_build_scsi_type_6_iocbs() local 617 qpair->counters.output_bytes += scsi_bufflen(cmd); in qla24xx_build_scsi_type_6_iocbs() 618 qpair->counters.output_requests++; in qla24xx_build_scsi_type_6_iocbs() [all …]
|
D | qla_mid.c | 667 struct qla_qpair *qpair, *tqpair; in qla25xx_delete_queues() local 670 list_for_each_entry_safe(qpair, tqpair, &vha->qp_list, in qla25xx_delete_queues() 672 qla2xxx_delete_qpair(vha, qpair); in qla25xx_delete_queues() 824 struct qla_qpair *qpair = container_of(work, struct qla_qpair, q_work); in qla_do_work() local 825 struct scsi_qla_host *vha = qpair->vha; in qla_do_work() 827 spin_lock_irqsave(&qpair->qp_lock, flags); in qla_do_work() 828 qla24xx_process_response_queue(vha, qpair->rsp); in qla_do_work() 829 spin_unlock_irqrestore(&qpair->qp_lock, flags); in qla_do_work() 836 uint8_t vp_idx, uint16_t rid, struct qla_qpair *qpair, bool startqp) in qla25xx_create_rsp_que() argument 872 rsp->msix = qpair->msix; in qla25xx_create_rsp_que() [all …]
|
D | qla_init.c | 110 struct qla_qpair *qpair = sp->qpair; in qla24xx_abort_iocb_timeout() local 125 spin_lock_irqsave(qpair->qp_lock_ptr, flags); in qla24xx_abort_iocb_timeout() 126 for (handle = 1; handle < qpair->req->num_outstanding_cmds; handle++) { in qla24xx_abort_iocb_timeout() 127 if (sp->cmd_sp && (qpair->req->outstanding_cmds[handle] == in qla24xx_abort_iocb_timeout() 129 qpair->req->outstanding_cmds[handle] = NULL; in qla24xx_abort_iocb_timeout() 134 if (qpair->req->outstanding_cmds[handle] == sp) { in qla24xx_abort_iocb_timeout() 135 qpair->req->outstanding_cmds[handle] = NULL; in qla24xx_abort_iocb_timeout() 140 spin_unlock_irqrestore(qpair->qp_lock_ptr, flags); in qla24xx_abort_iocb_timeout() 179 sp = qla2xxx_get_qpair_sp(cmd_sp->vha, cmd_sp->qpair, cmd_sp->fcport, in qla24xx_async_abort_cmd() 188 sp->qpair = cmd_sp->qpair; in qla24xx_async_abort_cmd() [all …]
|
D | qla_attr.c | 2816 struct qla_qpair *qpair; in qla2x00_get_fc_host_stats() local 2857 qpair = vha->hw->queue_pair_map[i]; in qla2x00_get_fc_host_stats() 2858 if (!qpair) in qla2x00_get_fc_host_stats() 2860 ir += qpair->counters.input_requests; in qla2x00_get_fc_host_stats() 2861 or += qpair->counters.output_requests; in qla2x00_get_fc_host_stats() 2862 ib += qpair->counters.input_bytes; in qla2x00_get_fc_host_stats() 2863 ob += qpair->counters.output_bytes; in qla2x00_get_fc_host_stats() 2925 struct qla_qpair *qpair; in qla2x00_reset_host_stats() local 2930 qpair = vha->hw->queue_pair_map[i]; in qla2x00_reset_host_stats() 2931 if (!qpair) in qla2x00_reset_host_stats() [all …]
|
D | qla_os.c | 409 struct qla_qpair *qpair); 417 rsp->qpair = ha->base_qpair; in qla_init_base_qpair() 430 qla_cpu_update(rsp->qpair, raw_smp_processor_id()); in qla_init_base_qpair() 873 struct qla_qpair *qpair = NULL; in qla2xxx_queuecommand() local 877 qpair = ha->queue_pair_map[hwq]; in qla2xxx_queuecommand() 879 if (qpair) in qla2xxx_queuecommand() 880 return qla2xxx_mqueuecommand(host, cmd, qpair); in qla2xxx_queuecommand() 978 struct qla_qpair *qpair) in qla2xxx_mqueuecommand() argument 997 if (!qpair->online) { in qla2xxx_mqueuecommand() 1035 qla2xxx_init_sp(sp, vha, qpair, fcport); in qla2xxx_mqueuecommand() [all …]
|
D | qla_isr.c | 2573 sp->qpair->cmd_completion_cnt++; in qla24xx_nvme_iocb_entry() 3200 qla_put_iocbs(sp->qpair, &sp->iores); in qla2x00_status_entry() 3230 sp->qpair->cmd_completion_cnt++; in qla2x00_status_entry() 3621 qla_put_iocbs(sp->qpair, &sp->iores); in qla2x00_error_entry() 3772 if (rsp->qpair->cpuid != smp_processor_id() || !rsp->qpair->rcv_intr) { in qla24xx_process_response_queue() 3773 rsp->qpair->rcv_intr = 1; in qla24xx_process_response_queue() 3774 qla_cpu_update(rsp->qpair, smp_processor_id()); in qla24xx_process_response_queue() 4253 struct qla_qpair *qpair; in qla2xxx_msix_rsp_q() local 4255 qpair = dev_id; in qla2xxx_msix_rsp_q() 4256 if (!qpair) { in qla2xxx_msix_rsp_q() [all …]
|
D | qla_edif.c | 2522 qla_els_reject_iocb(vha, (*rsp)->qpair, &a); in qla24xx_auth_els() 2531 qla_els_reject_iocb(vha, (*rsp)->qpair, &a); in qla24xx_auth_els() 2540 qla_els_reject_iocb(vha, (*rsp)->qpair, &a); in qla24xx_auth_els() 2550 qla_els_reject_iocb(vha, (*rsp)->qpair, &a); in qla24xx_auth_els() 2570 qla_els_reject_iocb(vha, (*rsp)->qpair, &a); in qla24xx_auth_els() 2583 qla_els_reject_iocb(vha, (*rsp)->qpair, &a); in qla24xx_auth_els() 2595 qla_els_reject_iocb(host, (*rsp)->qpair, &a); in qla24xx_auth_els() 2608 qla_els_reject_iocb(host, (*rsp)->qpair, &a); in qla24xx_auth_els() 2944 struct req_que *req = sp->qpair->req; in qla28xx_start_scsi_edif() 2945 spinlock_t *lock = sp->qpair->qp_lock_ptr; in qla28xx_start_scsi_edif() [all …]
|
D | qla_target.h | 784 struct qla_qpair *qpair; member 872 struct qla_qpair *qpair; member 961 struct qla_qpair *qpair; member
|
D | qla_dbg.c | 2723 ql_log_qp(uint32_t level, struct qla_qpair *qpair, int32_t id, in ql_log_qp() argument 2733 ql_ktrace(0, level, pbuf, NULL, qpair ? qpair->vha : NULL, id, fmt); in ql_log_qp() 2737 qpair ? qpair->vha : NULL, id); in ql_log_qp() 2776 ql_dbg_qp(uint32_t level, struct qla_qpair *qpair, int32_t id, in ql_dbg_qp() argument 2783 ql_ktrace(1, level, pbuf, NULL, qpair ? qpair->vha : NULL, id, fmt); in ql_dbg_qp() 2795 qpair ? qpair->vha : NULL, id + ql_dbg_offset); in ql_dbg_qp()
|
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() 483 cmd->qpair->tgt_counters.qla_core_sbt_cmd++; in tcm_qla2xxx_handle_cmd() 519 cmd->qpair->tgt_counters.qla_core_ret_ctio++; in tcm_qla2xxx_handle_data_work()
|
D | qla_mbx.c | 1542 if (sp->qpair) in qla2x00_abort_command() 1543 req = sp->qpair->req; in qla2x00_abort_command() 2514 if (vha->vp_idx && vha->qpair) in qla24xx_login_fabric() 2515 req = vha->qpair->req; in qla24xx_login_fabric() 3257 struct qla_qpair *qpair = sp->qpair; in qla24xx_abort_command() local 3262 if (sp->qpair) in qla24xx_abort_command() 3263 req = sp->qpair->req; in qla24xx_abort_command() 3270 spin_lock_irqsave(qpair->qp_lock_ptr, flags); in qla24xx_abort_command() 3275 spin_unlock_irqrestore(qpair->qp_lock_ptr, flags); in qla24xx_abort_command() 3351 struct qla_qpair *qpair; in __qla24xx_issue_tmf() local [all …]
|
D | qla_def.h | 694 struct qla_qpair *qpair; member 3682 struct qla_qpair *qpair; member 4967 struct qla_qpair *qpair; /* base qpair */ member
|
/linux-6.1.9/drivers/misc/vmw_vmci/ |
D | vmci_queue_pair.c | 2429 static void qp_lock(const struct vmci_qp *qpair) in qp_lock() argument 2431 qp_acquire_queue_mutex(qpair->produce_q); in qp_lock() 2438 static void qp_unlock(const struct vmci_qp *qpair) in qp_unlock() argument 2440 qp_release_queue_mutex(qpair->produce_q); in qp_unlock() 2470 static int qp_get_queue_headers(const struct vmci_qp *qpair, in qp_get_queue_headers() argument 2476 result = qp_map_queue_headers(qpair->produce_q, qpair->consume_q); in qp_get_queue_headers() 2478 *produce_q_header = qpair->produce_q->q_header; in qp_get_queue_headers() 2479 *consume_q_header = qpair->consume_q->q_header; in qp_get_queue_headers() 2480 } else if (qpair->produce_q->saved_header && in qp_get_queue_headers() 2481 qpair->consume_q->saved_header) { in qp_get_queue_headers() [all …]
|
/linux-6.1.9/net/vmw_vsock/ |
D | vmci_transport.c | 547 vmci_transport_queue_pair_alloc(struct vmci_qp **qpair, in vmci_transport_queue_pair_alloc() argument 560 err = vmci_qpair_alloc(qpair, handle, produce_size, in vmci_transport_queue_pair_alloc() 569 err = vmci_qpair_alloc(qpair, handle, produce_size, consume_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() [all …]
|
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()
|
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()
|
D | vmci_transport.h | 108 struct vmci_qp *qpair; member
|
/linux-6.1.9/include/linux/avf/ |
D | virtchnl.h | 348 struct virtchnl_queue_pair_info qpair[1]; member
|
/linux-6.1.9/drivers/net/ethernet/intel/iavf/ |
D | iavf_virtchnl.c | 287 len = struct_size(vqci, qpair, pairs); in iavf_configure_queues() 299 vqpi = vqci->qpair; in iavf_configure_queues()
|
/linux-6.1.9/drivers/net/ethernet/intel/ice/ |
D | ice_virtchnl.c | 1621 qpi = &qci->qpair[i]; in ice_vc_cfg_qs_msg()
|