readq
#ifndef readq
#define readq(addr) readq(addr)
return (readq(addr));
#define _iosys_map_readq(_addr) readq(_addr)
struct ifqueue readq;
mtx_init(&priv->readq.ifq_mtx, "ng_device queue", NULL, MTX_DEF);
IFQ_SET_MAXLEN(&priv->readq, ifqmaxlen);
mtx_destroy(&priv->readq.ifq_mtx);
IF_LOCK(&priv->readq);
if (_IF_QFULL(&priv->readq)) {
IF_UNLOCK(&priv->readq);
_IF_ENQUEUE(&priv->readq, m);
IF_UNLOCK(&priv->readq);
IF_DRAIN(&priv->readq);
mtx_destroy(&(priv)->readq.ifq_mtx);
IF_DEQUEUE(&priv->readq, m);
!IFQ_IS_EMPTY(&priv->readq))
IFQ_LOCK(&priv->readq);
if (IFQ_IS_EMPTY(&priv->readq)) {
IF_POLL(&priv->readq, m);
IFQ_UNLOCK(&priv->readq);