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

Function eal_memalloc_free_seg

dpdk/lib/eal/linux/eal_memalloc.c:1142–1153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1140}
1141
1142int
1143eal_memalloc_free_seg(struct rte_memseg *ms)
1144{
1145 const struct internal_config *internal_conf =
1146 eal_get_internal_configuration();
1147
1148 /* dynamic free not supported in legacy mode */
1149 if (internal_conf->legacy_mem)
1150 return -1;
1151
1152 return eal_memalloc_free_seg_bulk(&ms, 1);
1153}
1154
1155static int
1156sync_chunk(struct rte_memseg_list *primary_msl,

Callers 1

malloc_heap_free_pagesFunction · 0.50

Calls 2

Tested by

no test coverage detected