Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/io/nvme/
H A Dnvme_var.h96 size_t nq_nentry; member
H A Dnvme.c804 for (i = 0; i != qp->nq_nentry; i++) in nvme_free_qpair()
809 kmem_free(qp->nq_cmd, sizeof (nvme_cmd_t *) * qp->nq_nentry); in nvme_free_qpair()
834 qp->nq_nentry = nentry; in nvme_alloc_qpair()
925 qp->nq_next_cmd = (qp->nq_next_cmd + 1) % qp->nq_nentry; in nvme_submit_cmd_common()
935 qp->nq_next_cmd = (qp->nq_next_cmd + 1) % qp->nq_nentry; in nvme_submit_cmd_common()
937 tail.b.sqtdbl_sqt = qp->nq_sqtail = (qp->nq_sqtail + 1) % qp->nq_nentry; in nvme_submit_cmd_common()
949 ASSERT3S(cid, <, qp->nq_nentry); in nvme_unqueue_cmd()
973 sizeof (nvme_cqe_t) * qp->nq_nentry, DDI_DMA_SYNC_FORKERNEL); in nvme_retrieve_cmd()
993 head.b.cqhdbl_cqh = qp->nq_cqhead = (qp->nq_cqhead + 1) % qp->nq_nentry; in nvme_retrieve_cmd()
2010 dw10.b.q_qsize = qp->nq_nentry - 1; in nvme_create_io_qpair()