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

Function rte_atomic32_init

dpdk/lib/eal/include/generic/rte_atomic.h:523–527  ·  view source on GitHub ↗

* Initialize an atomic counter. * * @param v * A pointer to the atomic counter. */

Source from the content-addressed store, hash-verified

521 * A pointer to the atomic counter.
522 */
523static inline void
524rte_atomic32_init(rte_atomic32_t *v)
525{
526 v->cnt = 0;
527}
528
529/**
530 * Atomically read a 32-bit value from a counter.

Callers 3

sfc_probeFunction · 0.85
dpaa_qdma_initFunction · 0.85
test_atomicFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_atomicFunction · 0.68