max_threads 1528 arch/x86/kernel/smpboot.c int max_threads, cpu; max_threads 1530 arch/x86/kernel/smpboot.c max_threads = 0; max_threads 1534 arch/x86/kernel/smpboot.c if (threads > max_threads) max_threads 1535 arch/x86/kernel/smpboot.c max_threads = threads; max_threads 1537 arch/x86/kernel/smpboot.c __max_smt_threads = max_threads; max_threads 479 drivers/android/binder.c int max_threads; max_threads 4560 drivers/android/binder.c proc->requested_threads_started < proc->max_threads && max_threads 5031 drivers/android/binder.c int max_threads; max_threads 5033 drivers/android/binder.c if (copy_from_user(&max_threads, ubuf, max_threads 5034 drivers/android/binder.c sizeof(max_threads))) { max_threads 5039 drivers/android/binder.c proc->max_threads = max_threads; max_threads 5894 drivers/android/binder.c proc->requested_threads_started, proc->max_threads, max_threads 40 drivers/gpu/drm/panfrost/panfrost_device.h u32 max_threads; max_threads 61 drivers/gpu/drm/panfrost/panfrost_drv.c PANFROST_FEATURE(MAX_THREADS, max_threads); max_threads 211 drivers/gpu/drm/panfrost/panfrost_gpu.c pfdev->features.max_threads = gpu_read(pfdev, GPU_THREAD_MAX_THREADS); max_threads 3163 drivers/gpu/drm/radeon/evergreen.c rdev->config.evergreen.max_threads = 248; max_threads 3185 drivers/gpu/drm/radeon/evergreen.c rdev->config.evergreen.max_threads = 248; max_threads 3207 drivers/gpu/drm/radeon/evergreen.c rdev->config.evergreen.max_threads = 248; max_threads 3230 drivers/gpu/drm/radeon/evergreen.c rdev->config.evergreen.max_threads = 192; max_threads 3252 drivers/gpu/drm/radeon/evergreen.c rdev->config.evergreen.max_threads = 192; max_threads 3280 drivers/gpu/drm/radeon/evergreen.c rdev->config.evergreen.max_threads = 248; max_threads 3302 drivers/gpu/drm/radeon/evergreen.c rdev->config.evergreen.max_threads = 248; max_threads 3324 drivers/gpu/drm/radeon/evergreen.c rdev->config.evergreen.max_threads = 248; max_threads 3346 drivers/gpu/drm/radeon/evergreen.c rdev->config.evergreen.max_threads = 248; max_threads 3368 drivers/gpu/drm/radeon/evergreen.c rdev->config.evergreen.max_threads = 192; max_threads 3618 drivers/gpu/drm/radeon/evergreen.c sq_thread_resource_mgmt |= NUM_VS_THREADS((((rdev->config.evergreen.max_threads - ps_thread_count) / 6) / 8) * 8); max_threads 3619 drivers/gpu/drm/radeon/evergreen.c sq_thread_resource_mgmt |= NUM_GS_THREADS((((rdev->config.evergreen.max_threads - ps_thread_count) / 6) / 8) * 8); max_threads 3620 drivers/gpu/drm/radeon/evergreen.c sq_thread_resource_mgmt |= NUM_ES_THREADS((((rdev->config.evergreen.max_threads - ps_thread_count) / 6) / 8) * 8); max_threads 3621 drivers/gpu/drm/radeon/evergreen.c sq_thread_resource_mgmt_2 = NUM_HS_THREADS((((rdev->config.evergreen.max_threads - ps_thread_count) / 6) / 8) * 8); max_threads 3622 drivers/gpu/drm/radeon/evergreen.c sq_thread_resource_mgmt_2 |= NUM_LS_THREADS((((rdev->config.evergreen.max_threads - ps_thread_count) / 6) / 8) * 8); max_threads 913 drivers/gpu/drm/radeon/ni.c rdev->config.cayman.max_threads = 256; max_threads 991 drivers/gpu/drm/radeon/ni.c rdev->config.cayman.max_threads = 256; max_threads 2013 drivers/gpu/drm/radeon/r600.c rdev->config.r600.max_threads = 192; max_threads 2029 drivers/gpu/drm/radeon/r600.c rdev->config.r600.max_threads = 192; max_threads 2047 drivers/gpu/drm/radeon/r600.c rdev->config.r600.max_threads = 192; max_threads 2062 drivers/gpu/drm/radeon/r600.c rdev->config.r600.max_threads = 192; max_threads 2020 drivers/gpu/drm/radeon/radeon.h unsigned max_threads; max_threads 2042 drivers/gpu/drm/radeon/radeon.h unsigned max_threads; max_threads 2069 drivers/gpu/drm/radeon/radeon.h unsigned max_threads; max_threads 2097 drivers/gpu/drm/radeon/radeon.h unsigned max_threads; max_threads 1202 drivers/gpu/drm/radeon/rv770.c rdev->config.rv770.max_threads = 248; max_threads 1222 drivers/gpu/drm/radeon/rv770.c rdev->config.rv770.max_threads = 248; max_threads 1246 drivers/gpu/drm/radeon/rv770.c rdev->config.rv770.max_threads = 192; max_threads 1266 drivers/gpu/drm/radeon/rv770.c rdev->config.rv770.max_threads = 248; max_threads 1508 drivers/gpu/drm/radeon/rv770.c sq_thread_resource_mgmt = (NUM_PS_THREADS((rdev->config.rv770.max_threads * 4)/8) | max_threads 1509 drivers/gpu/drm/radeon/rv770.c NUM_VS_THREADS((rdev->config.rv770.max_threads * 2)/8) | max_threads 1510 drivers/gpu/drm/radeon/rv770.c NUM_ES_THREADS((rdev->config.rv770.max_threads * 1)/8)); max_threads 1511 drivers/gpu/drm/radeon/rv770.c if (((rdev->config.rv770.max_threads * 1) / 8) > rdev->config.rv770.max_gs_threads) max_threads 126 kernel/fork.c static int max_threads; /* tunable limit on nr_threads */ max_threads 775 kernel/fork.c max_threads = clamp_t(u64, threads, MIN_THREADS, MAX_THREADS); max_threads 823 kernel/fork.c init_task.signal->rlim[RLIMIT_NPROC].rlim_cur = max_threads/2; max_threads 824 kernel/fork.c init_task.signal->rlim[RLIMIT_NPROC].rlim_max = max_threads/2; max_threads 829 kernel/fork.c init_user_ns.ucount_max[i] = max_threads/2; max_threads 1890 kernel/fork.c if (nr_threads >= max_threads) max_threads 2959 kernel/fork.c int threads = max_threads; max_threads 2972 kernel/fork.c max_threads = threads; max_threads 77 tools/perf/util/thread_map.c int max_threads = 32, items, i; max_threads 80 tools/perf/util/thread_map.c struct perf_thread_map *threads = thread_map__alloc(max_threads); max_threads 114 tools/perf/util/thread_map.c while (threads->nr + items >= max_threads) { max_threads 115 tools/perf/util/thread_map.c max_threads *= 2; max_threads 122 tools/perf/util/thread_map.c tmp = perf_thread_map__realloc(threads, max_threads);