Searched refs:max_threads (Results 1 – 9 of 9) sorted by relevance
/Linux-v4.19/tools/perf/util/ |
D | thread_map.c | 99 int max_threads = 32, items, i; in __thread_map__new_all_cpus() local 102 struct thread_map *threads = thread_map__alloc(max_threads); in __thread_map__new_all_cpus() 136 while (threads->nr + items >= max_threads) { in __thread_map__new_all_cpus() 137 max_threads *= 2; in __thread_map__new_all_cpus() 144 tmp = thread_map__realloc(threads, max_threads); in __thread_map__new_all_cpus()
|
/Linux-v4.19/arch/x86/kernel/ |
D | smpboot.c | 1462 int max_threads, cpu; in recompute_smt_state() local 1464 max_threads = 0; in recompute_smt_state() 1468 if (threads > max_threads) in recompute_smt_state() 1469 max_threads = threads; in recompute_smt_state() 1471 __max_smt_threads = max_threads; in recompute_smt_state()
|
/Linux-v4.19/drivers/gpu/drm/radeon/ |
D | rv770.c | 1198 rdev->config.rv770.max_threads = 248; in rv770_gpu_init() 1218 rdev->config.rv770.max_threads = 248; in rv770_gpu_init() 1242 rdev->config.rv770.max_threads = 192; in rv770_gpu_init() 1262 rdev->config.rv770.max_threads = 248; in rv770_gpu_init() 1504 sq_thread_resource_mgmt = (NUM_PS_THREADS((rdev->config.rv770.max_threads * 4)/8) | in rv770_gpu_init() 1505 NUM_VS_THREADS((rdev->config.rv770.max_threads * 2)/8) | in rv770_gpu_init() 1506 NUM_ES_THREADS((rdev->config.rv770.max_threads * 1)/8)); in rv770_gpu_init() 1507 if (((rdev->config.rv770.max_threads * 1) / 8) > rdev->config.rv770.max_gs_threads) in rv770_gpu_init()
|
D | evergreen.c | 3159 rdev->config.evergreen.max_threads = 248; in evergreen_gpu_init() 3181 rdev->config.evergreen.max_threads = 248; in evergreen_gpu_init() 3203 rdev->config.evergreen.max_threads = 248; in evergreen_gpu_init() 3226 rdev->config.evergreen.max_threads = 192; in evergreen_gpu_init() 3248 rdev->config.evergreen.max_threads = 192; in evergreen_gpu_init() 3276 rdev->config.evergreen.max_threads = 248; in evergreen_gpu_init() 3298 rdev->config.evergreen.max_threads = 248; in evergreen_gpu_init() 3320 rdev->config.evergreen.max_threads = 248; in evergreen_gpu_init() 3342 rdev->config.evergreen.max_threads = 248; in evergreen_gpu_init() 3364 rdev->config.evergreen.max_threads = 192; in evergreen_gpu_init() [all …]
|
D | radeon.h | 2024 unsigned max_threads; member 2046 unsigned max_threads; member 2073 unsigned max_threads; member 2101 unsigned max_threads; member
|
D | ni.c | 910 rdev->config.cayman.max_threads = 256; in cayman_gpu_init() 988 rdev->config.cayman.max_threads = 256; in cayman_gpu_init()
|
D | r600.c | 2007 rdev->config.r600.max_threads = 192; in r600_gpu_init() 2023 rdev->config.r600.max_threads = 192; in r600_gpu_init() 2041 rdev->config.r600.max_threads = 192; in r600_gpu_init() 2056 rdev->config.r600.max_threads = 192; in r600_gpu_init()
|
/Linux-v4.19/kernel/ |
D | fork.c | 123 int max_threads; /* tunable limit on nr_threads */ variable 715 max_threads = clamp_t(u64, threads, MIN_THREADS, MAX_THREADS); in set_max_threads() 761 init_task.signal->rlim[RLIMIT_NPROC].rlim_cur = max_threads/2; in fork_init() 762 init_task.signal->rlim[RLIMIT_NPROC].rlim_max = max_threads/2; in fork_init() 767 init_user_ns.ucount_max[i] = max_threads/2; in fork_init() 1750 if (nr_threads >= max_threads) in copy_process() 2589 int threads = max_threads; in sysctl_max_threads()
|
/Linux-v4.19/drivers/android/ |
D | binder.c | 539 int max_threads; member 4176 proc->requested_threads_started < proc->max_threads && in binder_thread_read() 4604 int max_threads; in binder_ioctl() local 4606 if (copy_from_user(&max_threads, ubuf, in binder_ioctl() 4607 sizeof(max_threads))) { in binder_ioctl() 4612 proc->max_threads = max_threads; in binder_ioctl() 5403 proc->requested_threads_started, proc->max_threads, in print_binder_proc_stats()
|