Lines Matching refs:load32
71 unsigned int old32, new32, load32; in xchg16() local
74 load32 = *ptr; in xchg16()
77 old32 = load32; in xchg16()
78 new32 = (load32 & (~mask)) | val << bit_shift; in xchg16()
79 load32 = __cmpxchg_u32(ptr, old32, new32); in xchg16()
80 } while (load32 != old32); in xchg16()
82 return (load32 & mask) >> bit_shift; in xchg16()
133 unsigned int load32 = *ptr; in __cmpxchg_u8() local
136 new32 = (load32 & ~mask) | (new << bit_shift); in __cmpxchg_u8()
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()
141 load = (load32 & mask) >> bit_shift; in __cmpxchg_u8()