Home
last modified time | relevance | path

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

/tools/testing/selftests/cgroup/
Dtest_kmem.c99 pthread_t *tinfo; in alloc_kmem_smp() local
103 tinfo = calloc(nr_threads, sizeof(pthread_t)); in alloc_kmem_smp()
104 if (tinfo == NULL) in alloc_kmem_smp()
108 if (pthread_create(&tinfo[i], NULL, &alloc_kmem_fn, in alloc_kmem_smp()
110 free(tinfo); in alloc_kmem_smp()
116 ret = pthread_join(tinfo[i], NULL); in alloc_kmem_smp()
121 free(tinfo); in alloc_kmem_smp()
251 pthread_t *tinfo; in spawn_1000_threads() local
256 tinfo = calloc(nr_threads, sizeof(pthread_t)); in spawn_1000_threads()
257 if (tinfo == NULL) in spawn_1000_threads()
[all …]