| /src/external/public-domain/xz/dist/src/liblzma/common/ |
| outqueue.c | 42 move_head_to_cache(lzma_outq *outq, const lzma_allocator *allocator) 44 assert(outq->head != NULL); 45 assert(outq->tail != NULL); 46 assert(outq->bufs_in_use > 0); 48 lzma_outbuf *buf = outq->head; 49 outq->head = buf->next; 50 if (outq->head == NULL) 51 outq->tail = NULL; 53 if (outq->cache != NULL && outq->cache->allocated != buf->allocated [all...] |
| outqueue.h | 118 /// \param outq Pointer to an output queue. Before calling 119 /// this function the first time, *outq should 135 extern lzma_ret lzma_outq_init(lzma_outq *outq, 140 extern void lzma_outq_end(lzma_outq *outq, const lzma_allocator *allocator); 145 lzma_outq *outq, const lzma_allocator *allocator); 154 lzma_outq *outq, const lzma_allocator *allocator, 169 lzma_outq *outq, const lzma_allocator *allocator, size_t size); 177 extern lzma_outbuf *lzma_outq_get_buf(lzma_outq *outq, void *worker); 185 extern bool lzma_outq_is_readable(const lzma_outq *outq); 190 /// \param outq Pointer to an output queu [all...] |
| stream_decoder_mt.c | 206 lzma_outq outq; member in struct:lzma_stream_coder 660 ret = lzma_outq_read(&coder->outq, allocator, 670 &coder->outq, 737 - coder->outq.mem_in_use 739 && lzma_outq_has_buf(&coder->outq) 756 if (lzma_outq_is_empty(&coder->outq)) { 776 if (lzma_outq_is_readable(&coder->outq)) { 815 assert(coder->thr->outbuf == coder->outq.head); 816 assert(coder->thr->outbuf == coder->outq.tail); 1219 if (!lzma_outq_is_empty(&coder->outq)) [all...] |
| stream_encoder_mt.c | 151 lzma_outq outq; member in struct:lzma_stream_coder_s 544 if (!lzma_outq_has_buf(&coder->outq)) 549 return_if_error(lzma_outq_prealloc_buf(&coder->outq, allocator, 581 coder->thr->outbuf = lzma_outq_get_buf(&coder->outq, NULL); 698 || !lzma_outq_has_buf(&coder->outq)) 699 && !lzma_outq_is_readable(&coder->outq) 756 ret = lzma_outq_read(&coder->outq, allocator, 812 if (lzma_outq_is_empty(&coder->outq)) { 898 lzma_outq_end(&coder->outq, allocator); 1097 memzero(&coder->outq, sizeof(coder->outq)) [all...] |
| /src/sys/dev/ |
| sequencervar.h | 100 struct sequencer_queue outq; /* output event queue */ member in struct:sequencer_softc
|
| sequencer.c | 364 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) {
|
| /src/external/bsd/wpa/dist/wpa_supplicant/ |
| ctrl_iface_unix.c | 81 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); 299 int sndbuf, outq; local 304 ioctl(sock, TIOCOUTQ, &outq) < 0 || 305 sndbuf <= 0 || outq < 0) 307 return outq > sndbuf / 2;
|
| /src/sys/kern/ |
| tty.c | 246 struct clist rawq, canq, outq; local 251 clalloc(&outq, newsize, 0); 259 clfree(&outq); 270 tp->t_outq = outq;
|
| /src/external/bsd/unbound/dist/iterator/ |
| iterator.c | 2471 struct outbound_entry* outq; local 3097 outq = (*qstate->env->send_query)(&iq->qinfo_out, 3113 if(!outq) { 3130 outbound_list_insert(&iq->outlist, outq);
|