Lines Matching refs:val
94 void __atomic_exchange_c(uint size, volatile void *ptr, void *val, void *old, __unused int model) { in __atomic_exchange_c() argument
98 memcpy(remove_volatile_cast_no_barrier(void *, ptr), val, size); in __atomic_exchange_c()
116 type val = *(const volatile type *)src; \
118 return val; \
126 void __atomic_store_##n(volatile void *dest, type val, __unused int model) { \
128 *(volatile type *)dest = val; \
155 type __atomic_exchange_##n(volatile void *dest, type val, __unused int model) { \
158 *(volatile type *)dest = val; \
170 type __atomic_fetch_##opname##_##n(volatile void *ptr, type val, __unused int model) { \
173 *(volatile type *)ptr = tmp op val; \
179 type __atomic_fetch_nand_##n(type *ptr, type val, __unused int model) { \
182 *ptr = ~(tmp & val); \