Home
last modified time | relevance | path

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

/f-stack/dpdk/lib/librte_eal/common/
H A Dmalloc_elem.h21 struct malloc_elem { struct
23 struct malloc_elem *volatile prev; argument
25 struct malloc_elem *volatile next; argument
27 LIST_ENTRY(malloc_elem) free_list;
33 struct malloc_elem *orig_elem; argument
69 set_header(struct malloc_elem *elem) in set_header()
100 static inline struct malloc_elem *
120 struct malloc_elem *orig_elem,
138 struct malloc_elem *
147 struct malloc_elem *
[all …]
H A Dmalloc_elem.c151 struct malloc_elem *prev_elem, *next_elem; in malloc_elem_insert()
296 split_elem(struct malloc_elem *elem, struct malloc_elem *split_pt) in split_elem()
324 remove_elem(struct malloc_elem *elem) in remove_elem()
326 struct malloc_elem *next, *prev; in remove_elem()
432 struct malloc_elem *
446 struct malloc_elem *new_free_elem = in malloc_elem_alloc()
490 join_elem(struct malloc_elem *elem1, struct malloc_elem *elem2) in join_elem()
492 struct malloc_elem *next = elem2->next; in join_elem()
505 struct malloc_elem *
535 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;
85 malloc_heap_free(struct malloc_elem *elem);
88 malloc_heap_resize(struct malloc_elem *elem, size_t size);
H A Dmalloc_heap.c94 static struct malloc_elem *
98 struct malloc_elem *elem = start; in malloc_heap_add_memory()
153 static struct malloc_elem *
187 static struct malloc_elem *
239 struct malloc_elem *elem; in heap_alloc()
262 struct malloc_elem *elem; in heap_alloc_biggest()
292 struct malloc_elem *
299 struct malloc_elem *elem = NULL; in alloc_pages_on_heap()
392 struct malloc_elem *elem; in try_expand_heap_primary()
1032 struct malloc_elem *elem; in malloc_heap_get_stats()
[all …]
H A Dmalloc_mp.h77 struct malloc_elem *
84 struct malloc_elem *elem, void *map_addr, size_t map_len);
H A Dmeson.build32 'malloc_elem.c',
72 'malloc_elem.c',
H A Drte_malloc.c168 struct malloc_elem *elem = malloc_elem_from_data(ptr); in rte_realloc_socket()
215 const struct malloc_elem *elem = malloc_elem_from_data(ptr); in rte_malloc_validate()
363 struct malloc_elem *elem = malloc_elem_from_data(addr); in rte_malloc_virt2iova()
H A Dmalloc_mp.c48 struct malloc_elem *elem;
184 struct malloc_elem *elem; in handle_alloc_request()
H A Deal_common_memzone.c158 struct malloc_elem *elem = malloc_elem_from_data(mz_addr); in memzone_reserve_aligned_thread_unsafe()
/f-stack/dpdk/doc/guides/prog_guide/
H A Denv_abstraction_layer.rst785 * struct malloc_elem - the basic element of allocation and free-space
821 Structure: malloc_elem
824 The malloc_elem structure is used as a generic header structure for various
895 malloc heap. This setup involves placing an :ref:`element header<malloc_elem>`
917 struct malloc_elem header.
967 The size of the ``malloc_elem`` structure is subtracted from this pointer to get