Home
last modified time | relevance | path

Searched refs:qpair (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.5.0/drivers/disk/nvme/
Dnvme_cmd.c387 request->qpair->num_retries++; in nvme_cmd_request_complete()
393 request->qpair->num_failures++; in nvme_cmd_request_complete()
405 nvme_cmd_qpair_submit_request(request->qpair, request); in nvme_cmd_request_complete()
419 static void nvme_cmd_qpair_process_completion(struct nvme_cmd_qpair *qpair) in nvme_cmd_qpair_process_completion() argument
425 if (qpair->num_intr_handler_calls == 0 && qpair->phase == 0) { in nvme_cmd_qpair_process_completion()
429 qpair->num_intr_handler_calls++; in nvme_cmd_qpair_process_completion()
434 status = sys_le16_to_cpu(qpair->cpl[qpair->cq_head].status); in nvme_cmd_qpair_process_completion()
435 if (NVME_STATUS_GET_P(status) != qpair->phase) { in nvme_cmd_qpair_process_completion()
439 cpl = qpair->cpl[qpair->cq_head]; in nvme_cmd_qpair_process_completion()
455 qpair->sq_head = cpl.sqhd; in nvme_cmd_qpair_process_completion()
[all …]
Dnvme_cmd.h358 struct nvme_cmd_qpair *qpair; member
388 int nvme_cmd_qpair_setup(struct nvme_cmd_qpair *qpair,
392 void nvme_cmd_qpair_reset(struct nvme_cmd_qpair *qpair);
394 int nvme_cmd_qpair_submit_request(struct nvme_cmd_qpair *qpair,