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

Function atomic_fcmpset_64_i386

freebsd/i386/include/atomic.h:408–418  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

406}
407
408static __inline int
409atomic_fcmpset_64_i386(volatile uint64_t *dst, uint64_t *expect, uint64_t src)
410{
411
412 if (atomic_cmpset_64_i386(dst, *expect, src)) {
413 return (1);
414 } else {
415 *expect = *dst;
416 return (0);
417 }
418}
419
420static __inline uint64_t
421atomic_load_acq_64_i386(volatile uint64_t *p)

Callers 1

atomic_fcmpset_64Function · 0.85

Calls 1

atomic_cmpset_64_i386Function · 0.85

Tested by

no test coverage detected