Home
last modified time | relevance | path

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

/third_party/ltp/lib/
H A Dtst_checkpoint.c35 futex_t *tst_futexes; variable
44 if (tst_futexes) { in tst_checkpoint_init()
75 tst_futexes = SAFE_MMAP(cleanup_fn, NULL, page_size, in tst_checkpoint_init()
100 ret = syscall(SYS_futex, &tst_futexes[id], FUTEX_WAIT, in tst_checkpoint_wait()
101 tst_futexes[id], &timeout); in tst_checkpoint_wait()
121 waked += syscall(SYS_futex, &tst_futexes[id], FUTEX_WAKE, in tst_checkpoint_wake()
H A Dtst_tmpdir.c100 extern futex_t *tst_futexes;
333 if (tst_futexes) { in tst_rmdir()
334 msync((void *)tst_futexes, getpagesize(), MS_SYNC); in tst_rmdir()
335 munmap((void *)tst_futexes, getpagesize()); in tst_rmdir()
H A Dtst_test.c78 extern void *tst_futexes;
132 tst_futexes = (char *)results + sizeof(struct results); in setup_ipc()
169 tst_futexes = (char *)results + sizeof(struct results); in tst_reinit()
1360 tst_futexes = NULL; in do_cleanup()

Completed in 3 milliseconds