Searched refs:tq (Results 1 – 8 of 8) sorted by relevance
/haiku/src/libs/compat/freebsd_network/ |
H A D | taskqueue.c | 17 static void taskqueue_terminate(struct thread **pp, struct taskqueue *tq); 35 struct taskqueue *tq = data; in tq_handle_thread() local 37 taskqueue_run_callback(tq, TASKQUEUE_CALLBACK_TYPE_INIT); in tq_handle_thread() 39 TQ_LOCK(tq); in tq_handle_thread() 40 sem_id sem = tq->tq_sem; in tq_handle_thread() 41 TQ_UNLOCK(tq); in tq_handle_thread() 44 TQ_LOCK(tq); in tq_handle_thread() 45 taskqueue_run_locked(tq); in tq_handle_thread() 46 TQ_UNLOCK(tq); in tq_handle_thread() 49 taskqueue_run_callback(tq, TASKQUEUE_CALLBACK_TYPE_SHUTDOWN); in tq_handle_thread() [all …]
|
H A D | fbsd_subr_taskqueue.c | 86 #define TQ_LOCK(tq) \ argument 88 if ((tq)->tq_spin) \ 89 mtx_lock_spin(&(tq)->tq_mutex); \ 91 mtx_lock(&(tq)->tq_mutex); \ 93 #define TQ_ASSERT_LOCKED(tq) mtx_assert(&(tq)->tq_mutex, MA_OWNED) argument 95 #define TQ_UNLOCK(tq) \ argument 97 if ((tq)->tq_spin) \ 98 mtx_unlock_spin(&(tq)->tq_mutex); \ 100 mtx_unlock(&(tq)->tq_mutex); \ 102 #define TQ_ASSERT_UNLOCKED(tq) mtx_assert(&(tq)->tq_mutex, MA_NOTOWNED) argument [all …]
|
/haiku/src/libs/compat/openbsd_network/compat/sys/ |
H A D | task.h | 14 struct taskqueue* tq; member 37 struct taskqueue* tq = (tasq == systq) ? taskqueue_fast : tasq->tq; in task_add() local 38 if (tq == taskqueue_fast) in task_add() 42 return (taskqueue_enqueue(tq, w) == 0); in task_add() 57 struct taskqueue* tq = (tasq == systq) ? taskqueue_fast : tasq->tq; in task_del() local 60 return (taskqueue_cancel(tq, w, NULL) == 0); in task_del()
|
/haiku/src/libs/compat/freebsd_iflib/ |
H A D | subr_gtaskqueue.c | 97 #define TQ_LOCK(tq) \ argument 99 if ((tq)->tq_spin) \ 100 mtx_lock_spin(&(tq)->tq_mutex); \ 102 mtx_lock(&(tq)->tq_mutex); \ 104 #define TQ_ASSERT_LOCKED(tq) mtx_assert(&(tq)->tq_mutex, MA_OWNED) argument 106 #define TQ_UNLOCK(tq) \ argument 108 if ((tq)->tq_spin) \ 109 mtx_unlock_spin(&(tq)->tq_mutex); \ 111 mtx_unlock(&(tq)->tq_mutex); \ 113 #define TQ_ASSERT_UNLOCKED(tq) mtx_assert(&(tq)->tq_mutex, MA_NOTOWNED) argument [all …]
|
/haiku/src/add-ons/media/media-add-ons/finepix_webcam/FinePixJpeg/ |
H A D | finepix-jpeg.c | 55 int tq; /* quant tbl, copied from comp */ member 120 int tq; member 148 int m, l, i, j, lq, pq, tq; in readtables() local 165 tq = pq & 15; in readtables() 166 if (tq > 3) in readtables() 172 quant[tq][i] = getbyte(); in readtables() 286 comps[i].tq = getbyte(); in jpeg_decode() 289 if (comps[i].tq > 3) in jpeg_decode() 311 dscans[i].tq = comps[j].tq; in jpeg_decode() 332 idctqtab(quant[dscans[0].tq], decdata->dquant[0]); in jpeg_decode() [all …]
|
/haiku/src/add-ons/kernel/drivers/network/ether/attansic_l2/dev/ae/ |
H A D | if_aevar.h | 123 struct taskqueue *tq; member
|
H A D | if_ae.c | 371 sc->tq = taskqueue_create_fast("ae_taskq", M_WAITOK, in ae_attach() 372 taskqueue_thread_enqueue, &sc->tq); in ae_attach() 373 if (sc->tq == NULL) { in ae_attach() 379 taskqueue_start_threads(&sc->tq, 1, PI_NET, "%s taskq", in ae_attach() 389 taskqueue_free(sc->tq); in ae_attach() 390 sc->tq = NULL; in ae_attach() 769 taskqueue_drain(sc->tq, &sc->int_task); in ae_detach() 773 if (sc->tq != NULL) { in ae_detach() 774 taskqueue_drain(sc->tq, &sc->int_task); in ae_detach() 775 taskqueue_free(sc->tq); in ae_detach() [all …]
|
/haiku/src/bin/unzip/ |
H A D | unzip.txt | 659 unzip -tq letters 664 unzip -tq \*.zip 748 useful to define a pair of aliases: tt for ``unzip -tq''
|