Lines Matching refs:save
18 static inline void atomic_unlock(__unused const volatile void *ptr, uint32_t save) { in atomic_unlock() argument
19 spin_unlock(spin_lock_instance(PICO_SPINLOCK_ID_ATOMIC), save); in atomic_unlock()
25 uint32_t save = atomic_lock(mem); in __atomic_test_and_set_c() local
28 atomic_unlock(mem, save); in __atomic_test_and_set_c()
61 uint32_t save = atomic_lock(src); in __atomic_load_c() local
63 atomic_unlock(src, save); in __atomic_load_c()
69 uint32_t save = atomic_lock(src); in __atomic_store_c() local
71 atomic_unlock(src, save); in __atomic_store_c()
81 uint32_t save = atomic_lock(ptr); in __atomic_compare_exchange_c() local
84 atomic_unlock(ptr, save); in __atomic_compare_exchange_c()
88 atomic_unlock(ptr, save); in __atomic_compare_exchange_c()
96 uint32_t save = atomic_lock(ptr); in __atomic_exchange_c() local
99 atomic_unlock(ptr, save); in __atomic_exchange_c()
115 uint32_t save = atomic_lock(src); \
117 atomic_unlock(src, save); \
127 uint32_t save = atomic_lock(dest); \
129 atomic_unlock(dest, save); \
139 uint32_t save = atomic_lock(ptr); \
142 atomic_unlock(ptr, save); \
146 atomic_unlock(ptr, save); \
156 uint32_t save = atomic_lock(dest); \
159 atomic_unlock(dest, save); \
171 uint32_t save = atomic_lock(ptr); \
174 atomic_unlock(ptr, save); \
180 uint32_t save = atomic_lock(ptr); \
183 atomic_unlock(ptr, save); \