Home
last modified time | relevance | path

Searched refs:worklist (Results 1 – 5 of 5) sorted by relevance

/linux/tools/perf/scripts/python/
H A Dparallel-perf.py125 def KillWork(worklist, verbosity): argument
126 for w in worklist:
128 for w in worklist:
152 worklist = []
189 worklist.append(w)
190 return worklist
192 def DoRunWork(worklist, nr_jobs, verbosity): argument
193 nr_to_do = len(worklist)
194 not_started = list(worklist)
243 for w in worklist:
[all …]
/linux/fs/xfs/scrub/
H A Drefcount.c167 struct list_head worklist; in xchk_refcountbt_process_rmap_fragments() local
188 INIT_LIST_HEAD(&worklist); in xchk_refcountbt_process_rmap_fragments()
210 list_move_tail(&frag->list, &worklist); in xchk_refcountbt_process_rmap_fragments()
225 list_for_each_entry_safe(frag, n, &worklist, list) { in xchk_refcountbt_process_rmap_fragments()
242 list_move_tail(&frag->list, &worklist); in xchk_refcountbt_process_rmap_fragments()
273 list_for_each_entry_safe(frag, n, &worklist, list) { in xchk_refcountbt_process_rmap_fragments()
H A Drtrefcount.c181 struct list_head worklist; in xchk_rtrefcountbt_process_rmap_fragments() local
202 INIT_LIST_HEAD(&worklist); in xchk_rtrefcountbt_process_rmap_fragments()
224 list_move_tail(&frag->list, &worklist); in xchk_rtrefcountbt_process_rmap_fragments()
239 list_for_each_entry_safe(frag, n, &worklist, list) { in xchk_rtrefcountbt_process_rmap_fragments()
256 list_move_tail(&frag->list, &worklist); in xchk_rtrefcountbt_process_rmap_fragments()
287 list_for_each_entry_safe(frag, n, &worklist, list) { in xchk_rtrefcountbt_process_rmap_fragments()
/linux/kernel/
H A Dworkqueue.c202 struct list_head worklist; /* L: list of pending works */ member
934 return !list_empty(&pool->worklist) && !pool->nr_running; in need_more_worker()
946 return !list_empty(&pool->worklist) && (pool->nr_running <= 1); in keep_working()
1269 struct work_struct *work = list_first_entry(&pool->worklist, in kick_pool()
1680 if (list_empty(&pwq->pool->worklist)) in __pwq_activate_work()
1682 move_linked_works(work, &pwq->pool->worklist, NULL); in __pwq_activate_work()
2111 move_linked_works(work, &pwq->pool->worklist, NULL); in try_to_grab_pending()
2337 if (list_empty(&pool->worklist)) in __queue_work()
2341 insert_work(pwq, work, &pool->worklist, work_flags); in __queue_work()
3024 list_for_each_entry(work, &pool->worklist, entry) in pool_mayday_timeout()
[all …]
/linux/Documentation/core-api/
H A Dworkqueue.rst112 and appended on the shared worklist of the worker-pool. For example,
114 be queued on the worklist of either normal or highpri worker-pool that