Home
last modified time | relevance | path

Searched refs:msl_idx (Results 1 – 7 of 7) sorted by relevance

/f-stack/dpdk/lib/librte_eal/freebsd/
H A Deal_memory.c120 int msl_idx, ms_idx; in rte_eal_hugepage_init() local
143 for (msl_idx = 0; msl_idx < RTE_MAX_MEMSEG_LISTS; in rte_eal_hugepage_init()
144 msl_idx++) { in rte_eal_hugepage_init()
146 msl = &mcfg->memsegs[msl_idx]; in rte_eal_hugepage_init()
174 if (msl_idx == RTE_MAX_MEMSEG_LISTS) { in rte_eal_hugepage_init()
337 int hpi_idx, msl_idx = 0; in memseg_primary_init() local
405 if (msl_idx >= RTE_MAX_MEMSEG_LISTS) { in memseg_primary_init()
412 msl = &mcfg->memsegs[msl_idx++]; in memseg_primary_init()
442 int msl_idx = 0; in memseg_secondary_init() local
445 for (msl_idx = 0; msl_idx < RTE_MAX_MEMSEG_LISTS; msl_idx++) { in memseg_secondary_init()
[all …]
/f-stack/dpdk/lib/librte_eal/linux/
H A Deal_memalloc.c799 unsigned int msl_idx, need, i; in alloc_seg_walk() local
810 msl_idx = msl - mcfg->memsegs; in alloc_seg_walk()
876 msl_idx, cur_idx)) { in alloc_seg_walk()
944 msl_idx = msl - mcfg->memsegs; in free_seg_walk()
1194 msl_idx, seg_idx); in sync_chunk()
1314 unsigned int msl_idx) in sync_existing() argument
1365 int msl_idx; in sync_walk() local
1372 msl_idx = msl - mcfg->memsegs; in sync_walk()
1418 int msl_idx, ret; in secondary_msl_create_walk() local
1423 msl_idx = msl - mcfg->memsegs; in secondary_msl_create_walk()
[all …]
H A Deal_memory.c671 unsigned int msl_idx; local
688 for (msl_idx = 0; msl_idx < RTE_MAX_MEMSEG_LISTS; msl_idx++) {
690 msl = &mcfg->memsegs[msl_idx];
841 int msl_idx; local
956 for (msl_idx = 0; msl_idx < RTE_MAX_MEMSEG_LISTS;
957 msl_idx++) {
972 socket, msl_idx, true) < 0)
1549 int msl_idx, ms_idx; local
1855 msl_idx++;
1879 int msl_idx = 0; local
[all …]
/f-stack/dpdk/lib/librte_eal/common/
H A Deal_common_memory.c311 int msl_idx; in virt2memseg_list() local
313 for (msl_idx = 0; msl_idx < RTE_MAX_MEMSEG_LISTS; msl_idx++) { in virt2memseg_list()
315 msl = &mcfg->memsegs[msl_idx]; in virt2memseg_list()
422 int msl_idx, ms_idx, fd; in dump_memseg() local
425 msl_idx = msl - mcfg->memsegs; in dump_memseg()
426 if (msl_idx < 0 || msl_idx >= RTE_MAX_MEMSEG_LISTS) in dump_memseg()
438 msl_idx, ms_idx, in dump_memseg()
786 int msl_idx, seg_idx, ret; in rte_memseg_get_fd_thread_unsafe() local
800 msl_idx = msl - mcfg->memsegs; in rte_memseg_get_fd_thread_unsafe()
841 int msl_idx, seg_idx, ret; in rte_memseg_get_fd_offset_thread_unsafe() local
[all …]
H A Deal_common_dynmem.c27 int i, hpi_idx, msl_idx, ret = -1; /* fail unless told to succeed */ in eal_dynmem_memseg_lists_init() local
128 msl_idx = 0; in eal_dynmem_memseg_lists_init()
180 if (msl_idx >= RTE_MAX_MEMSEG_LISTS) { in eal_dynmem_memseg_lists_init()
186 msl = &mcfg->memsegs[msl_idx++]; in eal_dynmem_memseg_lists_init()
H A Dmalloc_heap.c118 int msl_idx, heap_idx; in malloc_add_seg() local
131 msl_idx = msl - mcfg->memsegs; in malloc_add_seg()
133 if (msl_idx < 0 || msl_idx >= RTE_MAX_MEMSEG_LISTS) in malloc_add_seg()
136 found_msl = &mcfg->memsegs[msl_idx]; in malloc_add_seg()
/f-stack/dpdk/lib/librte_eal/windows/
H A Deal_memalloc.c192 unsigned int msl_idx, need, i; in alloc_seg_walk() local
201 msl_idx = msl - mcfg->memsegs; in alloc_seg_walk()
202 cur_msl = &mcfg->memsegs[msl_idx]; in alloc_seg_walk()
292 int msl_idx, seg_idx, ret; in free_seg_walk() local
301 msl_idx = msl - mcfg->memsegs; in free_seg_walk()
305 found_msl = &mcfg->memsegs[msl_idx]; in free_seg_walk()