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

Function tb_free_pool

dpdk/lib/acl/tb_mem.c:68–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68void
69tb_free_pool(struct tb_mem_pool *pool)
70{
71 struct tb_mem_block *next, *block;
72
73 for (block = pool->block; block != NULL; block = next) {
74 next = block->next;
75 free(block);
76 }
77 pool->block = NULL;
78 pool->alloc = 0;
79}

Callers 1

rte_acl_buildFunction · 0.85

Calls 1

freeFunction · 0.50

Tested by

no test coverage detected