Lines Matching refs:load32
76 unsigned int old32, new32, load32; in xchg16() local
79 load32 = *ptr; in xchg16()
82 old32 = load32; in xchg16()
83 new32 = (load32 & (~mask)) | val << bit_shift; in xchg16()
84 load32 = __cmpxchg_u32(ptr, old32, new32); in xchg16()
85 } while (load32 != old32); in xchg16()
87 return (load32 & mask) >> bit_shift; in xchg16()
138 unsigned int load32 = *ptr; in __cmpxchg_u8() local
141 new32 = (load32 & ~mask) | (new << bit_shift); in __cmpxchg_u8()
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()
146 load = (load32 & mask) >> bit_shift; in __cmpxchg_u8()