Searched refs:HAS_PENDING_DATA (Results 1 – 1 of 1) sorted by relevance
90 #define HAS_PENDING_DATA(alq) ((alq)->aq_freebytes != (alq)->aq_buflen) macro275 if (!(alq->aq_flags & AQ_ACTIVE) && HAS_PENDING_DATA(alq)) { in alq_shutdown()322 KASSERT((HAS_PENDING_DATA(alq)), ("%s: queue empty!", __func__)); in alq_doio()403 if (!HAS_PENDING_DATA(alq)) in alq_doio()535 HAS_PENDING_DATA(alq))) && alq->aq_freebytes < len)) { in alq_writen()643 KASSERT((HAS_PENDING_DATA(alq)), ("%s: queue empty!", __func__)); in alq_writen()731 HAS_PENDING_DATA(alq))) && contigbytes < len)) { in alq_getn()853 KASSERT((HAS_PENDING_DATA(alq)), ("%s: queue empty!", __func__)); in alq_post_flags()896 if (HAS_PENDING_DATA(alq) && !(alq->aq_flags & AQ_FLUSHING)) { in alq_flush()