/linux/tools/perf/bench/ |
H 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/include/linux/ |
H A D | cpu_smt.h | 18 unsigned int max_threads); 27 unsigned int max_threads) { } in cpu_smt_set_num_threads() argument
|
H A D | padata.h | 149 int max_threads; member
|
/linux/tools/perf/util/ |
H 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() 116 while (threads->nr + items >= max_threads) { in __thread_map__new_all_cpus() 117 max_threads *= 2; in __thread_map__new_all_cpus() 124 tmp = perf_thread_map__realloc(threads, max_threads); in __thread_map__new_all_cpus()
|
/linux/drivers/gpu/drm/radeon/ |
H A D | rv770.c | 1199 rdev->config.rv770.max_threads = 248; in rv770_gpu_init() 1219 rdev->config.rv770.max_threads = 248; in rv770_gpu_init() 1243 rdev->config.rv770.max_threads = 192; in rv770_gpu_init() 1263 rdev->config.rv770.max_threads = 248; in rv770_gpu_init() 1505 sq_thread_resource_mgmt = (NUM_PS_THREADS((rdev->config.rv770.max_threads * 4)/8) | in rv770_gpu_init() 1506 NUM_VS_THREADS((rdev->config.rv770.max_threads * 2)/8) | in rv770_gpu_init() 1507 NUM_ES_THREADS((rdev->config.rv770.max_threads * 1)/8)); in rv770_gpu_init() 1508 if (((rdev->config.rv770.max_threads * 1) / 8) > rdev->config.rv770.max_gs_threads) in rv770_gpu_init()
|
H A D | evergreen.c | 3162 rdev->config.evergreen.max_threads = 248; in evergreen_gpu_init() 3184 rdev->config.evergreen.max_threads = 248; in evergreen_gpu_init() 3206 rdev->config.evergreen.max_threads = 248; in evergreen_gpu_init() 3229 rdev->config.evergreen.max_threads = 192; in evergreen_gpu_init() 3251 rdev->config.evergreen.max_threads = 192; in evergreen_gpu_init() 3279 rdev->config.evergreen.max_threads = 248; in evergreen_gpu_init() 3301 rdev->config.evergreen.max_threads = 248; in evergreen_gpu_init() 3323 rdev->config.evergreen.max_threads = 248; in evergreen_gpu_init() 3345 rdev->config.evergreen.max_threads = 248; in evergreen_gpu_init() 3367 rdev->config.evergreen.max_threads = 192; in evergreen_gpu_init() [all …]
|
H A D | radeon.h | 2014 unsigned max_threads; member 2036 unsigned max_threads; member 2063 unsigned max_threads; member 2091 unsigned max_threads; member
|
H A D | ni.c | 887 rdev->config.cayman.max_threads = 256; in cayman_gpu_init() 965 rdev->config.cayman.max_threads = 256; in cayman_gpu_init()
|
H 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/kernel/ |
H A D | fork.c | 138 static int max_threads; /* tunable limit on nr_threads */ variable 1029 max_threads = clamp_t(u64, threads, MIN_THREADS, MAX_THREADS); in set_max_threads() 1073 init_task.signal->rlim[RLIMIT_NPROC].rlim_cur = max_threads/2; in fork_init() 1074 init_task.signal->rlim[RLIMIT_NPROC].rlim_max = max_threads/2; in fork_init() 1079 init_user_ns.ucount_max[i] = max_threads/2; in fork_init() 2285 if (data_race(nr_threads >= max_threads)) in copy_process() 3445 int threads = max_threads; in sysctl_max_threads() 3458 max_threads = threads; in sysctl_max_threads()
|
H A D | cpu.c | 629 unsigned int max_threads) in cpu_smt_set_num_threads() argument 631 WARN_ON(!num_threads || (num_threads > max_threads)); in cpu_smt_set_num_threads() 633 if (max_threads == 1) in cpu_smt_set_num_threads() 636 cpu_smt_max_threads = max_threads; in cpu_smt_set_num_threads()
|
/linux/drivers/gpu/drm/panfrost/ |
H A D | panfrost_device.h | 62 u32 max_threads; member
|
H A D | panfrost_gpu.c | 260 pfdev->features.max_threads = gpu_read(pfdev, GPU_THREAD_MAX_THREADS); in panfrost_gpu_init_features()
|
H A D | panfrost_drv.c | 85 PANFROST_FEATURE(MAX_THREADS, max_threads); in panfrost_ioctl_get_param()
|
/linux/drivers/android/ |
H A D | binder_internal.h | 395 * @max_threads: cap on number of binder threads 443 u32 max_threads; 444 u32 max_threads; global() member
|
/linux/include/uapi/drm/ |
H A D | panthor_drm.h | 318 __u32 max_threads; member
|
/linux/drivers/gpu/drm/panthor/ |
H A D | panthor_gpu.c | 102 ptdev->gpu_info.max_threads = gpu_read(ptdev, GPU_THREAD_MAX_THREADS); in panthor_gpu_init_info()
|
/linux/mm/ |
H A D | hugetlb.c | 3323 .max_threads = num_node_state(N_MEMORY), in gather_bootmem_prealloc() 3461 job.max_threads = num_node_state(N_MEMORY) * 2; in hugetlb_pages_alloc_boot()
|