Lines Matching defs:qp
1622 queue_head_t *qp;
1649 if ((qp = udp->queue_head) != NULL) {
1650 (void) memset(qp, 0, 2 * QHASHSIZE * sizeof (queue_head_t));
1651 for (i = 0; i < 2 * QHASHSIZE; qp++, i++) {
1652 qp->qh_type = (i < QHASHSIZE)? MX : CV;
1653 qp->qh_lock.mutex_flag = LOCK_INITED;
1654 qp->qh_lock.mutex_magic = MUTEX_MAGIC;
1655 qp->qh_hlist = &qp->qh_def_root;
1657 qp->qh_hlen = 1;
1658 qp->qh_hmax = 1;