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

Function rte_atomic16_test_and_set

dpdk/lib/eal/ppc/include/rte_atomic.h:55–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55static inline int rte_atomic16_test_and_set(rte_atomic16_t *v)
56{
57 return rte_atomic16_cmpset((volatile uint16_t *)&v->cnt, 0, 1);
58}
59
60static inline void
61rte_atomic16_inc(rte_atomic16_t *v)

Callers 6

dpaa2_get_qbman_swpFunction · 0.50
rte_dpaa2_alloc_dpci_devFunction · 0.50
dpaa2_alloc_dpbp_devFunction · 0.50
qman_alloc_global_portalFunction · 0.50
test_atomic_tasFunction · 0.50

Calls 1

rte_atomic16_cmpsetFunction · 0.70

Tested by 1

test_atomic_tasFunction · 0.40