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()
99 ret = syscall(SYS_futex, &tst_futexes[id], FUTEX_WAIT, in tst_checkpoint_wait()
100 tst_futexes[id], &timeout); in tst_checkpoint_wait()
117 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.c60 extern void *tst_futexes;
115 tst_futexes = (char*)results + sizeof(struct results); in setup_ipc()
152 tst_futexes = (char*)results + sizeof(struct results); in tst_reinit()
1005 tst_futexes = NULL; in do_cleanup()