Home
last modified time | relevance | path

Searched refs:malloc_elem (Results 1 – 10 of 10) sorted by relevance

/dpdk/lib/eal/common/
H A Dmalloc_elem.h23 struct malloc_elem { struct
25 struct malloc_elem *volatile prev; argument
27 struct malloc_elem *volatile next; argument
29 LIST_ENTRY(malloc_elem) free_list;
41 struct malloc_elem *orig_elem; argument
87 set_header(struct malloc_elem *elem) in set_header()
306 static inline struct malloc_elem *
326 struct malloc_elem *orig_elem,
345 struct malloc_elem *
354 struct malloc_elem *
[all …]
H A Dmalloc_elem.c146 struct malloc_elem *prev_elem, *next_elem; in malloc_elem_insert()
291 split_elem(struct malloc_elem *elem, struct malloc_elem *split_pt) in split_elem()
319 remove_elem(struct malloc_elem *elem) in remove_elem()
321 struct malloc_elem *next, *prev; in remove_elem()
427 struct malloc_elem *
441 struct malloc_elem *new_free_elem = in malloc_elem_alloc()
495 join_elem(struct malloc_elem *elem1, struct malloc_elem *elem2) in join_elem()
497 struct malloc_elem *next = elem2->next; in join_elem()
511 struct malloc_elem *
541 struct malloc_elem *new_elem; in malloc_elem_join_adjacent_free()
[all …]
H A Dmalloc_heap.h19 struct malloc_elem;
26 LIST_HEAD(, malloc_elem) free_head[RTE_HEAP_NUM_FREELISTS];
27 struct malloc_elem *volatile first;
28 struct malloc_elem *volatile last;
70 malloc_heap_free(struct malloc_elem *elem);
73 malloc_heap_resize(struct malloc_elem *elem, size_t size);
H A Dmalloc_heap.c89 static struct malloc_elem *
93 struct malloc_elem *elem = start; in malloc_heap_add_memory()
149 static struct malloc_elem *
183 static struct malloc_elem *
235 struct malloc_elem *elem; in heap_alloc()
261 struct malloc_elem *elem; in heap_alloc_biggest()
293 struct malloc_elem *
300 struct malloc_elem *elem = NULL; in alloc_pages_on_heap()
398 struct malloc_elem *elem; in try_expand_heap_primary()
1101 struct malloc_elem *elem; in malloc_heap_get_stats()
[all …]
H A Dmalloc_mp.h78 struct malloc_elem *
85 struct malloc_elem *elem, void *map_addr, size_t map_len);
H A Drte_malloc.c114 struct malloc_elem *elem = malloc_elem_from_data(ptr); in rte_zmalloc_socket()
172 struct malloc_elem *elem = malloc_elem_from_data(ptr); in rte_realloc_socket()
224 const struct malloc_elem *elem = malloc_elem_from_data(ptr); in rte_malloc_validate()
372 struct malloc_elem *elem = malloc_elem_from_data(addr); in rte_malloc_virt2iova()
H A Dmeson.build33 'malloc_elem.c',
H A Dmalloc_mp.c48 struct malloc_elem *elem;
221 struct malloc_elem *elem; in handle_alloc_request()
H A Deal_common_memzone.c171 struct malloc_elem *elem = malloc_elem_from_data(mz_addr); in memzone_reserve_aligned_thread_unsafe()
/dpdk/doc/guides/prog_guide/
H A Denv_abstraction_layer.rst875 * struct malloc_elem - the basic element of allocation and free-space
911 Structure: malloc_elem
914 The malloc_elem structure is used as a generic header structure for various
990 malloc heap. This setup involves placing an :ref:`element header<malloc_elem>`
1012 struct malloc_elem header.
1062 The size of the ``malloc_elem`` structure is subtracted from this pointer to get