Searched refs:cq_head (Results 1 - 6 of 6) sorted by relevance

/freebsd-13-stable/sys/crypto/ccp/
H A Dccp.h118 unsigned cq_head; member in struct:ccp_queue
250 return ((qp->cq_tail - qp->cq_head) & ((1 << sc->ring_size_order) - 1));
H A Dccp_hardware.c529 qp->cq_head = idx;
532 DPRINTF(sc->dev, "%s: wrote sw head:%u\n", __func__, qp->cq_head);
562 qp->cq_head);
564 while (qp->cq_head != idx) {
565 DPRINTF(sc->dev, "%s: completing:%u\n", __func__, qp->cq_head);
567 cctx = &qp->completions_ring[qp->cq_head];
575 memset(&qp->desc_ring[qp->cq_head], 0,
576 sizeof(qp->desc_ring[qp->cq_head]));
578 qp->cq_head = (qp->cq_head
[all...]
H A Dccp.c749 db_printf(" head: %u\n", qp->cq_head);
/freebsd-13-stable/sys/dev/nvme/
H A Dnvme_qpair.c556 * below, but before we can reset cq_head to zero at 2. Also cope with
563 if (qpair->cq_head == qpair->num_entries) {
565 * Here we know that we need to zero cq_head and then negate
566 * the phase, which hasn't been assigned if cq_head isn't
569 qpair->cq_head = 0;
571 } else if (qpair->cq_head == 0) {
586 cpl = qpair->cpl[qpair->cq_head];
605 * qpair->cq_head at 1 below. Later, we re-enter this
610 * won't have updated cq_head. Rather than panic again,
616 nvme_dump_completion(&qpair->cpl[qpair->cq_head]);
[all...]
H A Dnvme_sysctl.c263 SYSCTL_ADD_UINT(ctrlr_ctx, que_list, OID_AUTO, "cq_head",
264 CTLFLAG_RD, &qpair->cq_head, 0,
H A Dnvme_private.h181 uint32_t cq_head; member in struct:nvme_qpair

Completed in 122 milliseconds