Lines Matching full:tasks
36 * A common problem in kernel programming is the need to schedule tasks
51 * (5) You just want a simple way to launch multiple tasks in parallel.
55 * single list of tasks, together with one or more threads to service the
61 * (2) Some tasks may depend on other tasks to complete, so they can't be put in
64 * (3) Some tasks may block for a long time, and this should not block other
65 * tasks in the queue.
68 * which has an individual thread for each of the tasks. These threads are
74 * Dynamic task queues may also place tasks in a "backlog" when a taskq is
75 * resource constrained. Users of task queues may prevent tasks from being
102 * Since non-DYNAMIC taskqs are queues, tasks are guaranteed to be
129 * service all scheduled tasks.
152 * Waits for any scheduled tasks to complete, then destroys the taskq.
153 * Caller should guarantee that no new tasks are scheduled in the closing
179 * for tasks that may depend on each other for completion.
180 * Enqueueing dependent tasks may create deadlocks.
205 * Queries if there are tasks pending on the queue.
209 * Waits for all previously scheduled tasks to complete.
216 * Suspend all task execution. Tasks already scheduled for a dynamic task
217 * queue will still be executed, but all new scheduled tasks will be
238 * any subsystem that needs to schedule tasks and does not need to manage
468 * tasks, but it is unclear how such strategy can be implemented.
485 * fails, so that taskq_dispatch() will either enqueue tasks for a
489 * NOTE: taskq_suspend() does not immediately block any tasks already
490 * scheduled for dynamic task queues. It only suspends new tasks
702 { "tasks", KSTAT_DATA_UINT64 },
1109 * wait for other tasks to complete (and thus free up in taskq_ent_alloc()
1112 * to throttle the allocation rate. If we have tasks in taskq_ent_alloc()
1578 * Allow our caller to ask if there are tasks pending on the queue.
1594 * Wait for all pending tasks to complete.
1627 * Suspend execution of tasks.
1629 * Tasks in the queue part will be suspended immediately upon return from this
1630 * function. Pending tasks in the dynamic part will continue to execute, but all
1631 * new tasks will be suspended.
1883 * For prealloc'd tasks, we don't free anything. We in taskq_thread()