/linux-master/arch/x86/include/asm/ |
H A D | futex.h | 15 #define unsafe_atomic_op1(insn, oval, uaddr, oparg, label) \ 25 *oval = oldval; \ 29 #define unsafe_atomic_op2(insn, oval, uaddr, oparg, label) \ 45 *oval = oldval; \ 48 static __always_inline int arch_futex_atomic_op_inuser(int op, int oparg, int *oval, argument 56 unsafe_atomic_op1("xchgl %0, %2", oval, uaddr, oparg, Efault); 59 unsafe_atomic_op1(LOCK_PREFIX "xaddl %0, %2", oval, 63 unsafe_atomic_op2("orl %4, %3", oval, uaddr, oparg, Efault); 66 unsafe_atomic_op2("andl %4, %3", oval, uaddr, ~oparg, Efault); 69 unsafe_atomic_op2("xorl %4, %3", oval, uadd [all...] |
H A D | percpu.h | 242 "%[oval]") \ 247 : [oval] "=&a" (pxo_old__), \ 264 : [oval] "+a" (pco_old__), \ 281 [oval] "+a" (pco_old__), \ 316 #define raw_cpu_cmpxchg64(pcp, oval, nval) percpu_cmpxchg64_op(8, , pcp, oval, nval) 317 #define this_cpu_cmpxchg64(pcp, oval, nval) percpu_cmpxchg64_op(8, volatile, pcp, oval, nval) 354 #define raw_cpu_cmpxchg64(pcp, oval, nval) percpu_cmpxchg_op(8, , pcp, oval, nva [all...] |
/linux-master/net/netfilter/ |
H A D | xt_statistic.c | 33 int nval, oval; local 42 oval = atomic_read(&info->master->count); 43 nval = (oval == info->u.nth.every) ? 0 : oval + 1; 44 } while (atomic_cmpxchg(&info->master->count, oval, nval) != oval);
|
H A D | nft_numgen.c | 26 u32 nval, oval; local 29 oval = atomic_read(priv->counter); 30 nval = (oval + 1 < priv->modulus) ? oval + 1 : 0; 31 } while (atomic_cmpxchg(priv->counter, oval, nval) != oval);
|
/linux-master/arch/um/include/asm/ |
H A D | futex.h | 10 int arch_futex_atomic_op_inuser(int op, u32 oparg, int *oval, u32 __user *uaddr);
|
/linux-master/include/asm-generic/ |
H A D | futex.h | 18 #define arch_futex_atomic_op_inuser(op, oparg, oval, uaddr) \ 19 futex_atomic_op_inuser_local(op, oparg, oval, uaddr) 38 futex_atomic_op_inuser_local(int op, u32 oparg, int *oval, u32 __user *uaddr) argument 79 *oval = oldval;
|
H A D | percpu.h | 116 #define raw_cpu_generic_cmpxchg(pcp, oval, nval) \ 118 typeof(pcp) __old = (oval); \ 191 #define this_cpu_generic_cmpxchg(pcp, oval, nval) \ 196 __ret = raw_cpu_generic_cmpxchg(pcp, oval, nval); \ 349 #define raw_cpu_cmpxchg_1(pcp, oval, nval) \ 350 raw_cpu_generic_cmpxchg(pcp, oval, nval) 353 #define raw_cpu_cmpxchg_2(pcp, oval, nval) \ 354 raw_cpu_generic_cmpxchg(pcp, oval, nval) 357 #define raw_cpu_cmpxchg_4(pcp, oval, nval) \ 358 raw_cpu_generic_cmpxchg(pcp, oval, nva [all...] |
/linux-master/arch/s390/include/asm/ |
H A D | percpu.h | 134 #define arch_this_cpu_cmpxchg(pcp, oval, nval) \ 141 ret__ = cmpxchg(ptr__, oval, nval); \ 146 #define this_cpu_cmpxchg_1(pcp, oval, nval) arch_this_cpu_cmpxchg(pcp, oval, nval) 147 #define this_cpu_cmpxchg_2(pcp, oval, nval) arch_this_cpu_cmpxchg(pcp, oval, nval) 148 #define this_cpu_cmpxchg_4(pcp, oval, nval) arch_this_cpu_cmpxchg(pcp, oval, nval) 149 #define this_cpu_cmpxchg_8(pcp, oval, nval) arch_this_cpu_cmpxchg(pcp, oval, nva [all...] |
H A D | futex.h | 27 static inline int arch_futex_atomic_op_inuser(int op, int oparg, int *oval, argument 58 *oval = oldval;
|
/linux-master/arch/xtensa/include/asm/ |
H A D | futex.h | 73 static inline int arch_futex_atomic_op_inuser(int op, int oparg, int *oval, argument 108 *oval = oldval; 112 return futex_atomic_op_inuser_local(op, oparg, oval, uaddr);
|
/linux-master/arch/openrisc/include/asm/ |
H A D | futex.h | 34 arch_futex_atomic_op_inuser(int op, int oparg, int *oval, u32 __user *uaddr) argument 62 *oval = oldval;
|
/linux-master/arch/sparc/include/asm/ |
H A D | futex_64.h | 33 static inline int arch_futex_atomic_op_inuser(int op, int oparg, int *oval, argument 62 *oval = oldval;
|
/linux-master/arch/microblaze/include/asm/ |
H A D | futex.h | 33 arch_futex_atomic_op_inuser(int op, int oparg, int *oval, u32 __user *uaddr) argument 61 *oval = oldval;
|
/linux-master/arch/sh/include/asm/ |
H A D | futex.h | 29 static inline int arch_futex_atomic_op_inuser(int op, u32 oparg, int *oval, argument 67 *oval = oldval;
|
/linux-master/arch/alpha/include/asm/ |
H A D | futex.h | 29 static inline int arch_futex_atomic_op_inuser(int op, int oparg, int *oval, argument 58 *oval = oldval;
|
/linux-master/arch/powerpc/include/asm/ |
H A D | futex.h | 31 static inline int arch_futex_atomic_op_inuser(int op, int oparg, int *oval, argument 60 *oval = oldval;
|
/linux-master/arch/hexagon/include/asm/ |
H A D | futex.h | 35 arch_futex_atomic_op_inuser(int op, int oparg, int *oval, u32 __user *uaddr) argument 67 *oval = oldval;
|
/linux-master/arch/loongarch/include/asm/ |
H A D | futex.h | 31 arch_futex_atomic_op_inuser(int op, int oparg, int *oval, u32 __user *uaddr) argument 60 *oval = oldval;
|
/linux-master/sound/isa/sb/ |
H A D | sb_mixer.c | 80 unsigned char val, oval; local 84 oval = snd_sbmixer_read(sb, reg); 85 val = (oval & ~(mask << shift)) | val; 86 change = val != oval; 181 unsigned char oval; local 184 oval = snd_sbmixer_read(sb, SB_DT019X_CAPTURE_SW); 186 switch (oval & 0x07) { 218 unsigned char nval, oval; local 242 oval = snd_sbmixer_read(sb, SB_DT019X_CAPTURE_SW); 243 change = nval != oval; 269 unsigned char oval; local 288 unsigned char nval, oval; local 322 unsigned char oval; local 346 unsigned char nval, oval; local [all...] |
/linux-master/arch/mips/include/asm/ |
H A D | futex.h | 88 ret = futex_atomic_op_inuser_local(op, oparg, oval, uaddr); \ 93 arch_futex_atomic_op_inuser(int op, int oparg, int *oval, u32 __user *uaddr) argument 126 *oval = oldval;
|
/linux-master/arch/arc/include/asm/ |
H A D | futex.h | 73 static inline int arch_futex_atomic_op_inuser(int op, int oparg, int *oval, argument 111 *oval = oldval;
|
/linux-master/arch/csky/include/asm/ |
H A D | futex.h | 42 arch_futex_atomic_op_inuser(int op, int oparg, int *oval, u32 __user *uaddr) argument 75 *oval = oldval;
|
/linux-master/arch/arm64/include/asm/ |
H A D | futex.h | 41 arch_futex_atomic_op_inuser(int op, int oparg, int *oval, u32 __user *_uaddr) argument 75 *oval = oldval;
|
/linux-master/arch/riscv/include/asm/ |
H A D | futex.h | 37 arch_futex_atomic_op_inuser(int op, int oparg, int *oval, u32 __user *uaddr) argument 70 *oval = oldval;
|
/linux-master/arch/parisc/include/asm/ |
H A D | futex.h | 35 arch_futex_atomic_op_inuser(int op, int oparg, int *oval, u32 __user *uaddr) argument 84 *oval = oldval;
|