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

Function rte_timer_data_dealloc

dpdk/lib/timer/rte_timer.c:111–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111int
112rte_timer_data_dealloc(uint32_t id)
113{
114 struct rte_timer_data *timer_data;
115 TIMER_DATA_VALID_GET_OR_ERR_RET(id, timer_data, -EINVAL);
116
117 timer_data->internal_flags &= ~(FL_ALLOCATED);
118
119 return 0;
120}
121
122/* Init the timer library. Allocate an array of timer data structs in shared
123 * memory, and allocate the zeroth entry for use with original timer

Callers 1

swtim_uninitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected