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

Function atomic_cmpset_rel_16

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

Source from the content-addressed store, hash-verified

471}
472
473static __inline int
474atomic_cmpset_rel_16(volatile uint16_t *_ptr, uint16_t _old, uint16_t _new)
475{
476 int ret;
477
478 dmb();
479 ATOMIC_CMPSET_CODE(ret, "h");
480 return (ret);
481}
482
483static __inline int
484atomic_cmpset_32(volatile uint32_t *_ptr, uint32_t _old, uint32_t _new)

Callers 1

foffset_unlockFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected