Home
last modified time | relevance | path

Searched refs:workers (Results 1 – 11 of 11) sorted by relevance

/linux/tools/testing/selftests/sched_ext/
H A Dcyclic_kick_wait.c102 struct worker_ctx workers[NR_WORKERS] = {}; in run() local
141 workers[i].cpu = test_cpus[i / WORKERS_PER_CPU]; in run()
144 ret = pthread_create(&workers[i].tid, NULL, worker_fn, &workers[i]); in run()
150 workers[i].started = true; in run()
164 workers[i].stop = true; in run()
167 ret = join_worker(&workers[i]); in run()
/linux/Documentation/translations/zh_CN/core-api/
H A Dworkqueue.rst577 pool[00] ref= 1 nice= 0 idle/workers= 4/ 4 cpu= 0
578 pool[01] ref= 1 nice=-20 idle/workers= 2/ 2 cpu= 0
579 pool[02] ref= 1 nice= 0 idle/workers= 4/ 4 cpu= 1
580 pool[03] ref= 1 nice=-20 idle/workers= 2/ 2 cpu= 1
581 pool[04] ref= 1 nice= 0 idle/workers= 4/ 4 cpu= 2
582 pool[05] ref= 1 nice=-20 idle/workers= 2/ 2 cpu= 2
583 pool[06] ref= 1 nice= 0 idle/workers= 3/ 3 cpu= 3
584 pool[07] ref= 1 nice=-20 idle/workers= 2/ 2 cpu= 3
585 pool[08] ref=42 nice= 0 idle/workers= 6/ 6 cpus=0000000f
586 pool[09] ref=28 nice= 0 idle/workers= 3/ 3 cpus=00000003
[all …]
/linux/tools/testing/selftests/bpf/
H A Dtest_progs.c554 if (verbose() && !env.workers) in test__end_subtest()
1115 env->workers = atoi(arg); in parse_arg()
1116 if (!env->workers) { in parse_arg()
1121 env->workers = get_nprocs(); in parse_arg()
1346 for (i = 0; i < env.workers; i++) in sigint_handler()
1724 dispatcher_threads = calloc(sizeof(pthread_t), env.workers); in server_main()
1725 data = calloc(sizeof(struct dispatch_data), env.workers); in server_main()
1727 env.worker_current_test = calloc(sizeof(int), env.workers); in server_main()
1728 for (i = 0; i < env.workers; i++) { in server_main()
1741 for (i = 0; i < env.workers; i++) { in server_main()
[all …]
H A Dtest_progs.h130 int workers; /* number of worker process */
129 int workers; /* number of worker process */ global() member
/linux/fs/erofs/
H A DKconfig190 bool "EROFS per-cpu decompression kthread workers"
193 Saying Y here enables per-CPU kthread workers pool to carry out
199 bool "EROFS high priority per-CPU kthread workers"
203 This permits EROFS to configure per-CPU kthread workers to run
/linux/drivers/vhost/
H A DKconfig107 to configure the default mode for vhost workers.
/linux/drivers/md/
H A Draid5.c209 group->workers[0].working = true; in raid5_wakeup_stripe_thread()
211 queue_work_on(sh->cpu, raid5_wq, &group->workers[0].work); in raid5_wakeup_stripe_thread()
216 if (group->workers[i].working == false) { in raid5_wakeup_stripe_thread()
217 group->workers[i].working = true; in raid5_wakeup_stripe_thread()
219 &group->workers[i].work); in raid5_wakeup_stripe_thread()
7233 kfree(old_groups[0].workers); in raid5_store_group_thread_cnt()
7271 struct r5worker *workers; in alloc_thread_groups() local
7280 workers = kcalloc(size, *group_cnt, GFP_NOIO); in alloc_thread_groups()
7283 if (!*worker_groups || !workers) { in alloc_thread_groups()
7284 kfree(workers); in alloc_thread_groups()
[all …]
/linux/Documentation/admin-guide/
H A Dworkload-tracing.rst126 starts specified number (N) of workers that exercise various netdevice
264 The netdev stressor starts N workers that exercise various netdevice ioctl
/linux/kernel/
H A Dworkqueue.c67 * While associated (!DISASSOCIATED), all workers are bound to the
71 * While DISASSOCIATED, the cpu may be offline and all workers have
84 POOL_DISASSOCIATED = 1 << 2, /* cpu can't serve workers */
124 * Rescue workers are used only on emergencies and shared by
215 int nr_workers; /* L: total number of workers */
216 int nr_idle; /* L: currently idle workers */
218 struct list_head idle_list; /* L: list of idle workers */
222 struct timer_list mayday_timer; /* L: SOS timer for workers */
224 /* a workers is either on busy_hash or idle_list, or the manager */
226 /* L: hash of busy workers */
229 struct list_head workers; /* A: attached workers */ global() member
[all...]
/linux/fs/btrfs/
H A Ddisk-io.c1741 btrfs_destroy_workqueue(fs_info->workers); in btrfs_stop_all_workers()
1933 fs_info->workers = in btrfs_init_workqueues()
1970 if (!(fs_info->workers && in btrfs_init_workqueues()
4313 btrfs_flush_workqueue(fs_info->workers); in close_ctree()
/linux/Documentation/dev-tools/
H A Dkcov.rst248 exits (e.g. vhost workers).