Home
last modified time | relevance | path

Searched refs:rt_lwp_memheap (Results 1 – 3 of 3) sorted by relevance

/nrf52832-nimble/rt-thread/components/lwp/
H A Dlwp_memheap.h23 struct rt_lwp_memheap *pool_ptr; /**< point of pool */
35 struct rt_lwp_memheap struct
54 extern rt_err_t rt_lwp_memheap_init(struct rt_lwp_memheap *memheap, const char *name, void *start_a… argument
55 extern void *rt_lwp_memheap_alloc(struct rt_lwp_memheap *heap, rt_uint32_t size);
57 extern void *rt_lwp_memheap_realloc(struct rt_lwp_memheap *heap, void *ptr, rt_size_t newsize);
58 extern rt_bool_t rt_lwp_memheap_is_empty(struct rt_lwp_memheap *memheap);
H A Dlwp_mem.c36 struct rt_lwp_memheap *lwp_heap; in rt_lwp_malloc_page()
48 lwp_heap = rt_malloc(sizeof(struct rt_lwp_memheap)); in rt_lwp_malloc_page()
75 static void rt_lwp_free_page(struct rt_lwp *lwp, struct rt_lwp_memheap *lwp_heap) in rt_lwp_free_page()
110 struct rt_lwp_memheap *lwp_heap; in rt_lwp_mem_deinit()
112 lwp_heap = rt_list_entry(node, struct rt_lwp_memheap, mlist); in rt_lwp_mem_deinit()
137 struct rt_lwp_memheap *lwp_heap; in rt_lwp_mem_malloc()
138 lwp_heap = rt_list_entry(node, struct rt_lwp_memheap, mlist); in rt_lwp_mem_malloc()
158 struct rt_lwp_memheap *lwp_heap; in rt_lwp_mem_free()
H A Dlwp_memheap.c45 rt_err_t rt_lwp_memheap_init(struct rt_lwp_memheap *memheap, in rt_lwp_memheap_init()
116 void *rt_lwp_memheap_alloc(struct rt_lwp_memheap *heap, rt_uint32_t size) in rt_lwp_memheap_alloc()
260 void *rt_lwp_memheap_realloc(struct rt_lwp_memheap *heap, void *ptr, rt_size_t newsize) in rt_lwp_memheap_realloc()
470 struct rt_lwp_memheap *heap; in rt_lwp_memheap_free()
566 rt_bool_t rt_lwp_memheap_is_empty(struct rt_lwp_memheap *memheap) in rt_lwp_memheap_is_empty()