Home
last modified time | relevance | path

Searched refs:futex (Results 1 – 25 of 61) sorted by relevance

123

/third_party/ltp/testcases/kernel/syscalls/futex/
Dfutex_wake01.c18 static futex_t futex = FUTEX_INITIALIZER; variable
22 {&futex, 0, 0},
23 {&futex, 0, FUTEX_PRIVATE_FLAG},
24 {&futex, 1, 0},
25 {&futex, 1, FUTEX_PRIVATE_FLAG},
26 {&futex, INT_MAX, 0},
27 {&futex, INT_MAX, FUTEX_PRIVATE_FLAG},
Dfutex_wake03.c14 static futex_t *futex; variable
30 futex_wait(tv->fntype, futex, *futex, NULL, 0); in do_child()
39 TEST(futex_wake(tv->fntype, futex, nr_children, 0)); in do_wake()
83 TEST(futex_wake(tv->fntype, futex, 1, 0)); in run()
100 futex = SAFE_MMAP(NULL, sizeof(*futex), PROT_READ | PROT_WRITE, in setup()
103 *futex = FUTEX_INITIALIZER; in setup()
Dfutex_wait02.c16 static futex_t *futex; variable
35 ret = futex_wake(tv->fntype, futex, 1, 0); in do_child()
52 res = futex_wait(tv->fntype, futex, *futex, NULL, 0); in run()
69 futex = SAFE_MMAP(NULL, sizeof(*futex), PROT_READ | PROT_WRITE, in setup()
72 *futex = FUTEX_INITIALIZER; in setup()
Dfutex_wait01.c23 static futex_t futex = FUTEX_INITIALIZER; variable
26 {&futex, FUTEX_INITIALIZER, 0, ETIMEDOUT},
27 {&futex, FUTEX_INITIALIZER+1, 0, EWOULDBLOCK},
28 {&futex, FUTEX_INITIALIZER, FUTEX_PRIVATE_FLAG, ETIMEDOUT},
29 {&futex, FUTEX_INITIALIZER+1, FUTEX_PRIVATE_FLAG, EWOULDBLOCK},
Dfutex_wake02.c14 static futex_t futex = FUTEX_INITIALIZER; variable
54 futex_wait(tv->fntype, &futex, futex, NULL, FUTEX_PRIVATE_FLAG); in threaded()
75 TEST(futex_wake(tv->fntype, &futex, i, FUTEX_PRIVATE_FLAG)); in do_child()
98 TEST(futex_wake(tv->fntype, &futex, 1, FUTEX_PRIVATE_FLAG)); in do_child()
Dfutex_wait03.c14 static futex_t futex = FUTEX_INITIALIZER; variable
33 ret = futex_wake(tv->fntype, &futex, 1, FUTEX_PRIVATE_FLAG); in threaded()
48 res = futex_wait(tv->fntype, &futex, futex, NULL, FUTEX_PRIVATE_FLAG); in run()
Dfutex_wait05.c19 futex_t futex = FUTEX_INITIALIZER; in sample_fn() local
22 TEST(syscall(SYS_futex, &futex, FUTEX_WAIT, futex, &to, NULL, 0)); in sample_fn()
Dfutex_wait_bitset01.c38 futex_t futex = FUTEX_INITIALIZER; in verify_futex_wait_bitset() local
50 TEST(futex_wait_bitset(tv->fntype, &futex, futex, &to, bitset, flags)); in verify_futex_wait_bitset()
/third_party/rust/crates/rustix/src/thread/
Dmod.rs6 mod futex; module
29 pub use futex::{futex, FutexFlags, FutexOperation};
Dfutex.rs28 pub unsafe fn futex( in futex() function
37 backend::thread::syscalls::futex(uaddr, op, flags, val, utime, uaddr2, val3) in futex()
/third_party/rust/crates/rustix/src/backend/linux_raw/thread/
Dmod.rs1 mod futex; module
4 pub use futex::{FutexFlags, FutexOperation};
/third_party/mesa3d/src/util/
Dfutex.h102 return futex(addr, FUTEX_WAKE, count, NULL, NULL); in futex_wake()
110 return futex(addr, FUTEX_WAIT, value, NULL, NULL); in futex_wait()
117 return futex(addr, FUTEX_WAIT, value, &tsrel, NULL); in futex_wait()
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/
Dspinlock_linux.inc17 #include <linux/futex.h>
36 "SpinLock lockword has the wrong size for a futex");
39 // support these futex operations.
/third_party/mesa3d/docs/relnotes/
D19.1.1.rst34 - mesa-19.1.0/src/util/futex.h:82: use of out of scope variable ?
67 - util/futex: fix dangling pointer use
/third_party/ltp/testcases/kernel/syscalls/
DMakefile24 accept4 adjtimex cma confstr fcntl fmtmsg futex getcontext getcpu \
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/
DBUILD.gn45 "internal/futex.h",
DCMakeLists.txt55 "internal/futex.h"
/third_party/ltp/include/lapi/syscalls/
Daarch64.in100 futex 98
Darc.in100 futex 98
Dmips_n32.in195 futex 6194
Dmips_n64.in195 futex 5194
Ds390x.in186 futex 238
Dia64.in201 futex 1230
Dsparc64.in127 futex 142
Dsh.in217 futex 240

123