/arch/s390/include/asm/ |
D | futex.h | 10 #define __futex_atomic_op(insn, ret, oldval, newval, uaddr, oparg) \ argument 21 : "=d" (ret), "=&d" (oldval), "=&d" (newval), \ 29 int oldval = 0, newval, ret; in arch_futex_atomic_op_inuser() local 34 ret, oldval, newval, uaddr, oparg); in arch_futex_atomic_op_inuser() 38 ret, oldval, newval, uaddr, oparg); in arch_futex_atomic_op_inuser() 42 ret, oldval, newval, uaddr, oparg); in arch_futex_atomic_op_inuser() 46 ret, oldval, newval, uaddr, oparg); in arch_futex_atomic_op_inuser() 50 ret, oldval, newval, uaddr, oparg); in arch_futex_atomic_op_inuser() 63 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 74 : "0" (-EFAULT), "d" (newval), "a" (uaddr), "m" (*uaddr) in futex_atomic_cmpxchg_inatomic()
|
/arch/sh/include/asm/ |
D | futex.h | 21 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 26 return atomic_futex_op_cmpxchg_inatomic(uval, uaddr, oldval, newval); in futex_atomic_cmpxchg_inatomic() 32 u32 oldval, newval, prev; in arch_futex_atomic_op_inuser() local 42 newval = oparg; in arch_futex_atomic_op_inuser() 45 newval = oldval + oparg; in arch_futex_atomic_op_inuser() 48 newval = oldval | oparg; in arch_futex_atomic_op_inuser() 51 newval = oldval & ~oparg; in arch_futex_atomic_op_inuser() 54 newval = oldval ^ oparg; in arch_futex_atomic_op_inuser() 63 ret = futex_atomic_cmpxchg_inatomic(&prev, uaddr, oldval, newval); in arch_futex_atomic_op_inuser()
|
D | futex-cas.h | 7 u32 oldval, u32 newval) in atomic_futex_op_cmpxchg_inatomic() argument 27 :"+r" (err), "+r" (newval) in atomic_futex_op_cmpxchg_inatomic() 31 *uval = newval; in atomic_futex_op_cmpxchg_inatomic()
|
D | futex-llsc.h | 7 u32 oldval, u32 newval) in atomic_futex_op_cmpxchg_inatomic() argument 36 :"r" (uaddr), "i" (-EFAULT), "r" (oldval), "r" (newval) in atomic_futex_op_cmpxchg_inatomic()
|
D | futex-irq.h | 7 u32 oldval, u32 newval) in atomic_futex_op_cmpxchg_inatomic() argument 17 ret = put_user(newval, uaddr); in atomic_futex_op_cmpxchg_inatomic()
|
/arch/sparc/kernel/ |
D | auxio_64.c | 35 u8 regval, newval; in __auxio_rmw() local 42 newval = regval | bits_on; in __auxio_rmw() 43 newval &= ~bits_off; in __auxio_rmw() 45 newval &= ~AUXIO_AUX1_MASK; in __auxio_rmw() 47 writel((u32) newval, auxio_register); in __auxio_rmw() 49 sbus_writeb(newval, auxio_register); in __auxio_rmw()
|
/arch/xtensa/include/asm/ |
D | futex.h | 39 : [oldval] "=&r" (old), [newval] "=&r" (ret) \ 63 : [oldval] "=&r" (old), [newval] "=&r" (ret), \ 114 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 152 : [ret] "+r" (ret), [newval] "+r" (newval), [tmp] "=&r" (tmp) in futex_atomic_cmpxchg_inatomic()
|
/arch/sparc/include/asm/ |
D | futex_64.h | 69 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 86 : "+r" (ret), "=r" (newval) in futex_atomic_cmpxchg_inatomic() 87 : "1" (newval), "r" (oldval), "r" (uaddr), "i" (-EFAULT) in futex_atomic_cmpxchg_inatomic() 90 *uval = newval; in futex_atomic_cmpxchg_inatomic()
|
/arch/ia64/include/asm/ |
D | futex.h | 26 int val, newval; \ 39 "=&r" (newval) \ 86 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 101 : "r" (uaddr), "r" (newval), in futex_atomic_cmpxchg_inatomic()
|
/arch/arm/include/asm/ |
D | futex.h | 47 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 70 : "r" (oldval), "r" (newval), "r" (uaddr), "Ir" (-EFAULT) in futex_atomic_cmpxchg_inatomic() 101 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 120 : "r" (oldval), "r" (newval), "r" (uaddr), "Ir" (-EFAULT) in futex_atomic_cmpxchg_inatomic()
|
/arch/arm/mach-omap1/ |
D | clock.c | 79 static __u16 verify_ckctl_value(__u16 newval) in verify_ckctl_value() argument 101 per_exp = (newval >> CKCTL_PERDIV_OFFSET) & 3; in verify_ckctl_value() 102 lcd_exp = (newval >> CKCTL_LCDDIV_OFFSET) & 3; in verify_ckctl_value() 103 arm_exp = (newval >> CKCTL_ARMDIV_OFFSET) & 3; in verify_ckctl_value() 104 dsp_exp = (newval >> CKCTL_DSPDIV_OFFSET) & 3; in verify_ckctl_value() 105 tc_exp = (newval >> CKCTL_TCDIV_OFFSET) & 3; in verify_ckctl_value() 106 dspmmu_exp = (newval >> CKCTL_DSPMMUDIV_OFFSET) & 3; in verify_ckctl_value() 121 newval &= 0xf000; in verify_ckctl_value() 122 newval |= per_exp << CKCTL_PERDIV_OFFSET; in verify_ckctl_value() 123 newval |= lcd_exp << CKCTL_LCDDIV_OFFSET; in verify_ckctl_value() [all …]
|
/arch/mips/include/asm/ |
D | futex.h | 128 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 163 : GCC_OFF_SMALL_ASM() (*uaddr), "Jr" (oldval), "Jr" (newval), in futex_atomic_cmpxchg_inatomic() 193 : GCC_OFF_SMALL_ASM() (*uaddr), "Jr" (oldval), "Jr" (newval), in futex_atomic_cmpxchg_inatomic()
|
/arch/arm64/kvm/hyp/include/nvhe/ |
D | spinlock.h | 47 hyp_spinlock_t lockval, newval; in hyp_spin_lock() local 77 : "=&r" (lockval), "=&r" (newval), "=&r" (tmp), "+Q" (*lock) in hyp_spin_lock()
|
/arch/openrisc/include/asm/ |
D | futex.h | 69 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 94 : "r" (oldval), "r" (newval), "i" (-EFAULT) \ in futex_atomic_cmpxchg_inatomic()
|
/arch/hexagon/include/asm/ |
D | futex.h | 74 u32 newval) in futex_atomic_cmpxchg_inatomic() argument 99 : "r" (uaddr), "r" (oldval), "r" (newval), "i"(-EFAULT) in futex_atomic_cmpxchg_inatomic()
|
/arch/microblaze/include/asm/ |
D | futex.h | 68 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 91 : "r" (uaddr), "r" (oldval), "r" (newval), "i" (-EFAULT)); in futex_atomic_cmpxchg_inatomic()
|
/arch/alpha/include/asm/ |
D | futex.h | 65 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 87 : "r"(uaddr), "r"((long)(int)oldval), "r"(newval) in futex_atomic_cmpxchg_inatomic()
|
/arch/nds32/include/asm/ |
D | futex.h | 38 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 56 :"r"(oldval), "r"(newval), "r"(uaddr), "i"(-EFAULT) in futex_atomic_cmpxchg_inatomic()
|
/arch/powerpc/include/asm/ |
D | futex.h | 67 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 90 : "r" (uaddr), "r" (oldval), "r" (newval), "i" (-EFAULT) in futex_atomic_cmpxchg_inatomic()
|
/arch/csky/include/asm/ |
D | futex.h | 84 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 111 : [ov] "Jr" (oldval), [nv] "Jr" (newval), [e] "Jr" (-EFAULT) in futex_atomic_cmpxchg_inatomic()
|
/arch/arc/include/asm/ |
D | futex.h | 122 u32 newval) in futex_atomic_cmpxchg_inatomic() argument 157 : "r"(expval), "r"(newval), "r"(uaddr), "ir"(-EFAULT) in futex_atomic_cmpxchg_inatomic()
|
/arch/riscv/include/asm/ |
D | futex.h | 85 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 112 : [ov] "Jr" (oldval), [nv] "Jr" (newval), [e] "i" (-EFAULT) in futex_atomic_cmpxchg_inatomic()
|
/arch/m68k/kernel/ |
D | sys_m68k.c | 463 sys_atomic_cmpxchg_32(unsigned long newval, int oldval, int d3, int d4, int d5, in sys_atomic_cmpxchg_32() argument 503 __put_user(newval, mem); in sys_atomic_cmpxchg_32() 518 struct pt_regs *fp = (struct pt_regs *)&newval; in sys_atomic_cmpxchg_32() 544 sys_atomic_cmpxchg_32(unsigned long newval, int oldval, int d3, int d4, int d5, in sys_atomic_cmpxchg_32() argument 554 *mem = newval; in sys_atomic_cmpxchg_32()
|
/arch/x86/include/asm/ |
D | futex.h | 83 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 94 : "r" (newval), "1" (oldval) in futex_atomic_cmpxchg_inatomic()
|
/arch/arm64/include/asm/ |
D | futex.h | 87 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 119 : "r" (oldval), "r" (newval), "Ir" (-EFAULT), "Ir" (-EAGAIN) in futex_atomic_cmpxchg_inatomic()
|