/linux-6.6.21/tools/perf/bench/ |
D | synthesize.c | 25 static unsigned int max_threads = UINT_MAX; variable 36 OPT_UINTEGER('M', "max-threads", &max_threads, 212 if (max_threads == UINT_MAX) in run_multi_threaded() 213 max_threads = sysconf(_SC_NPROCESSORS_ONLN); in run_multi_threaded() 220 nr_threads_synthesize <= max_threads; in run_multi_threaded()
|
/linux-6.6.21/drivers/gpu/drm/i915/gt/ |
D | gen7_renderclear.c | 36 u32 max_threads; member 52 return bv->max_threads; in num_primitives() 62 bv->max_threads = 70; in batch_get_defaults() 65 bv->max_threads = 140; in batch_get_defaults() 68 bv->max_threads = 280; in batch_get_defaults() 77 bv->max_threads = 36; in batch_get_defaults() 80 bv->max_threads = 128; in batch_get_defaults() 266 u32 threads = bv->max_threads - 1; in gen7_emit_vfe_state()
|
/linux-6.6.21/include/linux/ |
D | cpu_smt.h | 18 unsigned int max_threads); 27 unsigned int max_threads) { } in cpu_smt_set_num_threads() argument
|
D | padata.h | 148 int max_threads; member
|
/linux-6.6.21/tools/perf/util/ |
D | thread_map.c | 78 int max_threads = 32, items, i; in __thread_map__new_all_cpus() local 81 struct perf_thread_map *threads = thread_map__alloc(max_threads); in __thread_map__new_all_cpus() 115 while (threads->nr + items >= max_threads) { in __thread_map__new_all_cpus() 116 max_threads *= 2; in __thread_map__new_all_cpus() 123 tmp = perf_thread_map__realloc(threads, max_threads); in __thread_map__new_all_cpus()
|
/linux-6.6.21/arch/x86/kernel/ |
D | smpboot.c | 1364 int max_threads, cpu; in recompute_smt_state() local 1366 max_threads = 0; in recompute_smt_state() 1370 if (threads > max_threads) in recompute_smt_state() 1371 max_threads = threads; in recompute_smt_state() 1373 __max_smt_threads = max_threads; in recompute_smt_state()
|
/linux-6.6.21/drivers/gpu/drm/radeon/ |
D | rv770.c | 1199 rdev->config.rv770.max_threads = 248; in rv770_gpu_init() 1219 rdev->config.rv770.max_threads = 248; in rv770_gpu_init() 1243 rdev->config.rv770.max_threads = 192; in rv770_gpu_init() 1263 rdev->config.rv770.max_threads = 248; in rv770_gpu_init() 1505 sq_thread_resource_mgmt = (NUM_PS_THREADS((rdev->config.rv770.max_threads * 4)/8) | in rv770_gpu_init() 1506 NUM_VS_THREADS((rdev->config.rv770.max_threads * 2)/8) | in rv770_gpu_init() 1507 NUM_ES_THREADS((rdev->config.rv770.max_threads * 1)/8)); in rv770_gpu_init() 1508 if (((rdev->config.rv770.max_threads * 1) / 8) > rdev->config.rv770.max_gs_threads) in rv770_gpu_init()
|
D | evergreen.c | 3165 rdev->config.evergreen.max_threads = 248; in evergreen_gpu_init() 3187 rdev->config.evergreen.max_threads = 248; in evergreen_gpu_init() 3209 rdev->config.evergreen.max_threads = 248; in evergreen_gpu_init() 3232 rdev->config.evergreen.max_threads = 192; in evergreen_gpu_init() 3254 rdev->config.evergreen.max_threads = 192; in evergreen_gpu_init() 3282 rdev->config.evergreen.max_threads = 248; in evergreen_gpu_init() 3304 rdev->config.evergreen.max_threads = 248; in evergreen_gpu_init() 3326 rdev->config.evergreen.max_threads = 248; in evergreen_gpu_init() 3348 rdev->config.evergreen.max_threads = 248; in evergreen_gpu_init() 3370 rdev->config.evergreen.max_threads = 192; in evergreen_gpu_init() [all …]
|
D | radeon.h | 2016 unsigned max_threads; member 2038 unsigned max_threads; member 2065 unsigned max_threads; member 2093 unsigned max_threads; member
|
D | ni.c | 900 rdev->config.cayman.max_threads = 256; in cayman_gpu_init() 978 rdev->config.cayman.max_threads = 256; in cayman_gpu_init()
|
D | r600.c | 2012 rdev->config.r600.max_threads = 192; in r600_gpu_init() 2028 rdev->config.r600.max_threads = 192; in r600_gpu_init() 2046 rdev->config.r600.max_threads = 192; in r600_gpu_init() 2061 rdev->config.r600.max_threads = 192; in r600_gpu_init()
|
/linux-6.6.21/drivers/gpu/drm/panfrost/ |
D | panfrost_device.h | 45 u32 max_threads; member
|
D | panfrost_gpu.c | 237 pfdev->features.max_threads = gpu_read(pfdev, GPU_THREAD_MAX_THREADS); in panfrost_gpu_init_features()
|
D | panfrost_drv.c | 61 PANFROST_FEATURE(MAX_THREADS, max_threads); in panfrost_ioctl_get_param()
|
/linux-6.6.21/drivers/android/ |
D | binder_internal.h | 424 int max_threads; member
|
D | binder.c | 4777 proc->requested_threads_started < proc->max_threads && in binder_thread_read() 5369 int max_threads; in binder_ioctl() local 5371 if (copy_from_user(&max_threads, ubuf, in binder_ioctl() 5372 sizeof(max_threads))) { in binder_ioctl() 5377 proc->max_threads = max_threads; in binder_ioctl() 6315 proc->requested_threads_started, proc->max_threads, in print_binder_proc_stats()
|
/linux-6.6.21/kernel/ |
D | fork.c | 130 static int max_threads; /* tunable limit on nr_threads */ variable 1016 max_threads = clamp_t(u64, threads, MIN_THREADS, MAX_THREADS); in set_max_threads() 1064 init_task.signal->rlim[RLIMIT_NPROC].rlim_cur = max_threads/2; in fork_init() 1065 init_task.signal->rlim[RLIMIT_NPROC].rlim_max = max_threads/2; in fork_init() 1070 init_user_ns.ucount_max[i] = max_threads/2; in fork_init() 2379 if (data_race(nr_threads >= max_threads)) in copy_process() 3538 int threads = max_threads; in sysctl_max_threads() 3551 max_threads = threads; in sysctl_max_threads()
|
D | cpu.c | 620 unsigned int max_threads) in cpu_smt_set_num_threads() argument 622 WARN_ON(!num_threads || (num_threads > max_threads)); in cpu_smt_set_num_threads() 624 if (max_threads == 1) in cpu_smt_set_num_threads() 627 cpu_smt_max_threads = max_threads; in cpu_smt_set_num_threads()
|
D | padata.c | 495 nworks = min(nworks, job->max_threads); in padata_do_multithreaded()
|
/linux-6.6.21/drivers/staging/media/atomisp/pci/ |
D | css_trace.h | 40 u8 max_threads; member
|
/linux-6.6.21/mm/ |
D | mm_init.c | 2194 int zid, max_threads; in deferred_init_memmap() local 2233 max_threads = deferred_page_init_max_threads(cpumask); in deferred_init_memmap() 2244 .max_threads = max_threads, in deferred_init_memmap()
|