Searched refs:MAX_THREADS (Results 1 – 10 of 10) sorted by relevance
17 #define MAX_THREADS 600 macro28 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()
25 #define MAX_THREADS 5 macro71 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()
26 #define MAX_THREADS 8 macro56 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()
32 #define MAX_THREADS 128 macro125 pthread_t pth[MAX_THREADS]; in main()156 if (thread_count > MAX_THREADS) in main()157 thread_count = MAX_THREADS; in main()
92 #define MAX_THREADS 64 macro95 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()
53 #define MAX_THREADS 128 macro70 int thr_tids[MAX_THREADS];267 if (num_threads < 1 || num_threads > MAX_THREADS) in main()
37 changing "#define MAX_THREADS" depending on the available memory.
229 #define MAX_THREADS (40) macro232 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()
123 #define MAX_THREADS FUTEX_TID_MASK macro1009 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()
61 PANFROST_FEATURE(MAX_THREADS, max_threads); in panfrost_ioctl_get_param()