Home
last modified time | relevance | path

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

/openbmc/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()
/openbmc/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()
/openbmc/u-boot/examples/standalone/
H A Dsched.c26 #define MAX_THREADS 8 macro
56 static volatile struct lthread lthreads[MAX_THREADS];
171 for (i = MASTER_THREAD + 1; i < MAX_THREADS; i++) in sched_init()
204 for (i = current_tid + 1; i < MAX_THREADS; i++) { in thread_yield()
222 for (i = MASTER_THREAD + 1; i < MAX_THREADS; i++) { in thread_create()
238 if (id <= MASTER_THREAD || id > MAX_THREADS) in thread_delete()
268 if (id <= MASTER_THREAD || id > MAX_THREADS) { in thread_start()
292 if (id <= MASTER_THREAD || id >= MAX_THREADS)
309 if (!(*ret == -1 || *ret > MASTER_THREAD || *ret < MAX_THREADS)) { in thread_join()
319 for (i = MASTER_THREAD + 1; i < MAX_THREADS; i++) { in thread_join()
/openbmc/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()
/openbmc/linux/tools/testing/selftests/powerpc/mm/
H 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()
/openbmc/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()
/openbmc/u-boot/doc/
H A DREADME.sched37 changing "#define MAX_THREADS" depending on the available memory.
/openbmc/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()
/openbmc/linux/kernel/
H A Dfork.c123 #define MAX_THREADS FUTEX_TID_MASK macro
1009 threads = MAX_THREADS; in set_max_threads()
1017 max_threads = clamp_t(u64, threads, MIN_THREADS, MAX_THREADS); in set_max_threads()
1063 set_max_threads(MAX_THREADS); in fork_init()
3539 int max = MAX_THREADS; in sysctl_max_threads()
/openbmc/linux/drivers/gpu/drm/panfrost/
H A Dpanfrost_drv.c61 PANFROST_FEATURE(MAX_THREADS, max_threads); in panfrost_ioctl_get_param()