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

Function rte_atomic16_init

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

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

Source from the content-addressed store, hash-verified

236 * A pointer to the atomic counter.
237 */
238static inline void
239rte_atomic16_init(rte_atomic16_t *v)
240{
241 v->cnt = 0;
242}
243
244/**
245 * Atomically read a 16-bit value from a counter.

Callers 6

nitrox_qp_setupFunction · 0.85
dpaa2_create_dpio_deviceFunction · 0.85
dpaa2_create_dpbp_deviceFunction · 0.85
test_atomicFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_atomicFunction · 0.68