Lines Matching refs:load32
16 u32 old32, new32, load32, mask; in __xchg_small() local
43 load32 = *ptr32; in __xchg_small()
46 old32 = load32; in __xchg_small()
47 new32 = (load32 & ~mask) | (val << shift); in __xchg_small()
48 load32 = cmpxchg(ptr32, old32, new32); in __xchg_small()
49 } while (load32 != old32); in __xchg_small()
51 return (load32 & mask) >> shift; in __xchg_small()
57 u32 mask, old32, new32, load32; in __cmpxchg_small() local
86 load32 = *ptr32; in __cmpxchg_small()
93 load = (load32 & mask) >> shift; in __cmpxchg_small()
103 old32 = (load32 & ~mask) | (old << shift); in __cmpxchg_small()
104 new32 = (load32 & ~mask) | (new << shift); in __cmpxchg_small()
105 load32 = cmpxchg(ptr32, old32, new32); in __cmpxchg_small()
106 if (load32 == old32) in __cmpxchg_small()