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.c99 extern futex_t *tst_futexes;
327 if (tst_futexes) { in tst_rmdir()
328 msync((void *)tst_futexes, getpagesize(), MS_SYNC); in tst_rmdir()
329 munmap((void *)tst_futexes, getpagesize()); in tst_rmdir()
Dtst_test.c57 extern void *tst_futexes;
107 tst_futexes = (char*)results + sizeof(struct results); in setup_ipc()
142 tst_futexes = (char*)ptr + sizeof(struct results); in tst_reinit()
721 tst_futexes = NULL; in do_cleanup()