Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/F-Stack/f-stack
/ rte_atomic32_test_and_set
Function
rte_atomic32_test_and_set
dpdk/lib/eal/ppc/include/rte_atomic.h:97–100 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
95
}
96
97
static inline int rte_atomic32_test_and_set(rte_atomic32_t *v)
98
{
99
return rte_atomic32_cmpset((volatile uint32_t *)&v->cnt, 0, 1);
100
}
101
102
static inline void
103
rte_atomic32_inc(rte_atomic32_t *v)
Callers
2
sfc_schedule_restart
Function · 0.50
test_atomic_tas
Function · 0.50
Calls
1
rte_atomic32_cmpset
Function · 0.70
Tested by
1
test_atomic_tas
Function · 0.40