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

Function atomic_fcmpset_acq_long

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

Source from the content-addressed store, hash-verified

333}
334
335static __inline int
336atomic_fcmpset_acq_long(volatile u_long *_ptr, u_long *_old, u_long _new)
337{
338 int ret;
339
340 ATOMIC_FCMPSET_CODE(ret, u_long, "");
341 dmb();
342 return (ret);
343}
344
345static __inline int
346atomic_fcmpset_rel_long(volatile u_long *_ptr, u_long *_old, u_long _new)

Callers 1

Calls 1

ATOMIC_FCMPSET_CODEFunction · 0.85

Tested by

no test coverage detected