Lines Matching refs:sgl
587 struct nvme_sgl_descriptor *sgl; in _nvme_qpair_build_hw_sgl_request() local
599 nvme_assert(req->payload.u.sgl.reset_sgl_fn != NULL, in _nvme_qpair_build_hw_sgl_request()
601 nvme_assert(req->payload.u.sgl.next_sge_fn != NULL, in _nvme_qpair_build_hw_sgl_request()
603 req->payload.u.sgl.reset_sgl_fn(req->payload.u.sgl.cb_arg, in _nvme_qpair_build_hw_sgl_request()
606 sgl = tr->u.sgl; in _nvme_qpair_build_hw_sgl_request()
619 ret = req->payload.u.sgl.next_sge_fn(req->payload.u.sgl.cb_arg, in _nvme_qpair_build_hw_sgl_request()
629 sgl->unkeyed.type = NVME_SGL_TYPE_DATA_BLOCK; in _nvme_qpair_build_hw_sgl_request()
630 sgl->unkeyed.length = length; in _nvme_qpair_build_hw_sgl_request()
631 sgl->address = phys_addr; in _nvme_qpair_build_hw_sgl_request()
632 sgl->unkeyed.subtype = 0; in _nvme_qpair_build_hw_sgl_request()
634 sgl++; in _nvme_qpair_build_hw_sgl_request()
648 req->cmd.dptr.sgl1.address = tr->u.sgl[0].address; in _nvme_qpair_build_hw_sgl_request()
649 req->cmd.dptr.sgl1.unkeyed.length = tr->u.sgl[0].unkeyed.length; in _nvme_qpair_build_hw_sgl_request()
679 nvme_assert(req->payload.u.sgl.reset_sgl_fn != NULL, in _nvme_qpair_build_prps_sgl_request()
681 req->payload.u.sgl.reset_sgl_fn(req->payload.u.sgl.cb_arg, in _nvme_qpair_build_prps_sgl_request()
688 nvme_assert(req->payload.u.sgl.next_sge_fn != NULL, in _nvme_qpair_build_prps_sgl_request()
691 ret = req->payload.u.sgl.next_sge_fn(req->payload.u.sgl.cb_arg, in _nvme_qpair_build_prps_sgl_request()