| 88 | /*------------------------- 32 bit atomic operations -------------------------*/ |
| 89 | |
| 90 | static inline int |
| 91 | rte_atomic32_cmpset(volatile uint32_t *dst, uint32_t exp, uint32_t src) |
| 92 | { |
| 93 | return rte_atomic_compare_exchange_strong_explicit(dst, &exp, src, rte_memory_order_acquire, |
| 94 | rte_memory_order_acquire) ? 1 : 0; |
| 95 | } |
| 96 | |
| 97 | static inline int rte_atomic32_test_and_set(rte_atomic32_t *v) |
| 98 | { |
no outgoing calls
no test coverage detected