Home
last modified time | relevance | path

Searched refs:threadnum (Results 1 – 6 of 6) sorted by relevance

/third_party/ltp/testcases/kernel/mem/mtest07/
Dmallocstress.c65 int allocate_free(int scheme, int threadnum) in allocate_free() argument
132 tst_res(TINFO, "Thread [%d]: Test runtime is over, exiting", threadnum); in allocate_free()
141 void *alloc_mem(void *threadnum) in alloc_mem() argument
149 err = allocate_free(((uintptr_t)threadnum) % 4, (uintptr_t)threadnum); in alloc_mem()
152 (int)(uintptr_t)threadnum, err, in alloc_mem()
/third_party/musl/libc-test/src/functionalext/supplement/thread/
Dpthread_barrier_init.c30 unsigned int threadnum = 4; in pthread_barrier_init_0100() local
32 int ret = pthread_barrier_init(&mybarrier, NULL, threadnum); in pthread_barrier_init_0100()
48 int threadnum = 0; in pthread_barrier_init_0200() local
50 int ret = pthread_barrier_init(&mybarrier, NULL, threadnum); in pthread_barrier_init_0200()
Dpthread_barrier_destroy.c30 unsigned int threadnum = 4; in pthread_barrier_destroy_0100() local
32 int ret = pthread_barrier_init(&mybarrier, NULL, threadnum); in pthread_barrier_destroy_0100()
Dpthread_barrier_wait.c76 int threadnum = 1; in pthread_barrier_wait_0200() local
78 int ret = pthread_barrier_init(&mybarrier, NULL, threadnum); in pthread_barrier_wait_0200()
/third_party/ltp/testcases/kernel/syscalls/madvise/
Dmadvise11.c154 static void *alloc_mem(void *threadnum) in alloc_mem() argument
157 int tnum = (int)(uintptr_t)threadnum; in alloc_mem()
/third_party/python/Lib/test/
Dtest_hashlib.py893 for threadnum in range(num_threads):
894 chunk_size = len(data) // (10 ** threadnum)