Home
last modified time | relevance | path

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

12

/f-stack/dpdk/lib/librte_eal/include/
H A Drte_memory.h64 struct rte_memseg_list { struct
147 rte_mem_virt2memseg(const void *virt, const struct rte_memseg_list *msl);
158 struct rte_memseg_list *
168 typedef int (*rte_memseg_walk_t)(const struct rte_memseg_list *msl,
180 typedef int (*rte_memseg_contig_walk_t)(const struct rte_memseg_list *msl,
191 typedef int (*rte_memseg_list_walk_t)(const struct rte_memseg_list *msl,
/f-stack/dpdk/lib/librte_eal/common/
H A Deal_common_memory.c306 static struct rte_memseg_list *
310 struct rte_memseg_list *msl; in virt2memseg_list()
328 struct rte_memseg_list *
339 find_virt(const struct rte_memseg_list *msl __rte_unused, in find_virt()
662 struct rte_memseg_list *msl = &mcfg->memsegs[i]; in rte_memseg_contig_walk_thread_unsafe()
714 struct rte_memseg_list *msl = &mcfg->memsegs[i]; in rte_memseg_walk_thread_unsafe()
755 struct rte_memseg_list *msl = &mcfg->memsegs[i]; in rte_memseg_list_walk_thread_unsafe()
784 struct rte_memseg_list *msl; in rte_memseg_get_fd_thread_unsafe()
839 struct rte_memseg_list *msl; in rte_memseg_get_fd_offset_thread_unsafe()
941 struct rte_memseg_list *msl; in rte_extmem_unregister()
[all …]
H A Dmalloc_heap.h65 struct rte_memseg_list *
70 struct rte_memseg_list *
74 malloc_heap_destroy_external_seg(struct rte_memseg_list *msl);
78 struct rte_memseg_list *msl);
H A Dmalloc_heap.c116 struct rte_memseg_list *found_msl; in malloc_add_seg()
298 struct rte_memseg_list *msl; in alloc_pages_on_heap()
515 const struct rte_memseg_list *msla = *mpa; in compare_pagesz()
516 const struct rte_memseg_list *mslb = *mpb; in compare_pagesz()
807 struct rte_memseg_list *msl; in malloc_heap_free_pages()
834 struct rte_memseg_list *msl; in malloc_heap_free()
1103 struct rte_memseg_list *
1110 struct rte_memseg_list *msl = NULL; in malloc_heap_create_external_seg()
1169 struct rte_memseg_list *msl;
1189 struct rte_memseg_list *
[all …]
H A Deal_private.h278 eal_memseg_list_init_named(struct rte_memseg_list *msl, const char *name,
291 eal_memseg_list_init(struct rte_memseg_list *msl, uint64_t page_sz,
306 eal_memseg_list_alloc(struct rte_memseg_list *msl, int reserve_flags);
319 eal_memseg_list_populate(struct rte_memseg_list *msl, void *addr, int n_segs);
H A Dmalloc_elem.h29 struct rte_memseg_list *msl;
118 struct rte_memseg_list *msl,
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 Drte_malloc.c401 struct rte_memseg_list *msl; in rte_malloc_heap_memory_add()
455 struct rte_memseg_list *msl; in rte_malloc_heap_memory_remove()
504 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.c131 struct rte_memseg_list *msl, size_t size, in malloc_elem_init()
212 elem_check_phys_contig(const struct rte_memseg_list *msl, in elem_check_phys_contig()
/f-stack/dpdk/lib/librte_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()
/f-stack/dpdk/drivers/common/mlx5/
H A Dmlx5_malloc.c18 struct rte_memseg_list *last_msl;
68 mlx5_mem_check_msl(void *addr, struct rte_memseg_list *msl) in mlx5_mem_check_msl()
95 (struct rte_memseg_list *)__atomic_load_n in mlx5_mem_update_msl()
123 if (!mlx5_mem_check_msl(addr, (struct rte_memseg_list *) in mlx5_mem_is_rte()
H A Dmlx5_common_mr.c21 const struct rte_memseg_list *msl;
286 const struct rte_memseg_list *msl; in mr_find_next_chunk()
501 mr_find_contig_memsegs_cb(const struct rte_memseg_list *msl, in mr_find_contig_memsegs_cb()
593 const struct rte_memseg_list *msl; in mlx5_mr_create_primary()
H A Dmlx5_common_mr.h44 const struct rte_memseg_list *msl;
/f-stack/dpdk/app/test/
H A Dtest_memory.c28 check_mem(const struct rte_memseg_list *msl __rte_unused, in check_mem()
40 check_seg_fds(const struct rte_memseg_list *msl, const struct rte_memseg *ms, in check_seg_fds()
/f-stack/dpdk/lib/librte_eal/linux/
H A Deal_memalloc.c792 alloc_seg_walk(const struct rte_memseg_list *msl, void *arg) in alloc_seg_walk()
796 struct rte_memseg_list *cur_msl; in alloc_seg_walk()
927 free_seg_walk(const struct rte_memseg_list *msl, void *arg) in free_seg_walk()
930 struct rte_memseg_list *found_msl; in free_seg_walk()
1134 sync_chunk(struct rte_memseg_list *primary_msl, in sync_chunk()
1231 sync_status(struct rte_memseg_list *primary_msl, in sync_status()
1312 sync_existing(struct rte_memseg_list *primary_msl, in sync_existing()
1362 struct rte_memseg_list *primary_msl, *local_msl; in sync_walk()
1412 secondary_msl_create_walk(const struct rte_memseg_list *msl, in secondary_msl_create_walk()
1416 struct rte_memseg_list *primary_msl, *local_msl; in secondary_msl_create_walk()
[all …]
H A Deal_memory.c668 struct rte_memseg_list *msl;
816 memseg_list_free(struct rte_memseg_list *msl)
864 struct rte_memseg_list *msl;
1133 struct rte_memseg_list *msl;
1448 struct rte_memseg_list *msl = &mcfg->memsegs[i];
1550 struct rte_memseg_list *msl;
1682 struct rte_memseg_list *msl;
1880 struct rte_memseg_list *msl;
H A Deal_vfio.c521 struct rte_memseg_list *msl; in vfio_mem_event_callback()
1313 type1_map_contig(const struct rte_memseg_list *msl, const struct rte_memseg *ms, in type1_map_contig()
1326 type1_map(const struct rte_memseg_list *msl, const struct rte_memseg *ms, in type1_map()
1494 vfio_spapr_map_walk(const struct rte_memseg_list *msl, in vfio_spapr_map_walk()
1523 vfio_spapr_size_walk(const struct rte_memseg_list *msl, void *arg) in vfio_spapr_size_walk()
/f-stack/dpdk/lib/librte_eal/windows/
H A Deal_memalloc.c185 alloc_seg_walk(const struct rte_memseg_list *msl, void *arg) in alloc_seg_walk()
189 struct rte_memseg_list *cur_msl; in alloc_seg_walk()
286 free_seg_walk(const struct rte_memseg_list *msl, void *arg) in free_seg_walk()
289 struct rte_memseg_list *found_msl; in free_seg_walk()
/f-stack/dpdk/drivers/net/virtio/virtio_user/
H A Dvhost_vdpa.c127 vhost_vdpa_map_contig(const struct rte_memseg_list *msl, in vhost_vdpa_map_contig()
139 vhost_vdpa_map(const struct rte_memseg_list *msl, const struct rte_memseg *ms, in vhost_vdpa_map()
/f-stack/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()
515 mr_find_contig_memsegs_cb(const struct rte_memseg_list *msl, in mr_find_contig_memsegs_cb()
596 const struct rte_memseg_list *msl; in mlx4_mr_create_primary()
897 const struct rte_memseg_list *msl; in mlx4_mr_mem_event_free_cb()
/f-stack/dpdk/drivers/common/dpaax/
H A Ddpaax_iova_table.c392 struct rte_memseg_list *msl; in dpaax_memevent_cb()
438 dpaax_memevent_walk_memsegs(const struct rte_memseg_list *msl __rte_unused, in dpaax_memevent_walk_memsegs()
/f-stack/dpdk/drivers/net/mlx5/
H A Dmlx5_mr.c23 const struct rte_memseg_list *msl;
54 const struct rte_memseg_list *msl; in mlx5_mr_mem_event_free_cb()

12