Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/io/nvme/
H A Dnvme_var.h110 nvme_cmd_t **nq_cmd; member
H A Dnvme.c805 if (qp->nq_cmd[i] != NULL) in nvme_free_qpair()
806 nvme_free_cmd(qp->nq_cmd[i]); in nvme_free_qpair()
808 if (qp->nq_cmd != NULL) in nvme_free_qpair()
809 kmem_free(qp->nq_cmd, sizeof (nvme_cmd_t *) * qp->nq_nentry); in nvme_free_qpair()
839 qp->nq_cmd = kmem_zalloc(sizeof (nvme_cmd_t *) * nentry, KM_SLEEP); in nvme_alloc_qpair()
924 while (qp->nq_cmd[qp->nq_next_cmd] != NULL) in nvme_submit_cmd_common()
926 qp->nq_cmd[qp->nq_next_cmd] = cmd; in nvme_submit_cmd_common()
951 cmd = qp->nq_cmd[cid]; in nvme_unqueue_cmd()
952 qp->nq_cmd[cid] = NULL; in nvme_unqueue_cmd()