Home
last modified time | relevance | path

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

/linux-4.4.14/tools/perf/util/
Dthread_map.c94 int max_threads = 32, items, i; in thread_map__new_by_uid() local
97 struct thread_map *threads = thread_map__alloc(max_threads); in thread_map__new_by_uid()
131 while (threads->nr + items >= max_threads) { in thread_map__new_by_uid()
132 max_threads *= 2; in thread_map__new_by_uid()
139 tmp = thread_map__realloc(threads, max_threads); in thread_map__new_by_uid()
/linux-4.4.14/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.c3252 rdev->config.evergreen.max_threads = 248; in evergreen_gpu_init()
3274 rdev->config.evergreen.max_threads = 248; in evergreen_gpu_init()
3296 rdev->config.evergreen.max_threads = 248; in evergreen_gpu_init()
3319 rdev->config.evergreen.max_threads = 192; in evergreen_gpu_init()
3341 rdev->config.evergreen.max_threads = 192; in evergreen_gpu_init()
3369 rdev->config.evergreen.max_threads = 248; in evergreen_gpu_init()
3391 rdev->config.evergreen.max_threads = 248; in evergreen_gpu_init()
3413 rdev->config.evergreen.max_threads = 248; in evergreen_gpu_init()
3435 rdev->config.evergreen.max_threads = 248; in evergreen_gpu_init()
3457 rdev->config.evergreen.max_threads = 192; in evergreen_gpu_init()
[all …]
Dradeon.h2026 unsigned max_threads; member
2048 unsigned max_threads; member
2075 unsigned max_threads; member
2103 unsigned max_threads; member
Dni.c918 rdev->config.cayman.max_threads = 256; in cayman_gpu_init()
996 rdev->config.cayman.max_threads = 256; in cayman_gpu_init()
Dr600.c2000 rdev->config.r600.max_threads = 192; in r600_gpu_init()
2016 rdev->config.r600.max_threads = 192; in r600_gpu_init()
2034 rdev->config.r600.max_threads = 192; in r600_gpu_init()
2049 rdev->config.r600.max_threads = 192; in r600_gpu_init()
/linux-4.4.14/kernel/
Dkmod.c46 extern int max_threads;
167 max_modprobes = min(max_threads/2, MAX_KMOD_CONCURRENT); in __request_module()
Dfork.c107 int max_threads; /* tunable limit on nr_threads */ variable
288 max_threads = clamp_t(u64, threads, MIN_THREADS, MAX_THREADS); in set_max_threads()
313 init_task.signal->rlim[RLIMIT_NPROC].rlim_cur = max_threads/2; in fork_init()
314 init_task.signal->rlim[RLIMIT_NPROC].rlim_max = max_threads/2; in fork_init()
1333 if (nr_threads >= max_threads) in copy_process()
2099 int threads = max_threads; in sysctl_max_threads()
/linux-4.4.14/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()