Lines Matching refs:aq_freebytes
62 int aq_freebytes; /* Bytes available in buffer */ member
90 #define HAS_PENDING_DATA(alq) ((alq)->aq_freebytes != (alq)->aq_buflen)
389 alq->aq_freebytes += totlen + wrapearly; in alq_doio()
466 alq->aq_freebytes = alq->aq_buflen; in alq_open_flags()
535 HAS_PENDING_DATA(alq))) && alq->aq_freebytes < len)) { in alq_writen()
559 while (alq->aq_freebytes < len && !(alq->aq_flags & AQ_SHUTDOWN)) { in alq_writen()
577 alq->aq_freebytes < len && !(alq->aq_flags & AQ_WANTED)) in alq_writen()
636 alq->aq_freebytes -= len; in alq_writen()
695 contigbytes = alq->aq_freebytes; in alq_getn()
711 contigbytes = alq->aq_freebytes = in alq_getn()
766 contigbytes = alq->aq_freebytes; in alq_getn()
842 alq->aq_freebytes -= ale->ae_bytesused; in alq_post_flags()