Lines Matching defs:cpl
464 if (nvme_completion_is_error(&status.cpl)) {
494 if (nvme_completion_is_error(&status.cpl)) {
504 sq_allocated = (status.cpl.cdw0 & 0xFFFF) + 1;
505 cq_allocated = (status.cpl.cdw0 >> 16) + 1;
534 if (nvme_completion_is_error(&status.cpl)) {
543 if (nvme_completion_is_error(&status.cpl)) {
565 if (nvme_completion_is_error(&status.cpl)) {
574 if (nvme_completion_is_error(&status.cpl)) {
683 nvme_ctrlr_async_event_log_page_cb(void *arg, const struct nvme_completion *cpl)
696 if (nvme_completion_is_error(cpl))
697 nvme_notify_async_consumers(aer->ctrlr, &aer->cpl,
758 * Pass the cpl data from the original async event completion,
761 nvme_notify_async_consumers(aer->ctrlr, &aer->cpl,
773 nvme_ctrlr_async_event_cb(void *arg, const struct nvme_completion *cpl)
777 if (nvme_completion_is_error(cpl)) {
788 aer->log_page_id = NVMEV(NVME_ASYNC_EVENT_LOG_PAGE_ID, cpl->cdw0);
791 " page 0x%02x)\n", NVMEV(NVME_ASYNC_EVENT_TYPE, cpl->cdw0),
792 NVMEV(NVME_ASYNC_EVENT_INFO, cpl->cdw0),
798 memcpy(&aer->cpl, cpl, sizeof(*cpl));
805 nvme_notify_async_consumers(aer->ctrlr, cpl, aer->log_page_id,
861 if (nvme_completion_is_error(&status.cpl) ||
862 (status.cpl.cdw0 & 0xFFFF) == 0xFFFF ||
863 (status.cpl.cdw0 & 0xFFFF) == 0x0000) {
1066 if (nvme_completion_is_error(&status.cpl))
1217 if (ctrlr->ioq && ctrlr->ioq[i].cpl)
1237 nvme_pt_done(void *arg, const struct nvme_completion *cpl)
1243 bzero(&pt->cpl, sizeof(pt->cpl));
1244 pt->cpl.cdw0 = cpl->cdw0;
1246 status = cpl->status;
1248 pt->cpl.status = status;
1325 nvme_npc_done(void *arg, const struct nvme_completion *cpl)
1330 npc->result = cpl->cdw0; /* cpl in host order by now */