Searched refs:io_cq (Results 1 – 17 of 17) sorted by relevance
| /linux-6.15/drivers/net/ethernet/amazon/ena/ |
| H A D | ena_eth_com.h | 58 int ena_com_rx_pkt(struct ena_com_io_cq *io_cq, 66 bool ena_com_cq_empty(struct ena_com_io_cq *io_cq); 177 if (!io_cq->numa_node_cfg_reg) in ena_com_update_numa_node() 193 io_cq->head++; in ena_com_cq_inc_head() 196 if (unlikely((io_cq->head & (io_cq->q_depth - 1)) == 0)) in ena_com_cq_inc_head() 197 io_cq->phase ^= 1; in ena_com_cq_inc_head() 207 masked_head = io_cq->head & (io_cq->q_depth - 1); in ena_com_tx_comp_req_id_get() 208 expected_phase = io_cq->phase; in ena_com_tx_comp_req_id_get() 211 ((uintptr_t)io_cq->cdesc_addr.virt_addr + in ena_com_tx_comp_req_id_get() 225 if (unlikely(*req_id >= io_cq->q_depth)) { in ena_com_tx_comp_req_id_get() [all …]
|
| H A D | ena_eth_com.c | 9 struct ena_com_io_cq *io_cq) in ena_com_get_next_rx_cdesc() argument 15 head_masked = io_cq->head & (io_cq->q_depth - 1); in ena_com_get_next_rx_cdesc() 16 expected_phase = io_cq->phase; in ena_com_get_next_rx_cdesc() 226 idx &= (io_cq->q_depth - 1); in ena_com_rx_cdesc_idx_to_ptr() 229 idx * io_cq->cdesc_entry_size_in_bytes); in ena_com_rx_cdesc_idx_to_ptr() 248 ena_com_cq_inc_head(io_cq); in ena_com_cdesc_rx_pkt_get() 255 count, io_cq->qid, cdesc->req_id); in ena_com_cdesc_rx_pkt_get() 266 head_masked = io_cq->head & (io_cq->q_depth - 1); in ena_com_cdesc_rx_pkt_get() 269 io_cq->cur_rx_pkt_cdesc_count = 0; in ena_com_cdesc_rx_pkt_get() 276 io_cq->cur_rx_pkt_cdesc_count = count; in ena_com_cdesc_rx_pkt_get() [all …]
|
| H A D | ena_com.c | 394 memset(&io_cq->cdesc_addr, 0x0, sizeof(io_cq->cdesc_addr)); in ena_com_init_io_cq() 402 size = io_cq->cdesc_entry_size_in_bytes * io_cq->q_depth; in ena_com_init_io_cq() 404 io_cq->cdesc_addr.virt_addr = in ena_com_init_io_cq() 407 io_cq->cdesc_addr.virt_addr = in ena_com_init_io_cq() 417 io_cq->phase = 1; in ena_com_init_io_cq() 418 io_cq->head = 0; in ena_com_init_io_cq() 904 size = io_cq->cdesc_entry_size_in_bytes * io_cq->q_depth; in ena_com_io_queue_free() 1370 io_cq->numa_node_cfg_reg = in ena_com_create_io_cq() 1787 struct ena_com_io_cq *io_cq; in ena_com_create_io_queue() local 1800 memset(io_cq, 0x0, sizeof(*io_cq)); in ena_com_create_io_queue() [all …]
|
| H A D | ena_com.h | 460 struct ena_com_io_cq **io_cq); 853 struct ena_com_io_cq *io_cq); 864 struct ena_com_io_cq *io_cq); 960 static inline struct ena_com_dev *ena_com_io_cq_to_ena_dev(struct ena_com_io_cq *io_cq) in ena_com_io_cq_to_ena_dev() argument 962 return container_of(io_cq, struct ena_com_dev, io_cq_queues[io_cq->qid]); in ena_com_io_cq_to_ena_dev()
|
| /linux-6.15/block/ |
| H A D | blk-ioc.c | 39 static void ioc_exit_icq(struct io_cq *icq) in ioc_exit_icq() 54 struct io_cq *icq; in ioc_exit_icqs() 66 static void ioc_destroy_icq(struct io_cq *icq) in ioc_destroy_icq() 112 struct io_cq *icq = hlist_entry(ioc->icq_list.first, in ioc_release_fn() 113 struct io_cq, ioc_node); in ioc_release_fn() 168 struct io_cq *icq = in ioc_clear_queue() 169 list_first_entry(&q->icq_list, struct io_cq, q_node); in ioc_clear_queue() 317 struct io_cq *ioc_lookup_icq(struct request_queue *q) in ioc_lookup_icq() 320 struct io_cq *icq; in ioc_lookup_icq() 360 struct io_cq *icq; in ioc_create_icq() [all …]
|
| H A D | elevator.h | 9 struct io_cq; 49 void (*init_icq)(struct io_cq *); 50 void (*exit_icq)(struct io_cq *);
|
| H A D | blk.h | 436 struct io_cq *ioc_find_get_icq(struct request_queue *q); 437 struct io_cq *ioc_lookup_icq(struct request_queue *q);
|
| H A D | elevator.c | 503 if (WARN_ON(e->icq_size < sizeof(struct io_cq)) || in elv_register() 504 WARN_ON(e->icq_align < __alignof__(struct io_cq))) in elv_register()
|
| H A D | bfq-iosched.h | 479 struct io_cq icq; /* must be the first member */
|
| H A D | bfq-iosched.c | 445 static struct bfq_io_cq *icq_to_bic(struct io_cq *icq) in icq_to_bic() 5493 static void bfq_exit_icq(struct io_cq *icq) in bfq_exit_icq()
|
| /linux-6.15/include/linux/ |
| H A D | iocontext.h | 73 struct io_cq { struct 110 struct io_cq __rcu *icq_hint; argument
|
| H A D | blk-mq.h | 192 struct io_cq *icq;
|
| /linux-6.15/drivers/scsi/lpfc/ |
| H A D | lpfc_debugfs.h | 471 cq = phba->sli4_hba.hdwq[wqidx].io_cq; in lpfc_debug_dump_cq() 648 if (phba->sli4_hba.hdwq[cq_idx].io_cq->queue_id == qid) in lpfc_debug_dump_cq_by_id() 653 lpfc_debug_dump_q(phba->sli4_hba.hdwq[cq_idx].io_cq); in lpfc_debug_dump_cq_by_id()
|
| H A D | lpfc_sli4.h | 700 struct lpfc_queue *io_cq; /* Fast-path FCP & NVME compl queue */ member
|
| H A D | lpfc_init.c | 10385 phba->sli4_hba.hdwq[idx].io_cq = qdesc; in lpfc_alloc_io_wq_cq() 10839 lpfc_sli4_queue_free(hdwq[idx].io_cq); in lpfc_sli4_release_hdwq() 10842 hdwq[idx].io_cq = NULL; in lpfc_sli4_release_hdwq() 11176 qp[qidx].io_cq, in lpfc_sli4_queue_setup() 11485 lpfc_cq_destroy(phba, qp->io_cq); in lpfc_sli4_queue_unset()
|
| H A D | lpfc_debugfs.c | 3962 qp = phba->sli4_hba.hdwq[eqidx].io_cq; in lpfc_idiag_cqs_for_eq() 4426 qp = phba->sli4_hba.hdwq[qidx].io_cq; in lpfc_idiag_queacc_write()
|
| H A D | lpfc_sli.c | 6159 sli4_hba->sli4_write_cq_db(phba, qp->io_cq, 0, in lpfc_sli4_arm_cqeq_intr()
|