Lines Matching refs:load32
12 u32 old32, new32, load32, mask; in __xchg_small() local
39 load32 = *ptr32; in __xchg_small()
42 old32 = load32; in __xchg_small()
43 new32 = (load32 & ~mask) | (val << shift); in __xchg_small()
44 load32 = cmpxchg(ptr32, old32, new32); in __xchg_small()
45 } while (load32 != old32); in __xchg_small()
47 return (load32 & mask) >> shift; in __xchg_small()
53 u32 mask, old32, new32, load32, load; in __cmpxchg_small() local
81 load32 = *ptr32; in __cmpxchg_small()
88 load = (load32 & mask) >> shift; in __cmpxchg_small()
98 old32 = (load32 & ~mask) | (old << shift); in __cmpxchg_small()
99 new32 = (load32 & ~mask) | (new << shift); in __cmpxchg_small()
100 load32 = cmpxchg(ptr32, old32, new32); in __cmpxchg_small()
101 if (load32 == old32) in __cmpxchg_small()