Home
last modified time | relevance | path

Searched refs:max_threads (Results 1 – 9 of 9) sorted by relevance

/linux-4.1.27/tools/perf/util/
Dthread_map.c65 int max_threads = 32, items, i; in thread_map__new_by_uid() local
69 max_threads * sizeof(pid_t)); in thread_map__new_by_uid()
101 while (threads->nr + items >= max_threads) { in thread_map__new_by_uid()
102 max_threads *= 2; in thread_map__new_by_uid()
110 max_threads * sizeof(pid_t))); in thread_map__new_by_uid()
/linux-4.1.27/drivers/gpu/drm/radeon/
Drv770.c1196 rdev->config.rv770.max_threads = 248; in rv770_gpu_init()
1216 rdev->config.rv770.max_threads = 248; in rv770_gpu_init()
1240 rdev->config.rv770.max_threads = 192; in rv770_gpu_init()
1260 rdev->config.rv770.max_threads = 248; in rv770_gpu_init()
1502 sq_thread_resource_mgmt = (NUM_PS_THREADS((rdev->config.rv770.max_threads * 4)/8) | in rv770_gpu_init()
1503 NUM_VS_THREADS((rdev->config.rv770.max_threads * 2)/8) | in rv770_gpu_init()
1504 NUM_ES_THREADS((rdev->config.rv770.max_threads * 1)/8)); in rv770_gpu_init()
1505 if (((rdev->config.rv770.max_threads * 1) / 8) > rdev->config.rv770.max_gs_threads) in rv770_gpu_init()
Devergreen.c3204 rdev->config.evergreen.max_threads = 248; in evergreen_gpu_init()
3226 rdev->config.evergreen.max_threads = 248; in evergreen_gpu_init()
3248 rdev->config.evergreen.max_threads = 248; in evergreen_gpu_init()
3271 rdev->config.evergreen.max_threads = 192; in evergreen_gpu_init()
3293 rdev->config.evergreen.max_threads = 192; in evergreen_gpu_init()
3321 rdev->config.evergreen.max_threads = 248; in evergreen_gpu_init()
3343 rdev->config.evergreen.max_threads = 248; in evergreen_gpu_init()
3365 rdev->config.evergreen.max_threads = 248; in evergreen_gpu_init()
3387 rdev->config.evergreen.max_threads = 248; in evergreen_gpu_init()
3409 rdev->config.evergreen.max_threads = 192; in evergreen_gpu_init()
[all …]
Dradeon.h2025 unsigned max_threads; member
2047 unsigned max_threads; member
2074 unsigned max_threads; member
2102 unsigned max_threads; member
Dni.c893 rdev->config.cayman.max_threads = 256; in cayman_gpu_init()
971 rdev->config.cayman.max_threads = 256; in cayman_gpu_init()
Dr600.c1953 rdev->config.r600.max_threads = 192; in r600_gpu_init()
1969 rdev->config.r600.max_threads = 192; in r600_gpu_init()
1987 rdev->config.r600.max_threads = 192; in r600_gpu_init()
2002 rdev->config.r600.max_threads = 192; in r600_gpu_init()
/linux-4.1.27/kernel/
Dkmod.c46 extern int max_threads;
168 max_modprobes = min(max_threads/2, MAX_KMOD_CONCURRENT); in __request_module()
Dfork.c107 int max_threads; /* tunable limit on nr_threads */ variable
287 max_threads = clamp_t(u64, threads, MIN_THREADS, MAX_THREADS); in set_max_threads()
307 init_task.signal->rlim[RLIMIT_NPROC].rlim_cur = max_threads/2; in fork_init()
308 init_task.signal->rlim[RLIMIT_NPROC].rlim_max = max_threads/2; in fork_init()
1328 if (nr_threads >= max_threads) in copy_process()
2067 int threads = max_threads; in sysctl_max_threads()
/linux-4.1.27/drivers/android/
Dbinder.c323 int max_threads; member
2453 proc->requested_threads_started < proc->max_threads && in binder_thread_read()
2760 if (copy_from_user(&proc->max_threads, ubuf, sizeof(proc->max_threads))) { in binder_ioctl()
3497 proc->requested_threads_started, proc->max_threads, in print_binder_proc_stats()