Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
55
static 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
60
static inline void
61
rte_atomic16_inc(rte_atomic16_t *v)
Callers
6
dpaa2_get_qbman_swp
Function · 0.50
rte_dpaa2_alloc_dpci_dev
Function · 0.50
dpaa2_alloc_dpbp_dev
Function · 0.50
qman_alloc_global_portal
Function · 0.50
rte_dpaa2_alloc_dpcon_dev
Function · 0.50
test_atomic_tas
Function · 0.50
Calls
1
rte_atomic16_cmpset
Function · 0.70
Tested by
1
test_atomic_tas
Function · 0.40