Home
last modified time | relevance | path

Searched refs:rte_memseg_list (Results 1 – 25 of 43) sorted by relevance

12

/dpdk/lib/eal/include/
H A Drte_memory.h68 struct rte_memseg_list { struct
149 rte_mem_virt2memseg(const void *virt, const struct rte_memseg_list *msl);
159 struct rte_memseg_list *
169 typedef int (*rte_memseg_walk_t)(const struct rte_memseg_list *msl,
181 typedef int (*rte_memseg_contig_walk_t)(const struct rte_memseg_list *msl,
192 typedef int (*rte_memseg_list_walk_t)(const struct rte_memseg_list *msl,
/dpdk/lib/eal/common/
H A Dmalloc_heap.h50 struct rte_memseg_list *
55 struct rte_memseg_list *
59 malloc_heap_destroy_external_seg(struct rte_memseg_list *msl);
63 struct rte_memseg_list *msl);
H A Deal_common_memory.c315 static struct rte_memseg_list *
319 struct rte_memseg_list *msl; in virt2memseg_list()
337 struct rte_memseg_list *
671 struct rte_memseg_list *msl = &mcfg->memsegs[i]; in rte_memseg_contig_walk_thread_unsafe()
723 struct rte_memseg_list *msl = &mcfg->memsegs[i]; in rte_memseg_walk_thread_unsafe()
764 struct rte_memseg_list *msl = &mcfg->memsegs[i]; in rte_memseg_list_walk_thread_unsafe()
793 struct rte_memseg_list *msl; in rte_memseg_get_fd_thread_unsafe()
848 struct rte_memseg_list *msl; in rte_memseg_get_fd_offset_thread_unsafe()
950 struct rte_memseg_list *msl; in rte_extmem_unregister()
976 struct rte_memseg_list *msl; in sync_memory()
[all …]
H A Dmalloc_heap.c111 struct rte_memseg_list *found_msl; in malloc_add_seg()
299 struct rte_memseg_list *msl; in alloc_pages_on_heap()
522 const struct rte_memseg_list *msla = *mpa; in compare_pagesz()
523 const struct rte_memseg_list *mslb = *mpb; in compare_pagesz()
834 struct rte_memseg_list *msl; in malloc_heap_free_pages()
861 struct rte_memseg_list *msl; in malloc_heap_free()
1172 struct rte_memseg_list *
1179 struct rte_memseg_list *msl = NULL; in malloc_heap_create_external_seg()
1238 struct rte_memseg_list *msl;
1258 struct rte_memseg_list *
[all …]
H A Deal_private.h267 eal_memseg_list_init_named(struct rte_memseg_list *msl, const char *name,
280 eal_memseg_list_init(struct rte_memseg_list *msl, uint64_t page_sz,
295 eal_memseg_list_alloc(struct rte_memseg_list *msl, int reserve_flags);
308 eal_memseg_list_populate(struct rte_memseg_list *msl, void *addr, int n_segs);
H A Deal_memcfg.h49 struct rte_memseg_list memsegs[RTE_MAX_MEMSEG_LISTS];
H A Deal_memalloc.h50 eal_memalloc_is_contig(const struct rte_memseg_list *msl, void *start,
H A Dmalloc_elem.h31 struct rte_memseg_list *msl;
324 struct rte_memseg_list *msl,
H A Drte_malloc.c410 struct rte_memseg_list *msl; in rte_malloc_heap_memory_add()
464 struct rte_memseg_list *msl; in rte_malloc_heap_memory_remove()
513 struct rte_memseg_list *msl; in sync_memory()
H A Deal_common_dynmem.c28 struct rte_memseg_list *msl; in eal_dynmem_memseg_lists_init()
206 hugepage_count_walk(const struct rte_memseg_list *msl, void *arg) in hugepage_count_walk()
H A Dmalloc_elem.c125 struct rte_memseg_list *msl, size_t size, in malloc_elem_init()
207 elem_check_phys_contig(const struct rte_memseg_list *msl, in elem_check_phys_contig()
/dpdk/lib/eal/linux/
H A Deal_memalloc.c814 alloc_seg_walk(const struct rte_memseg_list *msl, void *arg) in alloc_seg_walk()
818 struct rte_memseg_list *cur_msl; in alloc_seg_walk()
949 free_seg_walk(const struct rte_memseg_list *msl, void *arg) in free_seg_walk()
952 struct rte_memseg_list *found_msl; in free_seg_walk()
1156 sync_chunk(struct rte_memseg_list *primary_msl, in sync_chunk()
1253 sync_status(struct rte_memseg_list *primary_msl, in sync_status()
1334 sync_existing(struct rte_memseg_list *primary_msl, in sync_existing()
1384 struct rte_memseg_list *primary_msl, *local_msl; in sync_walk()
1438 struct rte_memseg_list *primary_msl, *local_msl; in secondary_msl_create_walk()
1471 struct rte_memseg_list *local_msl; in secondary_msl_destroy_walk()
[all …]
H A Deal_memory.c659 struct rte_memseg_list *msl;
807 memseg_list_free(struct rte_memseg_list *msl)
855 struct rte_memseg_list *msl;
1124 struct rte_memseg_list *msl;
1439 struct rte_memseg_list *msl = &mcfg->memsegs[i];
1541 struct rte_memseg_list *msl;
1673 struct rte_memseg_list *msl;
1871 struct rte_memseg_list *msl;
H A Deal_vfio.c609 struct rte_memseg_list *msl; in vfio_mem_event_callback()
1373 type1_map_contig(const struct rte_memseg_list *msl, const struct rte_memseg *ms, in type1_map_contig()
1386 type1_map(const struct rte_memseg_list *msl, const struct rte_memseg *ms, in type1_map()
1560 vfio_spapr_map_walk(const struct rte_memseg_list *msl, in vfio_spapr_map_walk()
1589 vfio_spapr_size_walk(const struct rte_memseg_list *msl, void *arg) in vfio_spapr_size_walk()
/dpdk/lib/eal/freebsd/
H A Deal_memory.c68 struct rte_memseg_list *msl; in rte_eal_hugepage_init()
117 struct rte_memseg_list *msl; in rte_eal_hugepage_init()
233 attach_segment(const struct rte_memseg_list *msl, const struct rte_memseg *ms, in attach_segment()
323 memseg_list_alloc(struct rte_memseg_list *msl) in memseg_list_alloc()
338 struct rte_memseg_list *msl; in memseg_primary_init()
443 struct rte_memseg_list *msl; in memseg_secondary_init()
/dpdk/drivers/common/mlx5/
H A Dmlx5_malloc.c19 struct rte_memseg_list *last_msl;
69 mlx5_mem_check_msl(void *addr, struct rte_memseg_list *msl) in mlx5_mem_check_msl()
96 (struct rte_memseg_list *)__atomic_load_n in mlx5_mem_update_msl()
124 if (!mlx5_mem_check_msl(addr, (struct rte_memseg_list *) in mlx5_mem_is_rte()
H A Dmlx5_common_mr.c26 const struct rte_memseg_list *msl;
359 const struct rte_memseg_list *msl; in mr_find_next_chunk()
573 mr_find_contig_memsegs_cb(const struct rte_memseg_list *msl, in mr_find_contig_memsegs_cb()
660 const struct rte_memseg_list *msl; in mlx5_mr_create_primary()
1168 const struct rte_memseg_list *msl; in mlx5_free_mr_by_addr()
1333 struct rte_memseg_list *msl; in mlx5_mempool_get_extmem_cb()
1468 struct rte_memseg_list *msl; in mlx5_mempool_reg_analyze()
H A Dmlx5_common_mr.h43 const struct rte_memseg_list *msl;
/dpdk/app/test/
H A Dtest_memory.c34 check_mem(const struct rte_memseg_list *msl __rte_unused, in check_mem()
46 check_seg_fds(const struct rte_memseg_list *msl, const struct rte_memseg *ms, in check_seg_fds()
/dpdk/lib/eal/windows/
H A Deal_memalloc.c179 alloc_seg_walk(const struct rte_memseg_list *msl, void *arg) in alloc_seg_walk()
183 struct rte_memseg_list *cur_msl; in alloc_seg_walk()
280 free_seg_walk(const struct rte_memseg_list *msl, void *arg) in free_seg_walk()
283 struct rte_memseg_list *found_msl; in free_seg_walk()
/dpdk/drivers/net/mlx4/
H A Dmlx4_mr.h36 const struct rte_memseg_list *msl;
H A Dmlx4_mr.c44 const struct rte_memseg_list *msl;
311 const struct rte_memseg_list *msl; in mr_find_next_chunk()
514 mr_find_contig_memsegs_cb(const struct rte_memseg_list *msl, in mr_find_contig_memsegs_cb()
595 const struct rte_memseg_list *msl; in mlx4_mr_create_primary()
896 const struct rte_memseg_list *msl; in mlx4_mr_mem_event_free_cb()
/dpdk/drivers/common/dpaax/
H A Ddpaax_iova_table.c394 struct rte_memseg_list *msl; in dpaax_memevent_cb()
440 dpaax_memevent_walk_memsegs(const struct rte_memseg_list *msl __rte_unused, in dpaax_memevent_walk_memsegs()
/dpdk/drivers/net/virtio/virtio_user/
H A Dvhost_vdpa.c316 vhost_vdpa_map_contig(const struct rte_memseg_list *msl, in vhost_vdpa_map_contig()
328 vhost_vdpa_map(const struct rte_memseg_list *msl, const struct rte_memseg *ms, in vhost_vdpa_map()
/dpdk/drivers/bus/fslmc/
H A Dfslmc_vfio.c210 struct rte_memseg_list *msl; in fslmc_memevent_cb()
347 fslmc_dmamap_seg(const struct rte_memseg_list *msl __rte_unused, in fslmc_dmamap_seg()

12