Searched refs:max_threads (Results 1 – 9 of 9) sorted by relevance
/linux-4.1.27/tools/perf/util/ |
D | thread_map.c | 65 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/ |
D | rv770.c | 1196 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()
|
D | evergreen.c | 3204 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 …]
|
D | radeon.h | 2025 unsigned max_threads; member 2047 unsigned max_threads; member 2074 unsigned max_threads; member 2102 unsigned max_threads; member
|
D | ni.c | 893 rdev->config.cayman.max_threads = 256; in cayman_gpu_init() 971 rdev->config.cayman.max_threads = 256; in cayman_gpu_init()
|
D | r600.c | 1953 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/ |
D | kmod.c | 46 extern int max_threads; 168 max_modprobes = min(max_threads/2, MAX_KMOD_CONCURRENT); in __request_module()
|
D | fork.c | 107 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/ |
D | binder.c | 323 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()
|