Home
last modified time | relevance | path

Searched refs:MAX_THREADS (Results 1 – 8 of 8) sorted by relevance

/linux/tools/testing/selftests/arm64/mte/
A Dcheck_gcr_el1_cswitch.c36 #define MAX_THREADS 5 macro
82 pthread_t thread_id[MAX_THREADS]; in execute_test()
83 int thread_data[MAX_THREADS]; in execute_test()
85 for (int i = 0; i < MAX_THREADS; i++) in execute_test()
89 for (int i = 0; i < MAX_THREADS; i++) in execute_test()
92 for (int i = 0; i < MAX_THREADS; i++) in execute_test()
/linux/tools/testing/selftests/timers/
A Dthreadtest.c32 #define MAX_THREADS 128 macro
125 pthread_t pth[MAX_THREADS]; in main()
156 if (thread_count > MAX_THREADS) in main()
157 thread_count = MAX_THREADS; in main()
/linux/tools/testing/selftests/powerpc/mm/
A Dtlbie_test.c92 #define MAX_THREADS 64 macro
95 static unsigned int rim_thread_ids[MAX_THREADS];
96 static pthread_t rim_threads[MAX_THREADS];
253 static FILE *fp[MAX_THREADS];
650 if (nrthreads > MAX_THREADS) in main()
651 nrthreads = MAX_THREADS; in main()
/linux/tools/testing/selftests/sched/
A Dcs_prctl_test.c52 #define MAX_THREADS 128 macro
69 int thr_tids[MAX_THREADS];
258 if (num_threads < 1 || num_threads > MAX_THREADS) in main()
/linux/samples/bpf/
A Dxsk_fwd.c744 #ifndef MAX_THREADS
745 #define MAX_THREADS 64 macro
758 static pthread_t threads[MAX_THREADS];
759 static struct thread_data thread_data[MAX_THREADS];
810 if (n_threads == MAX_THREADS) { in parse_args()
812 MAX_THREADS); in parse_args()
/linux/tools/tracing/latency/
A Dlatency-collector.c229 #define MAX_THREADS (40) macro
232 pthread_t printthread[MAX_THREADS];
1642 if (nr_threads > MAX_THREADS) { in start_printthread()
1645 nr_threads, MAX_THREADS); in start_printthread()
1646 nr_threads = MAX_THREADS; in start_printthread()
/linux/kernel/
A Dfork.c119 #define MAX_THREADS FUTEX_TID_MASK macro
778 threads = MAX_THREADS; in set_max_threads()
786 max_threads = clamp_t(u64, threads, MIN_THREADS, MAX_THREADS); in set_max_threads()
832 set_max_threads(MAX_THREADS); in fork_init()
3180 int max = MAX_THREADS; in sysctl_max_threads()
/linux/drivers/gpu/drm/panfrost/
A Dpanfrost_drv.c60 PANFROST_FEATURE(MAX_THREADS, max_threads); in panfrost_ioctl_get_param()

Completed in 25 milliseconds