/arch/sh/include/asm/ |
D | futex.h | 23 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 28 return atomic_futex_op_cmpxchg_inatomic(uval, uaddr, oldval, newval); in futex_atomic_cmpxchg_inatomic() 34 u32 oldval, newval, prev; in arch_futex_atomic_op_inuser() local 46 newval = oparg; in arch_futex_atomic_op_inuser() 49 newval = oldval + oparg; in arch_futex_atomic_op_inuser() 52 newval = oldval | oparg; in arch_futex_atomic_op_inuser() 55 newval = oldval & ~oparg; in arch_futex_atomic_op_inuser() 58 newval = oldval ^ oparg; in arch_futex_atomic_op_inuser() 67 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/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 37 ret, oldval, newval, uaddr, oparg); in arch_futex_atomic_op_inuser() 41 ret, oldval, newval, uaddr, oparg); in arch_futex_atomic_op_inuser() 45 ret, oldval, newval, uaddr, oparg); in arch_futex_atomic_op_inuser() 49 ret, oldval, newval, uaddr, oparg); in arch_futex_atomic_op_inuser() 53 ret, oldval, newval, uaddr, oparg); in arch_futex_atomic_op_inuser() 68 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 81 : "0" (-EFAULT), "d" (newval), "a" (uaddr), "m" (*uaddr) in futex_atomic_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) \ 115 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 153 : [ret] "+r" (ret), [newval] "+r" (newval), [tmp] "=&r" (tmp) in futex_atomic_cmpxchg_inatomic()
|
/arch/sparc/include/asm/ |
D | futex_64.h | 73 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 90 : "+r" (ret), "=r" (newval) in futex_atomic_cmpxchg_inatomic() 91 : "1" (newval), "r" (oldval), "r" (uaddr), "i" (-EFAULT) in futex_atomic_cmpxchg_inatomic() 94 *uval = newval; in futex_atomic_cmpxchg_inatomic()
|
/arch/mips/paravirt/ |
D | paravirt-smp.c | 31 int newval; in set_numcpus() local 33 if (get_option(&str, &newval)) { in set_numcpus() 34 if (newval < 1 || newval >= NR_CPUS) in set_numcpus() 36 numcpus = newval; in set_numcpus()
|
/arch/ia64/include/asm/ |
D | futex.h | 26 int val, newval; \ 39 "=&r" (newval) \ 87 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 102 : "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() 194 : GCC_OFF_SMALL_ASM() (*uaddr), "Jr" (oldval), "Jr" (newval), in futex_atomic_cmpxchg_inatomic()
|
/arch/hexagon/include/asm/ |
D | futex.h | 75 u32 newval) in futex_atomic_cmpxchg_inatomic() argument 100 : "r" (uaddr), "r" (oldval), "r" (newval), "i"(-EFAULT) in futex_atomic_cmpxchg_inatomic()
|
/arch/microblaze/include/asm/ |
D | futex.h | 69 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 92 : "r" (uaddr), "r" (oldval), "r" (newval), "i" (-EFAULT)); in futex_atomic_cmpxchg_inatomic()
|
/arch/openrisc/include/asm/ |
D | futex.h | 70 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 95 : "r" (oldval), "r" (newval), "i" (-EFAULT) \ 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/x86/include/asm/ |
D | futex.h | 82 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 84 return user_atomic_cmpxchg_inatomic(uval, uaddr, oldval, newval); in futex_atomic_cmpxchg_inatomic()
|
/arch/alpha/include/asm/ |
D | futex.h | 66 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 88 : "r"(uaddr), "r"((long)(int)oldval), "r"(newval) in futex_atomic_cmpxchg_inatomic()
|
/arch/arc/include/asm/ |
D | futex.h | 121 u32 newval) in futex_atomic_cmpxchg_inatomic() argument 156 : "r"(expval), "r"(newval), "r"(uaddr), "ir"(-EFAULT) in futex_atomic_cmpxchg_inatomic()
|
/arch/riscv/include/asm/ |
D | futex.h | 80 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 107 : [ov] "Jr" (oldval), [nv] "Jr" (newval), [e] "i" (-EFAULT) in futex_atomic_cmpxchg_inatomic()
|
/arch/powerpc/include/asm/ |
D | futex.h | 71 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 97 : "r" (uaddr), "r" (oldval), "r" (newval), "i" (-EFAULT) in futex_atomic_cmpxchg_inatomic()
|
/arch/arm64/include/asm/ |
D | futex.h | 88 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 120 : "r" (oldval), "r" (newval), "Ir" (-EFAULT), "Ir" (-EAGAIN) in futex_atomic_cmpxchg_inatomic()
|
/arch/m68k/kernel/ |
D | sys_m68k.c | 461 sys_atomic_cmpxchg_32(unsigned long newval, int oldval, int d3, int d4, int d5, in sys_atomic_cmpxchg_32() argument 493 __put_user(newval, mem); in sys_atomic_cmpxchg_32() 508 struct pt_regs *fp = (struct pt_regs *)&newval; in sys_atomic_cmpxchg_32() 534 sys_atomic_cmpxchg_32(unsigned long newval, int oldval, int d3, int d4, int d5, in sys_atomic_cmpxchg_32() argument 544 *mem = newval; in sys_atomic_cmpxchg_32()
|
/arch/parisc/include/asm/ |
D | futex.h | 87 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 113 if (val == oldval && unlikely(put_user(newval, uaddr) != 0)) { in futex_atomic_cmpxchg_inatomic()
|