Lines Matching refs:readq
90 struct ifqueue readq;
173 mtx_init(&priv->readq.ifq_mtx, "ng_device queue", NULL, MTX_DEF);
174 IFQ_SET_MAXLEN(&priv->readq, ifqmaxlen);
185 mtx_destroy(&priv->readq.ifq_mtx);
271 IF_LOCK(&priv->readq);
272 if (_IF_QFULL(&priv->readq)) {
273 IF_UNLOCK(&priv->readq);
278 _IF_ENQUEUE(&priv->readq, m);
279 IF_UNLOCK(&priv->readq);
303 IF_DRAIN(&priv->readq);
304 mtx_destroy(&(priv)->readq.ifq_mtx);
420 IF_DEQUEUE(&priv->readq, m);
486 !IFQ_IS_EMPTY(&priv->readq))