/linux-6.3-rc2/tools/perf/bench/ |
A 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.3-rc2/drivers/gpu/drm/i915/gt/ |
A 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.3-rc2/tools/perf/util/ |
A 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.3-rc2/drivers/gpu/drm/radeon/ |
A D | rv770.c | 1210 rdev->config.rv770.max_threads = 248; in rv770_gpu_init() 1230 rdev->config.rv770.max_threads = 248; in rv770_gpu_init() 1254 rdev->config.rv770.max_threads = 192; in rv770_gpu_init() 1274 rdev->config.rv770.max_threads = 248; in rv770_gpu_init() 1516 sq_thread_resource_mgmt = (NUM_PS_THREADS((rdev->config.rv770.max_threads * 4)/8) | in rv770_gpu_init() 1517 NUM_VS_THREADS((rdev->config.rv770.max_threads * 2)/8) | in rv770_gpu_init() 1518 NUM_ES_THREADS((rdev->config.rv770.max_threads * 1)/8)); in rv770_gpu_init() 1519 if (((rdev->config.rv770.max_threads * 1) / 8) > rdev->config.rv770.max_gs_threads) in rv770_gpu_init()
|
A 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 …]
|
A D | radeon.h | 2053 unsigned max_threads; member 2075 unsigned max_threads; member 2102 unsigned max_threads; member 2130 unsigned max_threads; member
|
A 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()
|
A 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.3-rc2/include/linux/ |
A D | padata.h | 148 int max_threads; member
|
/linux-6.3-rc2/arch/x86/kernel/ |
A D | smpboot.c | 1592 int max_threads, cpu; in recompute_smt_state() local 1594 max_threads = 0; in recompute_smt_state() 1598 if (threads > max_threads) in recompute_smt_state() 1599 max_threads = threads; in recompute_smt_state() 1601 __max_smt_threads = max_threads; in recompute_smt_state()
|
/linux-6.3-rc2/drivers/gpu/drm/panfrost/ |
A D | panfrost_device.h | 45 u32 max_threads; member
|
A D | panfrost_gpu.c | 224 pfdev->features.max_threads = gpu_read(pfdev, GPU_THREAD_MAX_THREADS); in panfrost_gpu_init_features()
|
A D | panfrost_drv.c | 60 PANFROST_FEATURE(MAX_THREADS, max_threads); in panfrost_ioctl_get_param()
|
/linux-6.3-rc2/drivers/android/ |
A D | binder_internal.h | 424 int max_threads; member
|
A D | binder.c | 4748 proc->requested_threads_started < proc->max_threads && in binder_thread_read() 5338 int max_threads; in binder_ioctl() local 5340 if (copy_from_user(&max_threads, ubuf, in binder_ioctl() 5341 sizeof(max_threads))) { in binder_ioctl() 5346 proc->max_threads = max_threads; in binder_ioctl() 6282 proc->requested_threads_started, proc->max_threads, in print_binder_proc_stats()
|
/linux-6.3-rc2/kernel/ |
A D | fork.c | 128 static int max_threads; /* tunable limit on nr_threads */ variable 882 max_threads = clamp_t(u64, threads, MIN_THREADS, MAX_THREADS); in set_max_threads() 930 init_task.signal->rlim[RLIMIT_NPROC].rlim_cur = max_threads/2; in fork_init() 931 init_task.signal->rlim[RLIMIT_NPROC].rlim_max = max_threads/2; in fork_init() 936 init_user_ns.ucount_max[i] = max_threads/2; in fork_init() 2147 if (data_race(nr_threads >= max_threads)) in copy_process() 3308 int threads = max_threads; in sysctl_max_threads() 3321 max_threads = threads; in sysctl_max_threads()
|
A D | padata.c | 495 nworks = min(nworks, job->max_threads); in padata_do_multithreaded()
|
/linux-6.3-rc2/drivers/staging/media/atomisp/pci/ |
A D | css_trace.h | 40 u8 max_threads; member
|
/linux-6.3-rc2/mm/ |
A D | page_alloc.c | 2115 int zid, max_threads; in deferred_init_memmap() local 2154 max_threads = deferred_page_init_max_threads(cpumask); in deferred_init_memmap() 2165 .max_threads = max_threads, in deferred_init_memmap()
|