/linux/tools/testing/selftests/futex/include/ |
A D | futextest.h | 70 #define futex(uaddr, op, val, timeout, uaddr2, val3, opflags) \ argument 88 futex_wake(futex_t *uaddr, int nr_wake, int opflags) in futex_wake() 98 futex_wait_bitset(futex_t *uaddr, futex_t val, struct timespec *timeout, in futex_wait_bitset() 121 futex_lock_pi(futex_t *uaddr, struct timespec *timeout, int detect, in futex_lock_pi() 131 futex_unlock_pi(futex_t *uaddr, int opflags) in futex_unlock_pi() 140 futex_wake_op(futex_t *uaddr, futex_t *uaddr2, int nr_wake, int nr_wake2, in futex_wake_op() 185 futex_wait_requeue_pi(futex_t *uaddr, futex_t val, futex_t *uaddr2, in futex_wait_requeue_pi() 219 futex_cmpxchg(futex_t *uaddr, u_int32_t oldval, u_int32_t newval) in futex_cmpxchg() 231 futex_dec(futex_t *uaddr) in futex_dec() 243 futex_inc(futex_t *uaddr) in futex_inc() [all …]
|
/linux/tools/perf/bench/ |
A D | futex.h | 49 futex_syscall(volatile u_int32_t *uaddr, int op, u_int32_t val, struct timespec *timeout, in futex_syscall() 56 futex_syscall_nr_requeue(volatile u_int32_t *uaddr, int op, u_int32_t val, int nr_requeue, in futex_syscall_nr_requeue() 67 futex_wait(u_int32_t *uaddr, u_int32_t val, struct timespec *timeout, int opflags) in futex_wait() 77 futex_wake(u_int32_t *uaddr, int nr_wake, int opflags) in futex_wake() 86 futex_lock_pi(u_int32_t *uaddr, struct timespec *timeout, int opflags) in futex_lock_pi() 95 futex_unlock_pi(u_int32_t *uaddr, int opflags) in futex_unlock_pi() 106 futex_cmp_requeue(u_int32_t *uaddr, u_int32_t val, u_int32_t *uaddr2, int nr_wake, in futex_cmp_requeue() 122 futex_wait_requeue_pi(u_int32_t *uaddr, u_int32_t val, u_int32_t *uaddr2, in futex_wait_requeue_pi() 139 futex_cmp_requeue_pi(u_int32_t *uaddr, u_int32_t val, u_int32_t *uaddr2, in futex_cmp_requeue_pi()
|
/linux/kernel/futex/ |
A D | pi.c | 202 static int attach_to_pi_state(u32 __user *uaddr, u32 uval, in attach_to_pi_state() 320 static int handle_exit_race(u32 __user *uaddr, u32 uval, in handle_exit_race() 410 static int attach_to_pi_owner(u32 __user *uaddr, u32 uval, union futex_key *key, in attach_to_pi_owner() 474 static int lock_pi_update_atomic(u32 __user *uaddr, u32 uval, u32 newval) in lock_pi_update_atomic() 514 int futex_lock_pi_atomic(u32 __user *uaddr, struct futex_hash_bucket *hb, in futex_lock_pi_atomic() 613 static int wake_futex_pi(u32 __user *uaddr, u32 uval, struct futex_pi_state *pi_state) in wake_futex_pi() 683 static int __fixup_pi_state_owner(u32 __user *uaddr, struct futex_q *q, in __fixup_pi_state_owner() 855 static int fixup_pi_state_owner(u32 __user *uaddr, struct futex_q *q, in fixup_pi_state_owner() 884 int fixup_pi_owner(u32 __user *uaddr, struct futex_q *q, int locked) in fixup_pi_owner() 930 int futex_lock_pi(u32 __user *uaddr, unsigned int flags, ktime_t *time, int trylock) in futex_lock_pi() [all …]
|
A D | waitwake.c | 143 int futex_wake(u32 __user *uaddr, unsigned int flags, int nr_wake, u32 bitset) in futex_wake() 188 static int futex_atomic_op_inuser(unsigned int encoded_op, u32 __user *uaddr) in futex_atomic_op_inuser() 436 u32 __user *uaddr = (u32 __user *)(unsigned long)vs[i].w.uaddr; in futex_wait_multiple_setup() local 577 int futex_wait_setup(u32 __user *uaddr, u32 val, unsigned int flags, in futex_wait_setup() 632 int futex_wait(u32 __user *uaddr, unsigned int flags, u32 val, ktime_t *abs_time, u32 bitset) in futex_wait() 696 u32 __user *uaddr = restart->futex.uaddr; in futex_wait_restart() local
|
/linux/arch/arm64/kvm/vgic/ |
A D | vgic-kvm-device.c | 169 u64 __user *uaddr = (u64 __user *)(long)attr->addr; in vgic_set_common_attr() local 180 u32 __user *uaddr = (u32 __user *)(long)attr->addr; in vgic_set_common_attr() local 232 u64 __user *uaddr = (u64 __user *)(long)attr->addr; in vgic_get_common_attr() local 248 u32 __user *uaddr = (u32 __user *)(long)attr->addr; in vgic_get_common_attr() local 411 u32 __user *uaddr = (u32 __user *)(long)attr->addr; in vgic_v2_set_attr() local 436 u32 __user *uaddr = (u32 __user *)(long)attr->addr; in vgic_v2_get_attr() local 610 u32 __user *uaddr = (u32 __user *)(long)attr->addr; in vgic_v3_set_attr() local 621 u64 __user *uaddr = (u64 __user *)(long)attr->addr; in vgic_v3_set_attr() local 630 u32 __user *uaddr = (u32 __user *)(long)attr->addr; in vgic_v3_set_attr() local 674 u32 __user *uaddr = (u32 __user *)(long)attr->addr; in vgic_v3_get_attr() local [all …]
|
/linux/include/linux/ |
A D | bpf-cgroup.h | 266 #define BPF_CGROUP_RUN_SA_PROG(sk, uaddr, atype) \ argument 316 #define BPF_CGROUP_RUN_PROG_INET4_CONNECT(sk, uaddr) \ argument 319 #define BPF_CGROUP_RUN_PROG_INET6_CONNECT(sk, uaddr) \ argument 322 #define BPF_CGROUP_RUN_PROG_INET4_CONNECT_LOCK(sk, uaddr) \ argument 334 #define BPF_CGROUP_RUN_PROG_UDP4_RECVMSG_LOCK(sk, uaddr) \ argument 337 #define BPF_CGROUP_RUN_PROG_UDP6_RECVMSG_LOCK(sk, uaddr) \ argument 500 #define BPF_CGROUP_RUN_SA_PROG(sk, uaddr, atype) ({ 0; }) argument 509 #define BPF_CGROUP_RUN_PROG_INET4_CONNECT(sk, uaddr) ({ 0; }) argument 511 #define BPF_CGROUP_RUN_PROG_INET6_CONNECT(sk, uaddr) ({ 0; }) argument 515 #define BPF_CGROUP_RUN_PROG_UDP4_RECVMSG_LOCK(sk, uaddr) ({ 0; }) argument [all …]
|
/linux/arch/arm/include/asm/ |
A D | futex.h | 25 #define __futex_atomic_op(insn, ret, oldval, tmp, uaddr, oparg) \ argument 46 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic() 84 #define __futex_atomic_op(insn, ret, oldval, tmp, uaddr, oparg) \ argument 100 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic() 133 arch_futex_atomic_op_inuser(int op, int oparg, int *oval, u32 __user *uaddr) in arch_futex_atomic_op_inuser()
|
/linux/arch/parisc/include/asm/ |
A D | futex.h | 14 _futex_spin_lock(u32 __user *uaddr) in _futex_spin_lock() 24 _futex_spin_unlock(u32 __user *uaddr) in _futex_spin_unlock() 34 arch_futex_atomic_op_inuser(int op, int oparg, int *oval, u32 __user *uaddr) in arch_futex_atomic_op_inuser() 81 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic()
|
/linux/arch/x86/include/asm/ |
A D | futex.h | 15 #define unsafe_atomic_op1(insn, oval, uaddr, oparg, label) \ argument 33 #define unsafe_atomic_op2(insn, oval, uaddr, oparg, label) \ argument 57 u32 __user *uaddr) in arch_futex_atomic_op_inuser() 90 static inline int futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic()
|
/linux/include/asm-generic/ |
A D | futex.h | 31 arch_futex_atomic_op_inuser(int op, u32 oparg, int *oval, u32 __user *uaddr) in arch_futex_atomic_op_inuser() 93 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic() 117 arch_futex_atomic_op_inuser(int op, u32 oparg, int *oval, u32 __user *uaddr) in arch_futex_atomic_op_inuser() 123 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic()
|
/linux/arch/ia64/include/asm/ |
A D | futex.h | 9 #define __futex_atomic_op1(insn, ret, oldval, uaddr, oparg) \ argument 23 #define __futex_atomic_op2(insn, ret, oldval, uaddr, oparg) \ argument 49 arch_futex_atomic_op_inuser(int op, int oparg, int *oval, u32 __user *uaddr) in arch_futex_atomic_op_inuser() 85 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic()
|
/linux/arch/xtensa/include/asm/ |
A D | futex.h | 20 #define __futex_atomic_op(insn, ret, old, uaddr, arg) \ argument 44 #define __futex_atomic_op(insn, ret, old, uaddr, arg) \ argument 70 u32 __user *uaddr) in arch_futex_atomic_op_inuser() 113 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic()
|
/linux/arch/arc/include/asm/ |
A D | futex.h | 18 #define __futex_atomic_op(insn, ret, oldval, uaddr, oparg)\ argument 46 #define __futex_atomic_op(insn, ret, oldval, uaddr, oparg)\ argument 74 u32 __user *uaddr) in arch_futex_atomic_op_inuser() 121 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, u32 expval, in futex_atomic_cmpxchg_inatomic()
|
/linux/arch/sparc/include/asm/ |
A D | futex_64.h | 9 #define __futex_cas_op(insn, ret, oldval, uaddr, oparg) \ argument 34 u32 __user *uaddr) in arch_futex_atomic_op_inuser() 68 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic()
|
/linux/arch/openrisc/include/asm/ |
A D | futex.h | 11 #define __futex_atomic_op(insn, ret, oldval, uaddr, oparg) \ argument 34 arch_futex_atomic_op_inuser(int op, int oparg, int *oval, u32 __user *uaddr) in arch_futex_atomic_op_inuser() 68 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic()
|
/linux/arch/hexagon/include/asm/ |
A D | futex.h | 13 #define __futex_atomic_op(insn, ret, oldval, uaddr, oparg) \ argument 35 arch_futex_atomic_op_inuser(int op, int oparg, int *oval, u32 __user *uaddr) in arch_futex_atomic_op_inuser() 73 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, u32 oldval, in futex_atomic_cmpxchg_inatomic()
|
/linux/arch/powerpc/include/asm/ |
A D | futex.h | 12 #define __futex_atomic_op(insn, ret, oldval, uaddr, oparg) \ argument 32 u32 __user *uaddr) in arch_futex_atomic_op_inuser() 66 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic()
|
/linux/arch/mips/include/asm/ |
A D | futex.h | 22 #define __futex_atomic_op(insn, ret, oldval, uaddr, oparg) \ argument 88 arch_futex_atomic_op_inuser(int op, int oparg, int *oval, u32 __user *uaddr) in arch_futex_atomic_op_inuser() 127 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic()
|
/linux/arch/csky/include/asm/ |
A D | futex.h | 14 #define __futex_atomic_op(insn, ret, oldval, uaddr, oparg) \ argument 42 arch_futex_atomic_op_inuser(int op, int oparg, int *oval, u32 __user *uaddr) in arch_futex_atomic_op_inuser() 83 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic()
|
/linux/arch/s390/include/asm/ |
A D | futex.h | 10 #define __futex_atomic_op(insn, ret, oldval, newval, uaddr, oparg) \ argument 26 u32 __user *uaddr) in arch_futex_atomic_op_inuser() 61 static inline int futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic()
|
/linux/arch/alpha/include/asm/ |
A D | futex.h | 12 #define __futex_atomic_op(insn, ret, oldval, uaddr, oparg) \ argument 30 u32 __user *uaddr) in arch_futex_atomic_op_inuser() 64 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic()
|
/linux/arch/microblaze/include/asm/ |
A D | futex.h | 11 #define __futex_atomic_op(insn, ret, oldval, uaddr, oparg) \ argument 33 arch_futex_atomic_op_inuser(int op, int oparg, int *oval, u32 __user *uaddr) in arch_futex_atomic_op_inuser() 67 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic()
|
/linux/arch/riscv/include/asm/ |
A D | futex.h | 21 #define __futex_atomic_op(insn, ret, oldval, uaddr, oparg) \ argument 45 arch_futex_atomic_op_inuser(int op, int oparg, int *oval, u32 __user *uaddr) in arch_futex_atomic_op_inuser() 84 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic()
|
/linux/arch/nds32/include/asm/ |
A D | futex.h | 22 #define __futex_atomic_op(insn, ret, oldval, tmp, uaddr, oparg) \ argument 37 futex_atomic_cmpxchg_inatomic(u32 * uval, u32 __user * uaddr, in futex_atomic_cmpxchg_inatomic() 65 arch_futex_atomic_op_inuser(int op, int oparg, int *oval, u32 __user *uaddr) in arch_futex_atomic_op_inuser()
|
/linux/arch/arm64/include/asm/ |
A D | futex.h | 15 #define __futex_atomic_op(insn, ret, oldval, uaddr, tmp, oparg) \ argument 44 u32 __user *uaddr = __uaccess_mask_ptr(_uaddr); in arch_futex_atomic_op_inuser() local 87 u32 __user *uaddr; in futex_atomic_cmpxchg_inatomic() local
|