Home
last modified time | relevance | path

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

/linux-5.19.10/tools/testing/selftests/arm64/mte/
Dcheck_gcr_el1_cswitch.c25 #define MAX_THREADS 5 macro
71 pthread_t thread_id[MAX_THREADS]; in execute_test()
72 int thread_data[MAX_THREADS]; in execute_test()
74 for (int i = 0; i < MAX_THREADS; i++) in execute_test()
78 for (int i = 0; i < MAX_THREADS; i++) in execute_test()
81 for (int i = 0; i < MAX_THREADS; i++) in execute_test()
/linux-5.19.10/tools/testing/selftests/timers/
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-5.19.10/tools/testing/selftests/powerpc/mm/
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-5.19.10/tools/testing/selftests/sched/
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-5.19.10/samples/bpf/
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-5.19.10/tools/tracing/latency/
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-5.19.10/kernel/
Dfork.c121 #define MAX_THREADS FUTEX_TID_MASK macro
867 threads = MAX_THREADS; in set_max_threads()
875 max_threads = clamp_t(u64, threads, MIN_THREADS, MAX_THREADS); in set_max_threads()
921 set_max_threads(MAX_THREADS); in fork_init()
3271 int max = MAX_THREADS; in sysctl_max_threads()
/linux-5.19.10/drivers/gpu/drm/panfrost/
Dpanfrost_drv.c60 PANFROST_FEATURE(MAX_THREADS, max_threads); in panfrost_ioctl_get_param()