* 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. */
| 204 | * so we just check the page addresses. |
| 205 | */ |
| 206 | static bool |
| 207 | elem_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 |
no test coverage detected