Home
last modified time | relevance | path

Searched refs:old32 (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/arch/mips/kernel/
Dcmpxchg.c12 u32 old32, new32, load32, mask; in __xchg_small() local
42 old32 = load32; in __xchg_small()
44 load32 = cmpxchg(ptr32, old32, new32); in __xchg_small()
45 } while (load32 != old32); in __xchg_small()
53 u32 mask, old32, new32, load32, load; in __cmpxchg_small() local
98 old32 = (load32 & ~mask) | (old << shift); in __cmpxchg_small()
100 load32 = cmpxchg(ptr32, old32, new32); in __cmpxchg_small()
101 if (load32 == old32) in __cmpxchg_small()
/Linux-v5.4/arch/sparc/include/asm/
Dcmpxchg_64.h76 unsigned int old32, new32, load32; in xchg16() local
82 old32 = load32; in xchg16()
84 load32 = __cmpxchg_u32(ptr, old32, new32); in xchg16()
85 } while (load32 != old32); in xchg16()
137 unsigned int old32, new32, load; in __cmpxchg_u8() local
142 old32 = (load32 & ~mask) | (old << bit_shift); in __cmpxchg_u8()
143 load32 = __cmpxchg_u32(ptr, old32, new32); in __cmpxchg_u8()
144 if (load32 == old32) in __cmpxchg_u8()
/Linux-v5.4/arch/openrisc/include/asm/
Dcmpxchg.h70 u32 load32, old32, new32; in cmpxchg_small() local
80 old32 = (load32 & ~bitmask) | (old << bitoff); in cmpxchg_small()
84 load32 = cmpxchg_u32(p, old32, new32); in cmpxchg_small()
85 if (load32 == old32) in cmpxchg_small()