Home
last modified time | relevance | path

Searched refs:taskqueue (Results 1 – 25 of 103) sorted by relevance

12345

/freebsd-11-stable/sys/sys/
HDtaskqueue.h41 struct taskqueue;
46 struct taskqueue *q;
72 struct taskqueue *taskqueue_create(const char *name, int mflags,
75 int taskqueue_start_threads(struct taskqueue **tqp, int count, int pri,
77 int taskqueue_start_threads_cpuset(struct taskqueue **tqp, int count,
79 int taskqueue_enqueue(struct taskqueue *queue, struct task *task);
80 int taskqueue_enqueue_timeout(struct taskqueue *queue,
82 int taskqueue_enqueue_timeout_sbt(struct taskqueue *queue,
85 int taskqueue_poll_is_busy(struct taskqueue *queue, struct task *task);
86 int taskqueue_cancel(struct taskqueue *queue, struct task *task,
[all …]
/freebsd-11-stable/sys/kern/
HDsubr_taskqueue.c62 struct taskqueue { struct
106 _timeout_task_init(struct taskqueue *queue, struct timeout_task *timeout_task, in _timeout_task_init()
118 TQ_SLEEP(struct taskqueue *tq, void *p, const char *wm) in TQ_SLEEP()
125 static struct taskqueue *
130 struct taskqueue *queue; in _taskqueue_create()
137 queue = malloc(sizeof(struct taskqueue), M_TASKQUEUE, mflags | M_ZERO); in _taskqueue_create()
162 struct taskqueue *
172 taskqueue_set_callback(struct taskqueue *queue, in taskqueue_set_callback()
192 taskqueue_terminate(struct thread **pp, struct taskqueue *tq) in taskqueue_terminate()
202 taskqueue_free(struct taskqueue *queue) in taskqueue_free()
[all …]
/freebsd-11-stable/sys/compat/linuxkpi/common/src/
HDlinux_work.c117 struct taskqueue *tq; in linux_delayed_work_enqueue()
119 tq = dwork->work.work_queue->taskqueue; in linux_delayed_work_enqueue()
151 taskqueue_enqueue(wq->taskqueue, &work->work_task); in linux_queue_work_on()
325 struct taskqueue *tq; in linux_cancel_work_sync()
336 tq = work->work_queue->taskqueue; in linux_cancel_work_sync()
341 tq = work->work_queue->taskqueue; in linux_cancel_work_sync()
386 struct taskqueue *tq; in linux_cancel_delayed_work()
398 tq = dwork->work.work_queue->taskqueue; in linux_cancel_delayed_work()
425 struct taskqueue *tq; in linux_cancel_delayed_work_sync()
435 tq = dwork->work.work_queue->taskqueue; in linux_cancel_delayed_work_sync()
[all …]
/freebsd-11-stable/sys/dev/hyperv/vmbus/
HDvmbus_var.h79 struct taskqueue *event_tq; /* event taskq */
80 struct taskqueue *message_tq; /* message taskq */
121 struct taskqueue *vmbus_devtq; /* for dev attach/detach */
122 struct taskqueue *vmbus_subchtq; /* for sub-chan attach/detach */
HDvmbus_chanvar.h60 struct taskqueue *ch_tq;
135 struct taskqueue *ch_mgmt_tq;
HDvmbus_if.m36 struct taskqueue;
56 METHOD struct taskqueue * get_event_taskq { struct
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/
HDworkqueue.h59 struct taskqueue *taskqueue; member
127 taskqueue_drain_all(system_wq->taskqueue)
163 taskqueue_drain_all((wq)->taskqueue)
167 taskqueue_drain_all((wq)->taskqueue); \
/freebsd-11-stable/sys/dev/hyperv/netvsc/
HDif_hnvar.h116 struct taskqueue *hn_tx_taskq;
204 struct taskqueue **hn_tx_taskqs;
215 struct taskqueue *hn_mgmt_taskq;
216 struct taskqueue *hn_mgmt_taskq0;
256 struct taskqueue *hn_vf_taskq;
/freebsd-11-stable/sys/dev/qlxgbe/
HDql_def.h121 struct taskqueue *fp_taskqueue;
228 struct taskqueue *stats_tq;
252 struct taskqueue *err_tq;
257 struct taskqueue *async_event_tq;
/freebsd-11-stable/share/man/man9/
HDMakefile289 taskqueue.9 \
1805 MLINKS+=taskqueue.9 TASK_INIT.9 \
1806 taskqueue.9 TASK_INITIALIZER.9 \
1807 taskqueue.9 taskqueue_block.9 \
1808 taskqueue.9 taskqueue_cancel.9 \
1809 taskqueue.9 taskqueue_cancel_timeout.9 \
1810 taskqueue.9 taskqueue_create.9 \
1811 taskqueue.9 taskqueue_create_fast.9 \
1812 taskqueue.9 TASKQUEUE_DECLARE.9 \
1813 taskqueue.9 TASKQUEUE_DEFINE.9 \
[all …]
/freebsd-11-stable/sys/dev/wtap/wtap_hal/
HDhandler.h42 struct taskqueue;
45 struct taskqueue *tq;
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/sys/
HDtaskq.h39 struct taskqueue;
41 struct taskqueue *tq_queue;
/freebsd-11-stable/sys/dev/vnic/
HDnicvf_queues.h262 struct taskqueue *rbdr_taskq;
298 struct taskqueue *cmp_taskq;
334 struct taskqueue *snd_taskq;
357 struct taskqueue *qs_err_taskq;
/freebsd-11-stable/sys/dev/wtap/
HDif_wtapvar.h127 struct taskqueue;
139 struct taskqueue *sc_tq; /* private task queue */
/freebsd-11-stable/sys/dev/qlxgb/
HDqla_def.h100 struct taskqueue *rcv_tq;
163 struct taskqueue *tx_tq;
/freebsd-11-stable/sys/dev/e1000/
HDif_em.h333 struct taskqueue *tq;
367 struct taskqueue *tq;
424 struct taskqueue *tq; /* private task queue */
/freebsd-11-stable/sys/ufs/ufs/
HDufsmount.h53 struct taskqueue;
90 struct taskqueue *um_trim_tq;
/freebsd-11-stable/sys/dev/rt/
HDif_rt.c543 sc->taskqueue = taskqueue_create("rt_taskq", M_NOWAIT, in rt_attach()
544 taskqueue_thread_enqueue, &sc->taskqueue); in rt_attach()
546 taskqueue_start_threads(&sc->taskqueue, 1, PI_NET, "%s taskq", in rt_attach()
683 taskqueue_drain(sc->taskqueue, &sc->rx_done_task); in rt_detach()
684 taskqueue_drain(sc->taskqueue, &sc->tx_done_task); in rt_detach()
685 taskqueue_drain(sc->taskqueue, &sc->periodic_task); in rt_detach()
703 taskqueue_free(sc->taskqueue); in rt_detach()
952 taskqueue_block(sc->taskqueue); in rt_stop_locked()
959 taskqueue_drain(sc->taskqueue, &sc->rx_done_task); in rt_stop_locked()
960 taskqueue_drain(sc->taskqueue, &sc->tx_done_task); in rt_stop_locked()
[all …]
HDif_rtvar.h230 struct taskqueue *taskqueue; member
/freebsd-11-stable/sys/dev/hyperv/include/
HDvmbus.h126 struct taskqueue;
223 struct taskqueue *
/freebsd-11-stable/sys/dev/ena/
HDena.h218 struct taskqueue *cleanup_tq;
356 struct taskqueue *enqueue_tq;
468 struct taskqueue *reset_tq;
/freebsd-11-stable/sys/dev/nvme/
HDnvme_ctrlr.c224 taskqueue_enqueue(ctrlr->taskqueue, &ctrlr->fail_req_task); in nvme_ctrlr_post_failed_request()
403 taskqueue_enqueue(ctrlr->taskqueue, &ctrlr->reset_task); in nvme_ctrlr_reset()
1207 ctrlr->taskqueue = taskqueue_create("nvme_taskq", M_WAITOK, in nvme_ctrlr_construct()
1208 taskqueue_thread_enqueue, &ctrlr->taskqueue); in nvme_ctrlr_construct()
1209 taskqueue_start_threads(&ctrlr->taskqueue, 1, PI_DISK, "nvme taskq"); in nvme_ctrlr_construct()
1279 if (ctrlr->taskqueue) in nvme_ctrlr_destruct()
1280 taskqueue_free(ctrlr->taskqueue); in nvme_ctrlr_destruct()
/freebsd-11-stable/sys/dev/qlnx/qlnxe/
HDqlnx_def.h199 struct taskqueue *fp_taskqueue;
347 struct taskqueue *pf_taskqueue;
448 struct taskqueue *sp_taskqueue[MAX_HWFNS_PER_DEVICE];
487 struct taskqueue *err_taskqueue;
/freebsd-11-stable/sys/dev/virtio/network/
HDif_vtnetvar.h78 struct taskqueue *vtnrx_tq;
113 struct taskqueue *vtntx_tq;
/freebsd-11-stable/sys/dev/qlxge/
HDqls_def.h306 struct taskqueue *tx_tq;
346 struct taskqueue *err_tq;

12345