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

/linux-master/tools/testing/selftests/net/
H A Dbind_bhash.c7 * MAX_THREADS * MAX_CONNECTIONS number of entries.
17 #define MAX_THREADS 600 macro
28 static int fd_array[MAX_THREADS][MAX_CONNECTIONS];
92 pthread_t tid[MAX_THREADS];
113 for (i = 0; i < MAX_THREADS; i++)
116 for (i = 0; i < MAX_THREADS; i++)
138 for (i = 0; i < MAX_THREADS; i++) {
139 for (j = 0; i < MAX_THREADS; i++)
/linux-master/tools/testing/selftests/arm64/mte/
H A Dcheck_gcr_el1_cswitch.c25 #define MAX_THREADS 5 macro
71 pthread_t thread_id[MAX_THREADS];
72 int thread_data[MAX_THREADS];
74 for (int i = 0; i < MAX_THREADS; i++)
78 for (int i = 0; i < MAX_THREADS; i++)
81 for (int i = 0; i < MAX_THREADS; i++)
/linux-master/tools/testing/selftests/timers/
H A Dthreadtest.c32 #define MAX_THREADS 128 macro
125 pthread_t pth[MAX_THREADS];
156 if (thread_count > MAX_THREADS)
157 thread_count = MAX_THREADS;
/linux-master/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)
651 nrthreads = MAX_THREADS;
/linux-master/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)
/linux-master/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-master/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) {
1645 nr_threads, MAX_THREADS);
1646 nr_threads = MAX_THREADS;
/linux-master/kernel/
H A Dfork.c126 #define MAX_THREADS FUTEX_TID_MASK macro
1009 threads = MAX_THREADS;
1017 max_threads = clamp_t(u64, threads, MIN_THREADS, MAX_THREADS);
1059 set_max_threads(MAX_THREADS);
3428 int max = MAX_THREADS;
/linux-master/drivers/gpu/drm/panfrost/
H A Dpanfrost_drv.c62 PANFROST_FEATURE(MAX_THREADS, max_threads);

Completed in 129 milliseconds