HomeSort by relevance Sort by last modified time
    Searched defs:futex (Results 1 - 4 of 4) sorted by null

  /external/valgrind/main/coregrind/m_scheduler/
ticket-lock-linux.c 61 volatile unsigned futex[TL_FUTEX_COUNT]; member in struct:sched_lock
82 // The futex syscall requires that a futex takes four bytes.
83 vg_assert(sizeof(p->futex[0]) == 4);
87 VG_(memset)((void*)p->futex, 0, sizeof(p->futex));
91 INNER_REQUEST(ANNOTATE_BENIGN_RACE_SIZED(&p->futex, sizeof(p->futex), ""));
109 * ticket value. The futex used to wait depends on the ticket value in order
120 volatile unsigned *futex; local
164 volatile unsigned *futex; local
    [all...]
  /art/runtime/base/
mutex-inl.h 37 #include "linux/futex.h"
42 static inline int futex(volatile int *uaddr, int op, int val, const struct timespec *timeout, volatile int *uaddr2, int val3) { function in namespace:art
164 if (futex(state_.Address(), FUTEX_WAIT, cur_state, NULL, NULL, 0) != 0) {
166 PLOG(FATAL) << "futex wait failed for " << name_;
199 futex(state_.Address(), FUTEX_WAKE, -1, NULL, NULL, 0);
  /cts/tests/tests/security/jni/
android_security_cts_NativeCodeTest.cpp 18 #include <linux/futex.h>
266 * Test for vulnerability to CVE-2014-3153, a bug in the futex() syscall that can
274 int futex = 1; local
278 * that's what we're checking for - they're both &futex. Patched systems will
281 ret = futex_syscall(&futex, FUTEX_CMP_REQUEUE_PI, 1, NULL, &futex, 0);
  /external/qemu/util/
qemu-thread-posix.c 25 #include <linux/futex.h>
281 #define futex(...) syscall(__NR_futex, __VA_ARGS__) macro
285 futex(ev, FUTEX_WAKE, n, NULL, NULL, 0);
290 futex(ev, FUTEX_WAIT, (int) val, NULL, NULL, 0);

Completed in 1091 milliseconds