Home
last modified time | relevance | path

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

/freebsd/sys/dev/nvmf/host/
H A Dnvmf_qpair.c119 uint16_t new_sqtail; in nvmf_dispatch_command() local
131 new_sqtail = (qp->sqtail + 1) % (qp->num_commands + 1); in nvmf_dispatch_command()
132 KASSERT(new_sqtail != qp->sqhd, ("%s: qp %p is full", __func__, qp)); in nvmf_dispatch_command()
133 qp->sqtail = new_sqtail; in nvmf_dispatch_command()
/freebsd/lib/libnvmf/
H A Dnvmf_host.c202 uint16_t new_sqtail; in nvmf_host_transmit_command() local
206 new_sqtail = (qp->nq_sqtail + 1) % qp->nq_qsize; in nvmf_host_transmit_command()
207 if (new_sqtail == qp->nq_sqhd) in nvmf_host_transmit_command()
221 qp->nq_sqtail = new_sqtail; in nvmf_host_transmit_command()