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

Function atomic_cmpset_acq_32

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

Source from the content-addressed store, hash-verified

490}
491
492static __inline int
493atomic_cmpset_acq_32(volatile uint32_t *_ptr, uint32_t _old, uint32_t _new)
494{
495 int ret;
496
497 ATOMIC_CMPSET_CODE(ret, "");
498 dmb();
499 return (ret);
500}
501
502static __inline int
503atomic_cmpset_rel_32(volatile uint32_t *_ptr, uint32_t _old, uint32_t _new)

Callers 2

syscall_thread_drainFunction · 0.85
syscall_thread_enterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected