Searched refs:MAX_THREADS (Results 1 – 11 of 11) sorted by relevance
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()
17 #define MAX_THREADS MAX_CPUS macro26 static thread_t threads[MAX_THREADS];61 if (num_threads >= MAX_THREADS) in create_per_cpu_threads()88 if (nthreads > MAX_THREADS) in create_threads()89 nthreads = MAX_THREADS; in create_threads()
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()
17 private final static int MAX_THREADS = 3; field in AsyncTesting32 if (threads.size() == MAX_THREADS) { in runAfter()
410 #define MAX_THREADS 4 macro418 dec_state_t *ps_dec_state[MAX_THREADS];419 UWORD32 au4_thread_launched[MAX_THREADS];
53 #define NUM_MEM_RECORDS 4 * MAX_THREADS + NUM_INT_FRAME_BUFFERS + 5 + 2 + 1
319 for(i = 0; i < MAX_THREADS; i++) in impeg2d_api_set_num_cores()541 for(i4_num_threads = 0; i4_num_threads < MAX_THREADS; i4_num_threads++) in impeg2d_fill_mem_rec()1001 for(i4_num_threads = 0; i4_num_threads < MAX_THREADS; i4_num_threads++) in impeg2d_api_reset()1709 for(i4_num_threads = 0; i4_num_threads < MAX_THREADS; i4_num_threads++) in impeg2d_api_init()1829 for(i4_num_threads = 0; i4_num_threads < MAX_THREADS; i4_num_threads++) in impeg2d_api_init()3064 if((ps_ip->u4_num_cores < 1) || (ps_ip->u4_num_cores > MAX_THREADS)) in impeg2d_api_check_struct_sanity()
105 #define MAX_THREADS 65536 /* max number of threads, reader/writer, per test */ macro
609 if (atoi(optarg) > MAX_THREADS) { in fill_cld_args()612 atoi(optarg), MAX_THREADS); in fill_cld_args()
37 changing "#define MAX_THREADS" depending on the available memory.
132 #define MAX_THREADS 10000 macro460 if (clients_num >= MAX_THREADS) { in client_init()