/linux-6.3-rc2/tools/io_uring/ |
A D | setup.c | 41 cq->ring_sz = p->cq_off.cqes + p->cq_entries * sizeof(struct io_uring_cqe); in io_uring_mmap() 54 cq->cqes = ptr + p->cq_off.cqes; in io_uring_mmap()
|
A D | io_uring-bench.c | 51 struct io_uring_cqe *cqes; member 257 cqe = &ring->cqes[head & cq_ring_mask]; in reap_events() 449 ptr = mmap(0, p.cq_off.cqes + p.cq_entries * sizeof(struct io_uring_cqe), in setup_ring() 457 cring->cqes = ptr + p.cq_off.cqes; in setup_ring()
|
A D | queue.c | 31 *cqe_ptr = &cq->cqes[head & mask]; in __io_uring_get_cqe()
|
A D | liburing.h | 41 struct io_uring_cqe *cqes; member
|
/linux-6.3-rc2/drivers/infiniband/hw/cxgb4/ |
A D | restrack.c | 334 struct t4_cqe *cqes) in fill_hwcqes() argument 339 if (fill_cqe(msg, cqes, idx, "hwcq_idx")) in fill_hwcqes() 342 if (fill_cqe(msg, cqes + 1, idx, "hwcq_idx")) in fill_hwcqes() 351 struct t4_cqe *cqes) in fill_swcqes() argument 359 if (fill_cqe(msg, cqes, idx, "swcq_idx")) in fill_swcqes() 364 if (fill_cqe(msg, cqes + 1, idx, "swcq_idx")) in fill_swcqes()
|
/linux-6.3-rc2/tools/testing/selftests/net/ |
A D | io_uring_zerocopy_tx.c | 77 struct io_uring_cqe *cqes; member 102 struct io_uring_cqe *cqes; member 198 cq->ring_sz = p->cq_off.cqes + p->cq_entries * sizeof(struct io_uring_cqe); in io_uring_mmap() 211 cq->cqes = ptr + p->cq_off.cqes; in io_uring_mmap() 311 *cqe_ptr = &cq->cqes[head & mask]; in io_uring_wait_cqe()
|
/linux-6.3-rc2/drivers/net/ethernet/fungible/funeth/ |
A D | funeth_rx.c | 354 q->next_cqe_info = cqe_to_info(q->cqes); in advance_cq() 645 q->cqes = fun_alloc_ring_mem(q->dma_dev, ncqe, FUNETH_CQE_SIZE, 0, in fun_rxq_create_sw() 648 if (!q->cqes) in fun_rxq_create_sw() 666 dma_free_coherent(q->dma_dev, ncqe * FUNETH_CQE_SIZE, q->cqes, in fun_rxq_create_sw() 687 q->cqes, q->cq_dma_addr); in fun_rxq_free_sw() 723 q->next_cqe_info = cqe_to_info(q->cqes); in fun_rxq_create_dev()
|
A D | funeth_txrx.h | 166 void *cqes; /* base of CQ descriptor ring */ member
|
/linux-6.3-rc2/drivers/net/ethernet/fungible/funcore/ |
A D | fun_queue.c | 295 cqe = funq->cqes + (funq->cq_head << funq->cqe_size_log2); in __fun_process_cq() 366 funq->cqes = fun_alloc_ring_mem(funq->fdev->dev, funq->cq_depth, in fun_alloc_cqes() 370 return funq->cqes ? 0 : -ENOMEM; in fun_alloc_cqes() 389 funq->cqes, funq->cq_dma_addr, NULL); in fun_free_queue()
|
A D | fun_queue.h | 36 void *cqes; member
|
/linux-6.3-rc2/include/linux/ |
A D | io_uring_types.h | 151 struct io_uring_cqe cqes[] ____cacheline_aligned_in_smp; member 179 struct io_uring_cqe cqes[16]; member
|
A D | nvme.h | 328 __u8 cqes; member
|
/linux-6.3-rc2/drivers/net/ethernet/broadcom/ |
A D | cnic.c | 1432 cqes, num_cqes); in cnic_reply_bnx2x_kcqes() 1550 struct kcqe *cqes[1]; in cnic_bnx2x_iscsi_init2() local 1580 cqes[0] = (struct kcqe *) &kcqe; in cnic_bnx2x_iscsi_init2() 1879 struct kcqe *cqes[1]; in cnic_bnx2x_iscsi_ofld1() local 1997 struct kcqe *cqes[1]; in cnic_bnx2x_iscsi_destroy() local 2226 struct kcqe *cqes[1]; in cnic_bnx2x_offload_pg() local 2241 struct kcqe *cqes[1]; in cnic_bnx2x_update_pg() local 2351 struct kcqe *cqes[1]; in cnic_bnx2x_fcoe_ofld1() local 2498 struct kcqe *cqes[1]; in cnic_bnx2x_fcoe_destroy() local 2582 struct kcqe *cqes[1]; in cnic_bnx2x_kwqe_err() local [all …]
|
A D | cnic_if.h | 369 void (*indicate_kcqes)(void *ulp_ctx, struct kcqe *cqes[],
|
/linux-6.3-rc2/drivers/nvme/host/ |
A D | apple.c | 135 struct nvme_completion *cqes; member 571 struct nvme_completion *hcqe = &q->cqes[q->cq_head]; in apple_nvme_cqe_pending() 589 struct nvme_completion *cqe = &q->cqes[idx]; in apple_nvme_handle_cqe() 976 memset(q->cqes, 0, depth * sizeof(struct nvme_completion)); in apple_nvme_init_queue() 1299 q->cqes = dmam_alloc_coherent(anv->dev, in apple_nvme_queue_alloc() 1302 if (!q->cqes) in apple_nvme_queue_alloc()
|
A D | pci.c | 196 struct nvme_completion *cqes; member 993 struct nvme_completion *hcqe = &nvmeq->cqes[nvmeq->cq_head]; in nvme_cqe_pending() 1017 struct nvme_completion *cqe = &nvmeq->cqes[idx]; in nvme_handle_cqe() 1401 (void *)nvmeq->cqes, nvmeq->cq_dma_addr); in nvme_free_queue() 1526 nvmeq->cqes = dma_alloc_coherent(dev->dev, CQ_SIZE(nvmeq), in nvme_alloc_queue() 1528 if (!nvmeq->cqes) in nvme_alloc_queue() 1546 dma_free_coherent(dev->dev, CQ_SIZE(nvmeq), (void *)nvmeq->cqes, in nvme_alloc_queue() 1575 memset((void *)nvmeq->cqes, 0, CQ_SIZE(nvmeq)); in nvme_init_queue()
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | en_stats.c | 282 s->tx_xdp_cqes += xdpsq_red_stats->cqes; in mlx5e_stats_grp_sw_update_stats_xdp_red() 294 s->rx_xdp_tx_cqe += xdpsq_stats->cqes; in mlx5e_stats_grp_sw_update_stats_xdpsq() 305 s->tx_xsk_cqes += xsksq_stats->cqes; in mlx5e_stats_grp_sw_update_stats_xsksq() 440 s->tx_cqes += sq_stats->cqes; in mlx5e_stats_grp_sw_update_stats_sq() 2045 { MLX5E_DECLARE_TX_STAT(struct mlx5e_sq_stats, cqes) }, 2057 { MLX5E_DECLARE_RQ_XDPSQ_STAT(struct mlx5e_xdpsq_stats, cqes) }, 2067 { MLX5E_DECLARE_XDPSQ_STAT(struct mlx5e_xdpsq_stats, cqes) }, 2098 { MLX5E_DECLARE_XSKSQ_STAT(struct mlx5e_xdpsq_stats, cqes) }, 2122 { MLX5E_DECLARE_PTP_TX_STAT(struct mlx5e_sq_stats, cqes) }, 2205 { MLX5E_DECLARE_QOS_TX_STAT(struct mlx5e_sq_stats, cqes) },
|
A D | en_stats.h | 432 u64 cqes ____cacheline_aligned_in_smp; 445 u64 cqes ____cacheline_aligned_in_smp;
|
A D | en_tx.c | 852 stats->cqes += i; in mlx5e_poll_tx_cq()
|
/linux-6.3-rc2/drivers/nvme/target/ |
A D | passthru.c | 134 id->cqes = min_t(__u8, ((0x4 << 4) | 0x4), id->cqes); in nvmet_passthru_override_id_ctrl()
|
A D | admin-cmd.c | 428 id->cqes = (0x4 << 4) | 0x4; in nvmet_execute_identify_ctrl()
|
/linux-6.3-rc2/io_uring/ |
A D | fdinfo.c | 120 struct io_uring_cqe *cqe = &r->cqes[(entry & cq_mask) << cq_shift]; in __io_uring_show_fdinfo()
|
A D | io_uring.c | 846 ctx->cqe_cached = &rings->cqes[off]; in __io_get_cqe() 853 return &rings->cqes[off]; in __io_get_cqe() 893 struct io_uring_cqe *cqe = &state->cqes[i]; in __io_flush_post_cqes() 938 length = ARRAY_SIZE(ctx->submit_state.cqes); in io_aux_cqe() 956 cqe = &ctx->submit_state.cqes[ctx->submit_state.cqes_count++]; in io_aux_cqe() 2675 off = struct_size(rings, cqes, cq_entries); in rings_size() 3779 p->cq_off.cqes = offsetof(struct io_rings, cqes); in io_uring_create()
|
/linux-6.3-rc2/include/uapi/linux/ |
A D | io_uring.h | 421 __u32 cqes; member
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en/ |
A D | xdp.c | 600 sq->stats->cqes += i; in mlx5e_poll_xdpsq_cq()
|