Searched refs:tst_futexes (Results 1 – 3 of 3) sorted by relevance
/external/ltp/lib/ |
D | tst_checkpoint.c | 36 futex_t *tst_futexes; variable 45 if (tst_futexes) { in tst_checkpoint_init() 75 tst_futexes = SAFE_MMAP(cleanup_fn, NULL, page_size, in tst_checkpoint_init() 95 return syscall(SYS_futex, &tst_futexes[id], FUTEX_WAIT, in tst_checkpoint_wait() 96 tst_futexes[id], &timeout); in tst_checkpoint_wait() 110 waked += syscall(SYS_futex, &tst_futexes[id], FUTEX_WAKE, in tst_checkpoint_wake()
|
D | tst_tmpdir.c | 98 extern futex_t *tst_futexes; 203 if (tst_futexes) { in tst_rmdir() 204 msync((void *)tst_futexes, getpagesize(), MS_SYNC); in tst_rmdir() 205 munmap((void *)tst_futexes, getpagesize()); in tst_rmdir()
|
D | tst_test.c | 55 extern void *tst_futexes; 99 tst_futexes = (char*)results + sizeof(struct results); in setup_ipc() 134 tst_futexes = (char*)ptr + sizeof(struct results); in tst_reinit() 584 tst_futexes = NULL; in do_cleanup()
|