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

Function elem_check_phys_contig

dpdk/lib/eal/common/malloc_elem.c:206–211  ·  view source on GitHub ↗

* Attempt to find enough physically contiguous memory in this block to store * our data. Assume that element has at least enough space to fit in the data, * so we just check the page addresses. */

Source from the content-addressed store, hash-verified

204 * so we just check the page addresses.
205 */
206static bool
207elem_check_phys_contig(const struct rte_memseg_list *msl,
208 void *start, size_t size)
209{
210 return eal_memalloc_is_contig(msl, start, size);
211}
212
213/*
214 * calculate the starting point of where data of the requested size

Callers 1

elem_start_ptFunction · 0.85

Calls 1

eal_memalloc_is_contigFunction · 0.85

Tested by

no test coverage detected