Lines Matching defs:works

92 	WORKER_PREP		= 1 << 3,	/* preparing to run works */
213 struct list_head worklist; /* L: list of pending works */
276 /* L: nr of in_flight works */
295 int nr_active; /* L: nr of active works */
296 struct list_head inactive_works; /* L: inactive works */
342 struct list_head pending_pwqs; /* LN: pwqs with inactive works */
367 int max_active; /* WO: max active works */
368 int min_active; /* WO: min active works */
1148 * move_linked_works - move linked works to a list
1149 * @work: start of series of works to be scheduled
1153 * Schedule linked works starting from @work to @head. Work series to be
1178 * multiple works to the scheduled queue, the next position
1560 * is guaranteed to not be processing any works.
2045 /* are there still in-flight works? */
2292 * For a draining wq, only works from the same workqueue are
3079 * sent to all rescuers with works scheduled on @pool to resolve
3154 * The caller can safely start processing works on false return. On
3164 * start processing works, %true if management function was performed and
3246 * CPU intensive works don't participate in concurrency management.
3363 * process_scheduled_works - process scheduled works
3366 * Process all scheduled works. Please note that the scheduled list
3550 * developing into deadlock if some works currently on the same queue
3555 * workqueues which have works queued on the pool and let them process
3556 * those works so that forward progress can be guaranteed.
3911 /* there can already be other linked works, inherit and set */
4541 * This is cancel_work_sync() for delayed works.
4668 struct work_struct __percpu *works;
4670 works = alloc_percpu(struct work_struct);
4671 if (!works)
4677 struct work_struct *work = per_cpu_ptr(works, cpu);
4684 flush_work(per_cpu_ptr(works, cpu));
4687 free_percpu(works);
6652 * pool which make migrating pending and scheduled works very
6654 * worker pools serve mix of short, long and very long running works making
6932 * workqueues will queue new works to their inactive_works list instead of
7006 * frozen works are transferred to their respective pool worklists.