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

Function rte_atomic32_read

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

* Atomically read a 32-bit value from a counter. * * @param v * A pointer to the atomic counter. * @return * The value of the counter. */

Source from the content-addressed store, hash-verified

535 * The value of the counter.
536 */
537static inline int32_t
538rte_atomic32_read(const rte_atomic32_t *v)
539{
540 return v->cnt;
541}
542
543/**
544 * Atomically set a counter to a 32-bit value.

Callers 15

dma_pool_destroyFunction · 0.85
hn_rxpktFunction · 0.85
bnx2x_handle_fp_tqFunction · 0.85
eth_vhost_rxFunction · 0.85
eth_vhost_txFunction · 0.85
update_queuing_statusFunction · 0.85
new_deviceFunction · 0.85
eth_dev_startFunction · 0.85
vhost_dev_priv_dumpFunction · 0.85
update_datapathFunction · 0.85
sw_event_enqueue_burstFunction · 0.85

Calls

no outgoing calls