Lines Matching full:status
303 uint16_t status; in nvme_dif_check() local
305 status = nvme_check_prinfo(ns, prinfo, slba, *reftag); in nvme_dif_check()
306 if (status) { in nvme_dif_check()
307 return status; in nvme_dif_check()
318 status = nvme_dif_prchk(ns, dif, bufp, mbuf, pil, prinfo, apptag, in nvme_dif_check()
320 if (status) { in nvme_dif_check()
330 if (status == NVME_E2E_GUARD_ERROR && slba == 0x0 && bufp == buf) { in nvme_dif_check()
337 return status; in nvme_dif_check()
376 error_setg_errno(&err, -ret, "unable to get block status"); in nvme_dif_mangle_mdata()
436 uint16_t status; in nvme_dif_rw_check_cb() local
447 status = nvme_dif_mangle_mdata(ns, ctx->mdata.bounce, ctx->mdata.iov.size, in nvme_dif_rw_check_cb()
449 if (status) { in nvme_dif_rw_check_cb()
450 req->status = status; in nvme_dif_rw_check_cb()
454 status = nvme_dif_check(ns, ctx->data.bounce, ctx->data.iov.size, in nvme_dif_rw_check_cb()
457 if (status) { in nvme_dif_rw_check_cb()
458 req->status = status; in nvme_dif_rw_check_cb()
462 status = nvme_bounce_data(n, ctx->data.bounce, ctx->data.iov.size, in nvme_dif_rw_check_cb()
464 if (status) { in nvme_dif_rw_check_cb()
465 req->status = status; in nvme_dif_rw_check_cb()
473 status = nvme_bounce_mdata(n, ctx->mdata.bounce, ctx->mdata.iov.size, in nvme_dif_rw_check_cb()
475 if (status) { in nvme_dif_rw_check_cb()
476 req->status = status; in nvme_dif_rw_check_cb()
557 uint16_t status; in nvme_dif_rw() local
570 status = NVME_INVALID_PROT_INFO | NVME_DNR; in nvme_dif_rw()
636 status = nvme_map_dptr(n, &req->sg, mapped_len, &req->cmd); in nvme_dif_rw()
637 if (status) { in nvme_dif_rw()
655 status = nvme_bounce_data(n, ctx->data.bounce, ctx->data.iov.size, in nvme_dif_rw()
657 if (status) { in nvme_dif_rw()
667 status = nvme_bounce_mdata(n, ctx->mdata.bounce, ctx->mdata.iov.size, in nvme_dif_rw()
669 if (status) { in nvme_dif_rw()
674 status = nvme_check_prinfo(ns, prinfo, slba, reftag); in nvme_dif_rw()
675 if (status) { in nvme_dif_rw()
685 status = nvme_dif_check(ns, ctx->data.bounce, ctx->data.iov.size, in nvme_dif_rw()
688 if (status) { in nvme_dif_rw()
710 return status; in nvme_dif_rw()