Searched refs:outq (Results 1 - 8 of 8) sorted by relevance

/netbsd-current/external/public-domain/xz/dist/src/liblzma/common/
H A Doutqueue.c57 lzma_outq_init(lzma_outq *outq, const lzma_allocator *allocator, argument
68 if (outq->buf_size_max != buf_size_max
69 || outq->bufs_allocated != bufs_count) {
70 lzma_outq_end(outq, allocator);
77 outq->bufs = lzma_alloc(bufs_count * sizeof(lzma_outbuf),
79 outq->bufs_mem = lzma_alloc((size_t)(bufs_alloc_size),
82 if (outq->bufs == NULL || outq->bufs_mem == NULL) {
83 lzma_outq_end(outq, allocator);
89 // outq
101 lzma_outq_end(lzma_outq *outq, const lzma_allocator *allocator) argument
114 lzma_outq_get_buf(lzma_outq *outq) argument
136 lzma_outq_is_readable(const lzma_outq *outq) argument
147 lzma_outq_read(lzma_outq *restrict outq, uint8_t *restrict out, size_t *restrict out_pos, size_t out_size, lzma_vli *restrict unpadded_size, lzma_vli *restrict uncompressed_size) argument
[all...]
H A Doutqueue.h73 /// \param outq Pointer to an output queue. Before calling
74 /// this function the first time, *outq should
91 lzma_outq *outq, const lzma_allocator *allocator,
96 extern void lzma_outq_end(lzma_outq *outq, const lzma_allocator *allocator);
104 extern lzma_outbuf *lzma_outq_get_buf(lzma_outq *outq);
112 extern bool lzma_outq_is_readable(const lzma_outq *outq);
117 /// \param outq Pointer to an output queue
134 extern lzma_ret lzma_outq_read(lzma_outq *restrict outq,
145 lzma_outq_has_buf(const lzma_outq *outq) argument
147 return outq
153 lzma_outq_is_empty(const lzma_outq *outq) argument
[all...]
H A Dstream_encoder_mt.c134 lzma_outq outq; member in struct:lzma_stream_coder_s
208 .compressed_size = thr->coder->outq.buf_size_max,
238 const size_t out_size = thr->coder->outq.buf_size_max;
519 if (!lzma_outq_has_buf(&coder->outq))
544 coder->thr->outbuf = lzma_outq_get_buf(&coder->outq);
648 || !lzma_outq_has_buf(&coder->outq))
649 && !lzma_outq_is_readable(&coder->outq)
707 ret = lzma_outq_read(&coder->outq,
760 if (lzma_outq_is_empty(&coder->outq)) {
847 lzma_outq_end(&coder->outq, allocato
[all...]
/netbsd-current/sys/dev/
H A Dsequencervar.h100 struct sequencer_queue outq; /* output event queue */ member in struct:sequencer_softc
H A Dsequencer.c364 SEQ_QINIT(&sc->outq);
413 DPRINTFN(3, ("seq_drain: %p, len=%d\n", sc, SEQ_QLEN(&sc->outq)));
416 while (!SEQ_QEMPTY(&sc->outq) && !error)
437 if (SEQ_QLEN(&sc->outq) >= sc->lowat) {
455 struct sequencer_queue *q = &sc->outq;
676 q = &sc->outq;
901 if ((sc->flags&FWRITE) && SEQ_QLEN(&sc->outq) < sc->lowat)
973 if (SEQ_QLEN(&sc->outq) >= sc->lowat) {
/netbsd-current/external/bsd/wpa/dist/wpa_supplicant/
H A Dctrl_iface_unix.c81 int sndbuf, outq; local
92 if (ioctl(sock, TIOCOUTQ, &outq) < 0)
93 outq = -1;
96 "CTRL-DEBUG: %s: sock=%d sndbuf=%d outq=%d send_len=%d",
97 title, sock, sndbuf, outq, (int) len);
286 int sndbuf, outq; local
291 ioctl(sock, TIOCOUTQ, &outq) < 0 ||
292 sndbuf <= 0 || outq < 0)
294 return outq > sndbuf / 2;
/netbsd-current/sys/kern/
H A Dtty.c246 struct clist rawq, canq, outq; local
251 clalloc(&outq, newsize, 0);
259 clfree(&outq);
270 tp->t_outq = outq;
/netbsd-current/external/bsd/unbound/dist/iterator/
H A Diterator.c2338 struct outbound_entry* outq; local
2906 outq = (*qstate->env->send_query)(&iq->qinfo_out,
2921 if(!outq) {
2938 outbound_list_insert(&iq->outlist, outq);

Completed in 138 milliseconds