Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/net/
H A Dbind_bhash.c17 #define MAX_THREADS 600 macro
28 static int fd_array[MAX_THREADS][MAX_CONNECTIONS];
92 pthread_t tid[MAX_THREADS]; in main()
113 for (i = 0; i < MAX_THREADS; i++) in main()
116 for (i = 0; i < MAX_THREADS; i++) in main()
138 for (i = 0; i < MAX_THREADS; i++) { in main()
139 for (j = 0; i < MAX_THREADS; i++) in main()
/linux/tools/testing/selftests/arm64/mte/
H A 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/tools/testing/selftests/timers/
H 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/
H A Dtlbie_test.c87 * to represent the thread_ids [0..MAX_THREADS - 1].
92 #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/scripts/
H A Dcheck-uapi.sh198 make -j "$MAX_THREADS" ARCH="$ARCH" INSTALL_HDR_PATH="$install_dir" \
248 if [ "${#threads[@]}" -ge "$MAX_THREADS" ]; then
527 MAX_THREADS=$(nproc)
545 MAX_THREADS="$OPTARG"
/linux/tools/testing/selftests/sched/
H A Dcs_prctl_test.c53 #define MAX_THREADS 128 macro
70 int thr_tids[MAX_THREADS];
267 if (num_threads < 1 || num_threads > MAX_THREADS) in main()
/linux/tools/tracing/latency/
H 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/
H A Dfork.c130 #define MAX_THREADS FUTEX_TID_MASK macro
1010 threads = MAX_THREADS; in set_max_threads()
1018 max_threads = clamp_t(u64, threads, MIN_THREADS, MAX_THREADS); in set_max_threads()
1060 set_max_threads(MAX_THREADS); in fork_init()
3438 int max = MAX_THREADS; in sysctl_max_threads()
/linux/drivers/gpu/drm/panfrost/
H A Dpanfrost_drv.c85 PANFROST_FEATURE(MAX_THREADS, max_threads); in panfrost_ioctl_get_param()