Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/disk/nvme/
Dnvme_cmd.c390 request->qpair->num_retries++; in nvme_cmd_request_complete()
396 request->qpair->num_failures++; in nvme_cmd_request_complete()
408 nvme_cmd_qpair_submit_request(request->qpair, request); in nvme_cmd_request_complete()
422 static void nvme_cmd_qpair_process_completion(struct nvme_cmd_qpair *qpair) in nvme_cmd_qpair_process_completion() argument
428 if (qpair->num_intr_handler_calls == 0 && qpair->phase == 0) { in nvme_cmd_qpair_process_completion()
432 qpair->num_intr_handler_calls++; in nvme_cmd_qpair_process_completion()
437 status = sys_le16_to_cpu(qpair->cpl[qpair->cq_head].status); in nvme_cmd_qpair_process_completion()
438 if (NVME_STATUS_GET_P(status) != qpair->phase) { in nvme_cmd_qpair_process_completion()
442 cpl = qpair->cpl[qpair->cq_head]; in nvme_cmd_qpair_process_completion()
458 qpair->sq_head = cpl.sqhd; in nvme_cmd_qpair_process_completion()
[all …]
Dnvme_cmd.h361 struct nvme_cmd_qpair *qpair; member
391 int nvme_cmd_qpair_setup(struct nvme_cmd_qpair *qpair,
395 void nvme_cmd_qpair_reset(struct nvme_cmd_qpair *qpair);
397 int nvme_cmd_qpair_submit_request(struct nvme_cmd_qpair *qpair,