Home
last modified time | relevance | path

Searched refs:futex_flags (Results 1 – 4 of 4) sorted by relevance

/linux/io_uring/
H A Dfutex.c20 u32 futex_flags; member
132 if (unlikely(sqe->len || sqe->futex_flags || sqe->buf_index || in io_futex_prep()
144 iof->futex_flags = futex2_to_flags(flags); in io_futex_prep()
145 if (!futex_flags_valid(iof->futex_flags)) in io_futex_prep()
148 if (!futex_validate_input(iof->futex_flags, iof->futex_val) || in io_futex_prep()
149 !futex_validate_input(iof->futex_flags, iof->futex_mask)) in io_futex_prep()
165 if (!(iof->futex_flags & FLAGS_SHARED)) in io_futex_wait_prep()
196 sqe->addr2 || sqe->futex_flags || sqe->addr3)) in io_futexv_prep()
322 ret = futex_wait_setup(iof->uaddr, iof->futex_val, iof->futex_flags, in io_futex_wait()
350 ret = futex_wake(iof->uaddr, FLAGS_STRICT | iof->futex_flags, NULL, in io_futex_wake()
/linux/tools/testing/selftests/futex/functional/
H A Dfutex_numa_mpol.c84 unsigned int futex_flags) in __test_futex()
94 ret = futex2_wake(futex_ptr, to_wake, futex_flags); in __test_futex()
99 to_wake, futex_flags); in __test_futex()
104 to_wake, futex_flags, err_value, errno, strerror(errno)); in __test_futex()
110 if (errno == ENOSYS || (errno == EINVAL && (futex_flags & FUTEX2_NUMA))) in __test_futex()
115 to_wake, futex_flags, strerror(errno)); in __test_futex()
80 __test_futex(void * futex_ptr,int err_value,unsigned int futex_flags) __test_futex() argument
/linux/tools/include/uapi/linux/
H A Dio_uring.h73 __u32 futex_flags; member
/linux/include/uapi/linux/
H A Dio_uring.h75 __u32 futex_flags; member