/external/ltp/testcases/kernel/syscalls/futex/ |
futex_wait05.c | 35 TEST(futex_wait(&futex, futex, &to, 0)); 40 tst_res(TFAIL, "futex_wait() returned %li, expected -1", 55 .scall = "futex_wait()",
|
futex_wait02.c | 69 res = futex_wait(futex, *futex, NULL, 0); 72 tst_resm(TFAIL, "futex_wait() returned %i, errno %s", 79 tst_resm(TPASS, "futex_wait() woken up");
|
futex_wait04.c | 23 * Wait on uninitialized heap. It shold be zero and FUTEX_WAIT should return 45 res = futex_wait(buf, 1, &to, 0); 48 tst_resm(TPASS | TERRNO, "futex_wait() returned %i", res); 50 tst_resm(TFAIL | TERRNO, "futex_wait() returned %i", res);
|
futex_wake04.c | 113 futex_wait(futex1, *futex1, &to, 0); 122 res = futex_wait(futex2, *futex2, &to, 0);
|
futex_wait01.c | 25 * 2. Test if FUTEX_WAIT op returns -EWOULDBLOCK if the futex value differs 59 res = futex_wait(tc->f_addr, tc->f_val, &to, tc->opflags); 62 tst_resm(TFAIL, "futex_wait() returned %i, expected -1", res); 72 tst_resm(TPASS | TERRNO, "futex_wait()");
|
futex_wait03.c | 59 res = futex_wait(&futex, futex, NULL, FUTEX_PRIVATE_FLAG); 61 tst_resm(TFAIL, "futex_wait() returned %i, errno %s", 74 tst_resm(TPASS, "futex_wait() woken up");
|
futex_wake03.c | 37 futex_wait(futex, *futex, NULL, 0);
|
futex_wake02.c | 63 futex_wait(&futex, futex, NULL, FUTEX_PRIVATE_FLAG);
|
futextest.h | 109 * futex_wait() - block on uaddr with optional timeout 113 futex_wait(futex_t *uaddr, futex_t val, struct timespec *timeout, int opflags) function 115 return futex(uaddr, FUTEX_WAIT, val, timeout, NULL, 0, opflags);
|
/external/linux-kselftest/tools/testing/selftests/futex/functional/ |
futex_wait_timeout.c | 80 info("Calling futex_wait on f1: %u @ %p\n", f1, &f1); 81 res = futex_wait(&f1, f1, &to, FUTEX_PRIVATE_FLAG); 83 fail("futex_wait returned %d\n", ret < 0 ? errno : ret);
|
futex_wait_wouldblock.c | 11 * Test if FUTEX_WAIT op returns -EWOULDBLOCK if the futex value differs 68 ksft_print_msg("%s: Test the unexpected futex value in FUTEX_WAIT\n", 71 info("Calling futex_wait on f1: %u @ %p with val=%u\n", f1, &f1, f1+1); 72 res = futex_wait(&f1, f1+1, &to, FUTEX_PRIVATE_FLAG); 74 fail("futex_wait returned: %d %s\n",
|
futex_requeue_pi_mismatched_ops.c | 11 * 1. Block a thread using FUTEX_WAIT 50 child_ret = futex_wait(&f1, f1, NULL, FUTEX_PRIVATE_FLAG); 53 error("futex_wait\n", errno);
|
futex_wait_private_mapped_file.c | 61 ret = futex_wait(&val, 1, &wait_timeout, 0); 71 info("futex_wait: ret = %d, errno = %d\n", ret, errno); 102 "%s: Test the futex value of private file mappings in FUTEX_WAIT\n",
|
futex_wait_uninitialized_heap.c | 12 * Wait on uninitialized heap. It shold be zero and FUTEX_WAIT should 60 res = futex_wait(buf, 1, NULL, 0); 103 ksft_print_msg("%s: Test the uninitialized futex value in FUTEX_WAIT\n",
|
futex_requeue_pi.c | 269 args->ret = futex_wait(&wake_complete, wake_complete, NULL,
|
/frameworks/av/media/libaaudio/examples/utils/ |
AAudioExampleUtils.h | 151 android::status_t futex_wait(void *addr, int current, struct timespec *time) { function 178 return futex_wait(&mValue, value, &time);
|
/system/core/debuggerd/handler/ |
debuggerd_handler.cpp | 85 static inline void futex_wait(volatile void* ftx, int value) { function 86 syscall(__NR_futex, ftx, FUTEX_WAIT, value, nullptr, nullptr, 0); 525 futex_wait(&thread_info.pseudothread_tid, -1); 528 futex_wait(&thread_info.pseudothread_tid, child_pid);
|
/external/linux-kselftest/tools/testing/selftests/futex/include/ |
futextest.h | 78 * futex_wait() - block on uaddr with optional timeout 82 futex_wait(futex_t *uaddr, futex_t val, struct timespec *timeout, int opflags) function 84 return futex(uaddr, FUTEX_WAIT, val, timeout, NULL, 0, opflags);
|
/external/mesa3d/src/intel/vulkan/ |
anv_allocator.c | 127 futex_wait(uint32_t *addr, int32_t value) function 129 return sys_futex(addr, FUTEX_WAIT, value, NULL, NULL, 0); 515 * get block indexes above the current limit and hit futex_wait 525 futex_wait(&pool_state->end, state.end); 630 futex_wait(&pool->block.end, block.end);
|