Home
last modified time | relevance | path

Searched refs:tp_mem (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.6.0/subsys/net/ip/
Dtp.c15 static sys_slist_t tp_mem = SYS_SLIST_STATIC_INIT(&tp_mem); variable
48 struct tp_mem *mem = k_malloc(sizeof(struct tp_mem) + size + in tp_malloc()
62 sys_slist_append(&tp_mem, (sys_snode_t *) mem); in tp_malloc()
86 void tp_mem_chk(struct tp_mem *mem) in tp_mem_chk()
112 struct tp_mem *mem = (void *)((uint8_t *) ptr - sizeof(struct tp_mem)); in tp_free()
116 if (!sys_slist_find_and_remove(&tp_mem, (sys_snode_t *) mem)) { in tp_free()
121 memset(mem, 0, sizeof(tp_mem) + mem->size + sizeof(*mem->footer)); in tp_free()
138 struct tp_mem *mem; in tp_mem_stat()
140 SYS_SLIST_FOR_EACH_CONTAINER(&tp_mem, mem, next) { in tp_mem_stat()
Dtp_priv.h39 struct tp_mem { struct