MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ATOMIC_FCMPSET_CODE

Function ATOMIC_FCMPSET_CODE

freebsd/arm/include/atomic-v6.h:242–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

240 int ret;
241
242 ATOMIC_FCMPSET_CODE(ret, uint8_t, "b");
243 return (ret);
244}
245#define atomic_fcmpset_8 atomic_fcmpset_8
246
247static __inline int
248atomic_fcmpset_acq_8(volatile uint8_t *_ptr, uint8_t *_old, uint8_t _new)
249{
250 int ret;
251
252 ATOMIC_FCMPSET_CODE(ret, uint8_t, "b");
253 dmb();
254 return (ret);
255}
256
257static __inline int
258atomic_fcmpset_rel_8(volatile uint8_t *_ptr, uint8_t *_old, uint8_t _new)

Callers 3

atomic_fcmpset_longFunction · 0.85
atomic_fcmpset_acq_longFunction · 0.85
atomic_fcmpset_rel_longFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected