Home
last modified time | relevance | path

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

/external/ltp/lib/
Dtst_checkpoint.c36 futex_t *tst_futexes; variable
45 if (tst_futexes) { in tst_checkpoint_init()
77 tst_futexes = SAFE_MMAP(cleanup_fn, NULL, page_size, in tst_checkpoint_init()
97 return syscall(SYS_futex, &tst_futexes[id], FUTEX_WAIT, in tst_checkpoint_wait()
98 tst_futexes[id], &timeout); in tst_checkpoint_wait()
112 waked += syscall(SYS_futex, &tst_futexes[id], FUTEX_WAKE, in tst_checkpoint_wake()
Dtst_tmpdir.c100 extern futex_t *tst_futexes;
320 if (tst_futexes) { in tst_rmdir()
321 msync((void *)tst_futexes, getpagesize(), MS_SYNC); in tst_rmdir()
322 munmap((void *)tst_futexes, getpagesize()); in tst_rmdir()
Dtst_test.c65 extern void *tst_futexes;
120 tst_futexes = (char*)results + sizeof(struct results); in setup_ipc()
156 tst_futexes = (char*)results + sizeof(struct results); in tst_reinit()
894 tst_futexes = NULL; in do_cleanup()