Home
last modified time | relevance | path

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

/external/u-boot/examples/standalone/
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()
/external/autotest/client/tests/monotonic_time/src/
Dthreads.c17 #define MAX_THREADS MAX_CPUS macro
26 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()
/external/linux-kselftest/tools/testing/selftests/timers/
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()
/external/mockito/src/test/java/org/mockitoutil/async/
DAsyncTesting.java17 private final static int MAX_THREADS = 3; field in AsyncTesting
32 if (threads.size() == MAX_THREADS) { in runAfter()
/external/libmpeg2/decoder/
Dimpeg2d_structs.h410 #define MAX_THREADS 4 macro
418 dec_state_t *ps_dec_state[MAX_THREADS];
419 UWORD32 au4_thread_launched[MAX_THREADS];
Dimpeg2d_api.h53 #define NUM_MEM_RECORDS 4 * MAX_THREADS + NUM_INT_FRAME_BUFFERS + 5 + 2 + 1
Dimpeg2d_api_main.c319 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()
/external/ltp/testcases/kernel/io/disktest/
Dthreading.h105 #define MAX_THREADS 65536 /* max number of threads, reader/writer, per test */ macro
Dparse.c609 if (atoi(optarg) > MAX_THREADS) { in fill_cld_args()
612 atoi(optarg), MAX_THREADS); in fill_cld_args()
/external/u-boot/doc/
DREADME.sched37 changing "#define MAX_THREADS" depending on the available memory.
/external/ltp/testcases/network/netstress/
Dnetstress.c132 #define MAX_THREADS 10000 macro
460 if (clients_num >= MAX_THREADS) { in client_init()