/linux-5.19.10/tools/testing/selftests/futex/include/ |
D | futextest.h | 70 #define futex(uaddr, op, val, timeout, uaddr2, val3, opflags) \ argument 78 futex_wait(futex_t *uaddr, futex_t val, struct timespec *timeout, int opflags) in futex_wait() 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() 110 futex_wake_bitset(futex_t *uaddr, int nr_wake, u_int32_t bitset, int opflags) in futex_wake_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() 156 futex_requeue(futex_t *uaddr, futex_t *uaddr2, int nr_wake, int nr_requeue, in futex_requeue() 169 futex_cmp_requeue(futex_t *uaddr, futex_t val, futex_t *uaddr2, int nr_wake, in futex_cmp_requeue() [all …]
|
/linux-5.19.10/tools/perf/bench/ |
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-5.19.10/kernel/futex/ |
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 …]
|
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-5.19.10/include/linux/ |
D | bpf-cgroup.h | 226 #define BPF_CGROUP_RUN_SA_PROG(sk, uaddr, atype) \ argument 235 #define BPF_CGROUP_RUN_SA_PROG_LOCK(sk, uaddr, atype, t_ctx) \ argument 252 #define BPF_CGROUP_RUN_PROG_INET_BIND_LOCK(sk, uaddr, atype, bind_flags) \ argument 272 #define BPF_CGROUP_RUN_PROG_INET4_CONNECT(sk, uaddr) \ argument 275 #define BPF_CGROUP_RUN_PROG_INET6_CONNECT(sk, uaddr) \ argument 278 #define BPF_CGROUP_RUN_PROG_INET4_CONNECT_LOCK(sk, uaddr) \ argument 281 #define BPF_CGROUP_RUN_PROG_INET6_CONNECT_LOCK(sk, uaddr) \ argument 284 #define BPF_CGROUP_RUN_PROG_UDP4_SENDMSG_LOCK(sk, uaddr, t_ctx) \ argument 287 #define BPF_CGROUP_RUN_PROG_UDP6_SENDMSG_LOCK(sk, uaddr, t_ctx) \ argument 290 #define BPF_CGROUP_RUN_PROG_UDP4_RECVMSG_LOCK(sk, uaddr) \ argument [all …]
|
/linux-5.19.10/arch/arm64/kvm/vgic/ |
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-5.19.10/arch/arm/include/asm/ |
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-5.19.10/arch/x86/include/asm/ |
D | futex.h | 15 #define unsafe_atomic_op1(insn, oval, uaddr, oparg, label) \ argument 29 #define unsafe_atomic_op2(insn, oval, uaddr, oparg, label) \ argument 49 u32 __user *uaddr) in arch_futex_atomic_op_inuser() 82 static inline int futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic()
|
/linux-5.19.10/include/asm-generic/ |
D | futex.h | 16 #define futex_atomic_cmpxchg_inatomic(uval, uaddr, oldval, newval) \ argument 18 #define arch_futex_atomic_op_inuser(op, oparg, oval, uaddr) \ argument 38 futex_atomic_op_inuser_local(int op, u32 oparg, int *oval, u32 __user *uaddr) in futex_atomic_op_inuser_local() 99 futex_atomic_cmpxchg_inatomic_local(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic_local()
|
/linux-5.19.10/arch/ia64/include/asm/ |
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-5.19.10/arch/arc/include/asm/ |
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-5.19.10/arch/xtensa/include/asm/ |
D | futex.h | 24 #define __futex_atomic_op(insn, ret, old, uaddr, arg) \ argument 48 #define __futex_atomic_op(insn, ret, old, uaddr, arg) \ argument 74 u32 __user *uaddr) in arch_futex_atomic_op_inuser() 117 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic()
|
/linux-5.19.10/arch/sparc/include/asm/ |
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-5.19.10/arch/powerpc/include/asm/ |
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-5.19.10/arch/loongarch/include/asm/ |
D | futex.h | 13 #define __futex_atomic_op(insn, ret, oldval, uaddr, oparg) \ argument 37 arch_futex_atomic_op_inuser(int op, int oparg, int *oval, u32 __user *uaddr) in arch_futex_atomic_op_inuser() 72 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic()
|
/linux-5.19.10/arch/openrisc/include/asm/ |
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-5.19.10/arch/hexagon/include/asm/ |
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-5.19.10/arch/microblaze/include/asm/ |
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-5.19.10/arch/s390/include/asm/ |
D | futex.h | 11 #define __futex_atomic_op(insn, ret, oldval, newval, uaddr, oparg) \ argument 27 u32 __user *uaddr) in arch_futex_atomic_op_inuser() 62 static inline int futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic()
|
/linux-5.19.10/arch/alpha/include/asm/ |
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-5.19.10/arch/csky/include/asm/ |
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-5.19.10/arch/mips/include/asm/ |
D | futex.h | 25 #define __futex_atomic_op(op, insn, ret, oldval, uaddr, oparg) \ argument 93 arch_futex_atomic_op_inuser(int op, int oparg, int *oval, u32 __user *uaddr) in arch_futex_atomic_op_inuser() 132 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic()
|
/linux-5.19.10/arch/riscv/include/asm/ |
D | futex.h | 22 #define __futex_atomic_op(insn, ret, oldval, uaddr, oparg) \ argument 37 arch_futex_atomic_op_inuser(int op, int oparg, int *oval, u32 __user *uaddr) in arch_futex_atomic_op_inuser() 76 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic()
|
/linux-5.19.10/arch/arm64/kvm/ |
D | sys_regs.c | 324 const struct kvm_one_reg *reg, void __user *uaddr) in set_oslsr_el1() 454 const struct kvm_one_reg *reg, void __user *uaddr) in set_bvr() 464 const struct kvm_one_reg *reg, void __user *uaddr) in get_bvr() 496 const struct kvm_one_reg *reg, void __user *uaddr) in set_bcr() 507 const struct kvm_one_reg *reg, void __user *uaddr) in get_bcr() 540 const struct kvm_one_reg *reg, void __user *uaddr) in set_wvr() 550 const struct kvm_one_reg *reg, void __user *uaddr) in get_wvr() 582 const struct kvm_one_reg *reg, void __user *uaddr) in set_wcr() 592 const struct kvm_one_reg *reg, void __user *uaddr) in get_wcr() 1230 const struct kvm_one_reg *reg, void __user *uaddr) in set_id_aa64pfr0_el1() [all …]
|
/linux-5.19.10/arch/arm64/include/asm/ |
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
|