Home
last modified time | relevance | path

Searched refs:cqes (Results 1 – 16 of 16) sorted by relevance

/Linux-v5.4/tools/io_uring/
Dsetup.c41 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()
Dio_uring-bench.c51 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()
Dqueue.c31 *cqe_ptr = &cq->cqes[head & mask]; in __io_uring_get_cqe()
Dliburing.h40 struct io_uring_cqe *cqes; member
/Linux-v5.4/drivers/infiniband/hw/cxgb4/
Drestrack.c337 struct t4_cqe *cqes) in fill_hwcqes() argument
342 if (fill_cqe(msg, cqes, idx, "hwcq_idx")) in fill_hwcqes()
345 if (fill_cqe(msg, cqes + 1, idx, "hwcq_idx")) in fill_hwcqes()
354 struct t4_cqe *cqes) in fill_swcqes() argument
362 if (fill_cqe(msg, cqes, idx, "swcq_idx")) in fill_swcqes()
367 if (fill_cqe(msg, cqes + 1, idx, "swcq_idx")) in fill_swcqes()
/Linux-v5.4/include/uapi/linux/
Dio_uring.h114 __u32 cqes; member
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den_stats.h290 u64 cqes ____cacheline_aligned_in_smp;
303 u64 cqes ____cacheline_aligned_in_smp;
Den_stats.c210 s->rx_xdp_tx_cqe += xdpsq_stats->cqes; in mlx5e_grp_sw_update_stats()
239 s->tx_xdp_cqes += xdpsq_red_stats->cqes; in mlx5e_grp_sw_update_stats()
265 s->tx_xsk_cqes += xsksq_stats->cqes; in mlx5e_grp_sw_update_stats()
299 s->tx_cqes += sq_stats->cqes; in mlx5e_grp_sw_update_stats()
1489 { MLX5E_DECLARE_TX_STAT(struct mlx5e_sq_stats, cqes) },
1501 { MLX5E_DECLARE_RQ_XDPSQ_STAT(struct mlx5e_xdpsq_stats, cqes) },
1511 { MLX5E_DECLARE_XDPSQ_STAT(struct mlx5e_xdpsq_stats, cqes) },
1542 { MLX5E_DECLARE_XSKSQ_STAT(struct mlx5e_xdpsq_stats, cqes) },
Den_tx.c515 stats->cqes += i; in mlx5e_poll_tx_cq()
/Linux-v5.4/drivers/net/ethernet/broadcom/
Dcnic.c1425 struct kcqe *cqes[], u32 num_cqes) in cnic_reply_bnx2x_kcqes() argument
1434 cqes, num_cqes); in cnic_reply_bnx2x_kcqes()
1552 struct kcqe *cqes[1]; in cnic_bnx2x_iscsi_init2() local
1582 cqes[0] = (struct kcqe *) &kcqe; in cnic_bnx2x_iscsi_init2()
1583 cnic_reply_bnx2x_kcqes(dev, CNIC_ULP_ISCSI, cqes, 1); in cnic_bnx2x_iscsi_init2()
1881 struct kcqe *cqes[1]; in cnic_bnx2x_iscsi_ofld1() local
1935 cqes[0] = (struct kcqe *) &kcqe; in cnic_bnx2x_iscsi_ofld1()
1936 cnic_reply_bnx2x_kcqes(dev, CNIC_ULP_ISCSI, cqes, 1); in cnic_bnx2x_iscsi_ofld1()
2000 struct kcqe *cqes[1]; in cnic_bnx2x_iscsi_destroy() local
2033 cqes[0] = (struct kcqe *) &kcqe; in cnic_bnx2x_iscsi_destroy()
[all …]
Dcnic_if.h369 void (*indicate_kcqes)(void *ulp_ctx, struct kcqe *cqes[],
/Linux-v5.4/drivers/nvme/host/
Dpci.c169 volatile struct nvme_completion *cqes; member
940 return (le16_to_cpu(nvmeq->cqes[nvmeq->cq_head].status) & 1) == in nvme_cqe_pending()
955 volatile struct nvme_completion *cqe = &nvmeq->cqes[idx]; in nvme_handle_cqe()
1009 if (tag == -1U || nvmeq->cqes[nvmeq->cq_head].command_id == tag) in nvme_process_cq()
1353 (void *)nvmeq->cqes, nvmeq->cq_dma_addr); in nvme_free_queue()
1475 nvmeq->cqes = dma_alloc_coherent(dev->dev, CQ_SIZE(nvmeq), in nvme_alloc_queue()
1477 if (!nvmeq->cqes) in nvme_alloc_queue()
1495 dma_free_coherent(dev->dev, CQ_SIZE(nvmeq), (void *)nvmeq->cqes, in nvme_alloc_queue()
1524 memset((void *)nvmeq->cqes, 0, CQ_SIZE(nvmeq)); in nvme_init_queue()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en/
Dxdp.c440 sq->stats->cqes += i; in mlx5e_poll_xdpsq_cq()
/Linux-v5.4/fs/
Dio_uring.c154 struct io_uring_cqe cqes[] ____cacheline_aligned_in_smp; member
559 return &rings->cqes[tail & ctx->cq_mask]; in io_get_cqring()
3285 off = struct_size(rings, cqes, cq_entries); in rings_size()
3864 p->cq_off.cqes = offsetof(struct io_rings, cqes); in io_uring_create()
/Linux-v5.4/drivers/nvme/target/
Dadmin-cmd.c350 id->cqes = (0x4 << 4) | 0x4; in nvmet_execute_identify_ctrl()
/Linux-v5.4/include/linux/
Dnvme.h259 __u8 cqes; member