/linux/drivers/gpu/drm/i915/gt/ |
H A D | gen7_renderclear.c | 36 u32 max_threads; member 52 return bv->max_threads; in num_primitives() 62 bv->max_threads = 70; in batch_get_defaults() 65 bv->max_threads = 140; in batch_get_defaults() 68 bv->max_threads = 280; in batch_get_defaults() 77 bv->max_threads = 36; in batch_get_defaults() 80 bv->max_threads = 128; in batch_get_defaults() 266 u32 threads = bv->max_threads - 1; in gen7_emit_vfe_state()
|
/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 | 145 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() 107 while (threads->nr + items >= max_threads) { in thread_map__new_all_cpus() 108 max_threads *= 2; in thread_map__new_all_cpus() 115 tmp = perf_thread_map__realloc(threads, max_threads); in thread_map__new_all_cpus()
|
/linux/arch/x86/kernel/ |
H A D | smpboot.c | 1126 int max_threads, cpu; in recompute_smt_state() local 1128 max_threads = 0; in recompute_smt_state() 1132 if (threads > max_threads) in recompute_smt_state() 1133 max_threads = threads; in recompute_smt_state() 1135 __max_smt_threads = max_threads; in recompute_smt_state()
|
/linux/drivers/gpu/drm/panfrost/ |
H A D | panfrost_device.h | 73 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()
|
/linux/kernel/ |
H A D | fork.c | 142 static int max_threads; /* tunable limit on nr_threads */ variable 784 max_threads = clamp_t(u64, threads, MIN_THREADS, MAX_THREADS); in set_max_threads() 828 init_task.signal->rlim[RLIMIT_NPROC].rlim_cur = max_threads/2; in fork_init() 829 init_task.signal->rlim[RLIMIT_NPROC].rlim_max = max_threads/2; in fork_init() 834 init_user_ns.ucount_max[i] = max_threads/2; in fork_init() 2056 if (data_race(nr_threads >= max_threads)) in copy_process() 3230 int threads = max_threads; in sysctl_max_threads() 3243 max_threads = threads; in sysctl_max_threads()
|
H A D | cpu.c | 631 unsigned int max_threads) in cpu_smt_set_num_threads() argument 633 WARN_ON(!num_threads || (num_threads > max_threads)); in cpu_smt_set_num_threads() 635 if (max_threads == 1) in cpu_smt_set_num_threads() 638 cpu_smt_max_threads = max_threads; in cpu_smt_set_num_threads()
|
/linux/drivers/gpu/drm/radeon/ |
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 | 2011 unsigned max_threads; member 2033 unsigned max_threads; member 2060 unsigned max_threads; member 2088 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/drivers/android/ |
H A D | binder_internal.h | 440 u32 max_threads; member
|
H A D | binder.c | 5084 proc->requested_threads_started < proc->max_threads && in binder_thread_read() 5723 u32 max_threads; in binder_ioctl() local 5725 if (copy_from_user(&max_threads, ubuf, in binder_ioctl() 5726 sizeof(max_threads))) { in binder_ioctl() 5731 proc->max_threads = max_threads; in binder_ioctl() 6734 proc->requested_threads_started, proc->max_threads, in print_binder_proc_stats()
|
/linux/include/uapi/drm/ |
H A D | panthor_drm.h | 293 __u32 max_threads; member
|
/linux/drivers/staging/media/atomisp/pci/ |
H A D | css_trace.h | 31 u8 max_threads; member
|
/linux/mm/ |
H A D | mm_init.c | 2172 int max_threads; in deferred_init_memmap() local 2202 max_threads = deferred_page_init_max_threads(cpumask); in deferred_init_memmap() 2213 .max_threads = max_threads, in deferred_init_memmap()
|
H A D | hugetlb.c | 3475 .max_threads = num_node_state(N_MEMORY), in gather_bootmem_prealloc() 3618 job.max_threads = hugepage_allocation_threads; in hugetlb_pages_alloc_boot()
|
/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()
|