Searched refs:cqe (Results 1 – 6 of 6) sorted by relevance
/qemu/util/ |
H A D | fdmon-io_uring.c | 227 struct io_uring_cqe *cqe) in process_cqe() argument 229 AioHandler *node = io_uring_cqe_get_data(cqe); in process_cqe() 248 aio_add_ready_handler(ready_list, node, pfd_events_from_poll(cqe->res)); in process_cqe() 258 struct io_uring_cqe *cqe; in process_cq_ring() local 263 io_uring_for_each_cqe(ring, head, cqe) { in process_cq_ring() 264 if (process_cqe(ctx, ready_list, cqe)) { in process_cq_ring()
|
/qemu/hw/ufs/ |
H A D | ufs.c | 445 req->cqe.utp_addr = in ufs_mcq_process_cq() 448 req->cqe.utp_addr |= req->sq->sqid; in ufs_mcq_process_cq() 449 req->cqe.resp_len = req->utrd.response_upiu_length; in ufs_mcq_process_cq() 450 req->cqe.resp_off = req->utrd.response_upiu_offset; in ufs_mcq_process_cq() 451 req->cqe.prdt_len = req->utrd.prd_table_length; in ufs_mcq_process_cq() 452 req->cqe.prdt_off = req->utrd.prd_table_offset; in ufs_mcq_process_cq() 453 req->cqe.status = req->utrd.header.dword_2 & 0xf; in ufs_mcq_process_cq() 454 req->cqe.error = 0; in ufs_mcq_process_cq() 456 ret = ufs_addr_write(u, cq->addr + tail, &req->cqe, sizeof(req->cqe)); in ufs_mcq_process_cq() 462 tail = (tail + sizeof(req->cqe)) % (cq->size * sizeof(req->cqe)); in ufs_mcq_process_cq()
|
H A D | ufs.h | 65 struct UfsCqEntry cqe; member
|
/qemu/hw/nvme/ |
H A D | nvme.h | 426 NvmeCqe cqe; member 675 return le16_to_cpu(req->cqe.cid); in nvme_cid()
|
H A D | ctrl.c | 705 memset(&req->cqe, 0x0, sizeof(req->cqe)); in nvme_req_clear() 1512 req->cqe.sq_id = cpu_to_le16(sq->sqid); in nvme_post_cqes() 1516 sizeof(req->cqe)); in nvme_post_cqes() 6014 req->cqe.result = 1; in nvme_abort() 6022 if (re->cqe.cid == cid) { in nvme_abort() 6027 req->cqe.result = 0; in nvme_abort() 6035 if (r->cqe.cid == cid) { in nvme_abort() 6358 req->cqe.result = cpu_to_le32(result); in nvme_get_feature() 6988 req->cqe.result = cpu_to_le32(nr); in nvme_assign_virt_res_to_prim() 7039 req->cqe.result = cpu_to_le32(nr); in nvme_assign_virt_res_to_sec() [all …]
|
/qemu/block/ |
H A D | nvme.c | 631 NvmeCqe *cqe = (NvmeCqe *)&q->cq.queue[cqe_offset]; in nvme_poll_queue() local 639 if ((le16_to_cpu(cqe->status) & 0x1) == q->cq_phase) { in nvme_poll_queue() 722 NvmeCqe *cqe = (NvmeCqe *)&q->cq.queue[cqe_offset]; in nvme_poll_cb() local 728 if ((le16_to_cpu(cqe->status) & 0x1) != q->cq_phase) { in nvme_poll_cb()
|