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

Function atomic_cmpset_rel_32

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

Source from the content-addressed store, hash-verified

500}
501
502static __inline int
503atomic_cmpset_rel_32(volatile uint32_t *_ptr, uint32_t _old, uint32_t _new)
504{
505 int ret;
506
507 dmb();
508 ATOMIC_CMPSET_CODE(ret, "");
509 return (ret);
510}
511
512static __inline int
513atomic_cmpset_long(volatile u_long *_ptr, u_long _old, u_long _new)

Callers 1

syscall_thread_exitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected