Searched refs:workers (Results 1 - 10 of 10) sorted by relevance
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_progs.c | 420 if (verbose() && !env.workers) 678 { "workers", ARG_NUM_WORKERS, "WORKERS", OPTION_ARG_OPTIONAL, 679 "Number of workers to run in parallel, default to number of cpus." }, 870 env->workers = atoi(arg); 871 if (!env->workers) { 876 env->workers = get_nprocs(); 1048 for (i = 0; i < env.workers; i++) 1411 dispatcher_threads = calloc(sizeof(pthread_t), env.workers); 1412 data = calloc(sizeof(struct dispatch_data), env.workers); 1414 env.worker_current_test = calloc(sizeof(int), env.workers); [all...] |
H A D | test_progs.h | 125 int workers; /* number of worker process */ member in struct:test_env
|
/linux-master/drivers/md/ |
H A D | raid5.h | 518 struct r5worker *workers; member in struct:r5worker_group
|
H A D | raid5.c | 206 group->workers[0].working = true; 208 queue_work_on(sh->cpu, raid5_wq, &group->workers[0].work); 211 /* wakeup more workers */ 213 if (group->workers[i].working == false) { 214 group->workers[i].working = true; 216 &group->workers[i].work); 7176 kfree(old_groups[0].workers); 7212 struct r5worker *workers; local 7221 workers = kcalloc(size, *group_cnt, GFP_NOIO); 7224 if (!*worker_groups || !workers) { [all...] |
/linux-master/fs/btrfs/ |
H A D | fs.h | 599 struct btrfs_workqueue *workers; member in struct:btrfs_fs_info 611 * Fixup workers take dirty pages that didn't properly go through the
|
H A D | bio.c | 663 btrfs_queue_work(fs_info->workers, &async->work);
|
H A D | disk-io.c | 1781 /* helper to cleanup workers */ 1786 btrfs_destroy_workqueue(fs_info->workers); 1980 fs_info->workers = 2019 if (!(fs_info->workers && 4318 * There might be existing delayed inode workers still running 4368 * submit after we stopping all workers.
|
H A D | super.c | 1198 btrfs_workqueue_set_max(fs_info->workers, new_pool_size);
|
/linux-master/kernel/ |
H A D | workqueue.c | 66 * While associated (!DISASSOCIATED), all workers are bound to the 70 * While DISASSOCIATED, the cpu may be offline and all workers have 83 POOL_DISASSOCIATED = 1 << 2, /* cpu can't serve workers */ 120 * Rescue workers are used only on emergencies and shared by 202 int nr_workers; /* L: total number of workers */ 203 int nr_idle; /* L: currently idle workers */ 205 struct list_head idle_list; /* L: list of idle workers */ 209 struct timer_list mayday_timer; /* L: SOS timer for workers */ 211 /* a workers is either on busy_hash or idle_list, or the manager */ 213 /* L: hash of busy workers */ 216 struct list_head workers; /* A: attached workers */ member in struct:worker_pool [all...] |
/linux-master/drivers/block/mtip32xx/ |
H A D | mtip32xx.c | 733 int do_irq_enable = 1, i, workers; local 754 for (i = 0, workers = 0; i < MTIP_MAX_SLOT_GROUPS; 759 workers++; 762 atomic_set(&dd->irq_workers_active, workers); 763 if (workers) { 2525 "Completion workers still active!"); 3879 /* Spin until workers are done */ 3888 "Completion workers still active!\n");
|
Completed in 459 milliseconds