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

Function rte_atomic16_clear

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

* Atomically set a 16-bit counter to 0. * * @param v * A pointer to the atomic counter. */

Source from the content-addressed store, hash-verified

443 * A pointer to the atomic counter.
444 */
445static inline void rte_atomic16_clear(rte_atomic16_t *v)
446{
447 v->cnt = 0;
448}
449
450/*------------------------- 32 bit atomic operations -------------------------*/
451

Callers 4

dpaa2_put_qbman_swpFunction · 0.85
dpaa2_get_qbman_swpFunction · 0.85
qman_free_global_portalFunction · 0.85
test_atomicFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_atomicFunction · 0.68