Lines Matching refs: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()
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()
578 status = nvme_check_prinfo(ns, prinfo, slba, reftag); in nvme_dif_rw()
579 if (status) { in nvme_dif_rw()
641 status = nvme_map_dptr(n, &req->sg, mapped_len, &req->cmd); in nvme_dif_rw()
642 if (status) { in nvme_dif_rw()
660 status = nvme_bounce_data(n, ctx->data.bounce, ctx->data.iov.size, in nvme_dif_rw()
662 if (status) { in nvme_dif_rw()
672 status = nvme_bounce_mdata(n, ctx->mdata.bounce, ctx->mdata.iov.size, in nvme_dif_rw()
674 if (status) { in nvme_dif_rw()
679 status = nvme_check_prinfo(ns, prinfo, slba, reftag); in nvme_dif_rw()
680 if (status) { in nvme_dif_rw()
690 status = nvme_dif_check(ns, ctx->data.bounce, ctx->data.iov.size, in nvme_dif_rw()
693 if (status) { in nvme_dif_rw()
715 return status; in nvme_dif_rw()