Searched refs:old32 (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/arch/mips/kernel/ |
D | cmpxchg.c | 16 u32 old32, new32, load32, mask; in __xchg_small() local 46 old32 = load32; in __xchg_small() 48 load32 = cmpxchg(ptr32, old32, new32); in __xchg_small() 49 } while (load32 != old32); in __xchg_small() 57 u32 mask, old32, new32, load32; in __cmpxchg_small() local 103 old32 = (load32 & ~mask) | (old << shift); in __cmpxchg_small() 105 load32 = cmpxchg(ptr32, old32, new32); in __cmpxchg_small() 106 if (load32 == old32) in __cmpxchg_small()
|
/Linux-v4.19/arch/sparc/include/asm/ |
D | cmpxchg_64.h | 71 unsigned int old32, new32, load32; in xchg16() local 77 old32 = load32; in xchg16() 79 load32 = __cmpxchg_u32(ptr, old32, new32); in xchg16() 80 } while (load32 != old32); in xchg16() 132 unsigned int old32, new32, load; in __cmpxchg_u8() local 137 old32 = (load32 & ~mask) | (old << bit_shift); in __cmpxchg_u8() 138 load32 = __cmpxchg_u32(ptr, old32, new32); in __cmpxchg_u8() 139 if (load32 == old32) in __cmpxchg_u8()
|
/Linux-v4.19/arch/openrisc/include/asm/ |
D | cmpxchg.h | 70 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()
|