* Atomically set a 16-bit counter to 0. * * @param v * A pointer to the atomic counter. */
| 443 | * A pointer to the atomic counter. |
| 444 | */ |
| 445 | static inline void rte_atomic16_clear(rte_atomic16_t *v) |
| 446 | { |
| 447 | v->cnt = 0; |
| 448 | } |
| 449 | |
| 450 | /*------------------------- 32 bit atomic operations -------------------------*/ |
| 451 |
no outgoing calls