Home
last modified time | relevance | path

Searched defs:uaddr (Results 1 – 25 of 169) sorted by relevance

1234567

/linux-6.6.21/tools/testing/selftests/futex/include/
Dfutextest.h70 #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-6.6.21/tools/perf/bench/
Dfutex.h49 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-6.6.21/kernel/futex/
Dpi.c202 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 …]
Dwaitwake.c143 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-6.6.21/include/linux/
Dbpf-cgroup.h234 #define BPF_CGROUP_RUN_SA_PROG(sk, uaddr, uaddrlen, atype) \ argument
243 #define BPF_CGROUP_RUN_SA_PROG_LOCK(sk, uaddr, uaddrlen, atype, t_ctx) \ argument
260 #define BPF_CGROUP_RUN_PROG_INET_BIND_LOCK(sk, uaddr, uaddrlen, atype, bind_flags) \ argument
280 #define BPF_CGROUP_RUN_PROG_INET4_CONNECT(sk, uaddr, uaddrlen) \ argument
283 #define BPF_CGROUP_RUN_PROG_INET6_CONNECT(sk, uaddr, uaddrlen) \ argument
286 #define BPF_CGROUP_RUN_PROG_INET4_CONNECT_LOCK(sk, uaddr, uaddrlen) \ argument
289 #define BPF_CGROUP_RUN_PROG_INET6_CONNECT_LOCK(sk, uaddr, uaddrlen) \ argument
292 #define BPF_CGROUP_RUN_PROG_UDP4_SENDMSG_LOCK(sk, uaddr, uaddrlen, t_ctx) \ argument
295 #define BPF_CGROUP_RUN_PROG_UDP6_SENDMSG_LOCK(sk, uaddr, uaddrlen, t_ctx) \ argument
298 #define BPF_CGROUP_RUN_PROG_UDP4_RECVMSG_LOCK(sk, uaddr, uaddrlen) \ argument
[all …]
/linux-6.6.21/arch/arm/include/asm/
Dfutex.h25 #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-6.6.21/arch/x86/include/asm/
Dfutex.h15 #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-6.6.21/include/asm-generic/
Dfutex.h16 #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-6.6.21/arch/ia64/include/asm/
Dfutex.h9 #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-6.6.21/arch/arc/include/asm/
Dfutex.h18 #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-6.6.21/arch/xtensa/include/asm/
Dfutex.h24 #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-6.6.21/arch/hexagon/include/asm/
Dfutex.h13 #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-6.6.21/arch/sparc/include/asm/
Dfutex_64.h9 #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-6.6.21/arch/openrisc/include/asm/
Dfutex.h11 #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-6.6.21/arch/powerpc/include/asm/
Dfutex.h12 #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-6.6.21/arch/loongarch/include/asm/
Dfutex.h14 #define __futex_atomic_op(insn, ret, oldval, uaddr, oparg) \ argument
31 arch_futex_atomic_op_inuser(int op, int oparg, int *oval, u32 __user *uaddr) in arch_futex_atomic_op_inuser()
66 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic()
/linux-6.6.21/arch/alpha/include/asm/
Dfutex.h12 #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-6.6.21/arch/csky/include/asm/
Dfutex.h14 #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-6.6.21/arch/microblaze/include/asm/
Dfutex.h11 #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-6.6.21/arch/s390/include/asm/
Dfutex.h11 #define __futex_atomic_op(insn, ret, oldval, newval, uaddr, oparg) \ argument
28 u32 __user *uaddr) in arch_futex_atomic_op_inuser()
63 static inline int futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic()
/linux-6.6.21/arch/mips/include/asm/
Dfutex.h25 #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-6.6.21/arch/riscv/include/asm/
Dfutex.h22 #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-6.6.21/arch/arm64/kvm/vgic/
Dvgic-kvm-device.c93 u64 __user *uaddr = (u64 __user *)attr->addr; in kvm_vgic_addr() local
218 u32 __user *uaddr = (u32 __user *)(long)attr->addr; in vgic_set_common_attr() local
294 u32 __user *uaddr = (u32 __user *)(long)attr->addr; in vgic_get_common_attr() local
365 u32 __user *uaddr = (u32 __user *)(unsigned long)attr->addr; in vgic_v2_attr_regs_access() local
539 u32 __user *uaddr = (u32 __user *)(unsigned long)attr->addr; in vgic_v3_attr_regs_access() local
594 u32 __user *uaddr = (u32 __user *)(unsigned long)attr->addr; in vgic_v3_attr_regs_access() local
/linux-6.6.21/arch/arm64/include/asm/
Dfutex.h15 #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
/linux-6.6.21/arch/riscv/kvm/
Dvcpu_onereg.c122 unsigned long __user *uaddr = in kvm_riscv_vcpu_get_reg_config() local
171 unsigned long __user *uaddr = in kvm_riscv_vcpu_set_reg_config() local
276 unsigned long __user *uaddr = in kvm_riscv_vcpu_get_reg_core() local
309 unsigned long __user *uaddr = in kvm_riscv_vcpu_set_reg_core() local
385 unsigned long __user *uaddr = in kvm_riscv_vcpu_get_reg_csr() local
421 unsigned long __user *uaddr = in kvm_riscv_vcpu_set_reg_csr() local
559 unsigned long __user *uaddr = in kvm_riscv_vcpu_get_reg_isa_ext() local
598 unsigned long __user *uaddr = in kvm_riscv_vcpu_set_reg_isa_ext() local

1234567