Searched refs:tq (Results 1 - 7 of 7) sorted by path
/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 in struct:scan 120 int tq; member in struct:comp 148 int m, l, i, j, lq, pq, tq; local 165 tq = pq & 15; 166 if (tq > 3) 172 quant[tq][i] = getbyte(); 286 comps[i].tq = getbyte(); 289 if (comps[i].tq > 3) 311 dscans[i].tq = comps[j].tq; [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/attansic_l2/dev/ae/ |
H A D | if_ae.c | 375 sc->tq = taskqueue_create_fast("ae_taskq", M_WAITOK, 376 taskqueue_thread_enqueue, &sc->tq); 377 if (sc->tq == NULL) { 383 taskqueue_start_threads(&sc->tq, 1, PI_NET, "%s taskq", 393 taskqueue_free(sc->tq); 394 sc->tq = NULL; 773 taskqueue_drain(sc->tq, &sc->int_task); 777 if (sc->tq != NULL) { 778 taskqueue_drain(sc->tq, &sc->int_task); 779 taskqueue_free(sc->tq); [all...] |
H A D | if_aevar.h | 125 struct taskqueue *tq; member in struct:ae_softc
|
/haiku/src/libs/compat/freebsd_iflib/ |
H A D | subr_gtaskqueue.c | 97 #define TQ_LOCK(tq) \ 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) 106 #define TQ_UNLOCK(tq) \ 108 if ((tq)->tq_spin) \ 109 mtx_unlock_spin(&(tq)->tq_mutex); \ 111 mtx_unlock(&(tq) 125 TQ_SLEEP(struct gtaskqueue *tq, void *p, struct mtx *m, int pri, const char *wm, int t) argument 172 gtaskqueue_terminate(struct thread **pp, struct gtaskqueue *tq) argument 473 struct gtaskqueue *tq; local 547 gtaskqueue_run_callback(struct gtaskqueue *tq, enum taskqueue_callback_type cb_type) argument 561 struct gtaskqueue **tqp, *tq; local 599 struct gtaskqueue **tqp, *tq; local [all...] |
/haiku/src/libs/compat/freebsd_network/ |
H A D | fbsd_subr_taskqueue.c | 86 #define TQ_LOCK(tq) \ 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) 95 #define TQ_UNLOCK(tq) \ 97 if ((tq)->tq_spin) \ 98 mtx_unlock_spin(&(tq)->tq_mutex); \ 100 mtx_unlock(&(tq) 487 taskqueue_run_callback(struct taskqueue *tq, enum taskqueue_callback_type cb_type) argument [all...] |
H A D | taskqueue.c | 17 static void taskqueue_terminate(struct thread **pp, struct taskqueue *tq); 35 struct taskqueue *tq = data; local 37 taskqueue_run_callback(tq, TASKQUEUE_CALLBACK_TYPE_INIT); 39 TQ_LOCK(tq); 40 sem_id sem = tq->tq_sem; 41 TQ_UNLOCK(tq); 44 TQ_LOCK(tq); 45 taskqueue_run_locked(tq); 46 TQ_UNLOCK(tq); 49 taskqueue_run_callback(tq, TASKQUEUE_CALLBACK_TYPE_SHUTDOW 59 struct taskqueue *tq = (*taskQueue); local 109 taskqueue_terminate(struct thread **pp, struct taskqueue *tq) argument [all...] |
/haiku/src/libs/compat/openbsd_network/compat/sys/ |
H A D | task.h | 14 struct taskqueue* tq; member in struct:taskq 37 struct taskqueue* tq = (tasq == systq) ? taskqueue_fast : tasq->tq; local 38 if (tq == taskqueue_fast) 42 return (taskqueue_enqueue(tq, w) == 0); 57 struct taskqueue* tq = (tasq == systq) ? taskqueue_fast : tasq->tq; local 60 return (taskqueue_cancel(tq, w, NULL) == 0);
|
Completed in 59 milliseconds