Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/subsys/net/ip/
Dtp.c150 struct tp_nbuf *tp_nbuf = k_malloc(sizeof(struct tp_nbuf)); in tp_nbuf_alloc() local
157 tp_nbuf->nbuf = nbuf; in tp_nbuf_alloc()
158 tp_nbuf->file = file; in tp_nbuf_alloc()
159 tp_nbuf->line = line; in tp_nbuf_alloc()
161 sys_slist_append(&tp_nbufs, (sys_snode_t *) tp_nbuf); in tp_nbuf_alloc()
170 struct tp_nbuf *tb = k_malloc(sizeof(struct tp_nbuf)); in tp_nbuf_clone()
188 struct tp_nbuf *tp_nbuf; in tp_nbuf_unref() local
192 SYS_SLIST_FOR_EACH_CONTAINER(&tp_nbufs, tp_nbuf, next) { in tp_nbuf_unref()
193 if (tp_nbuf->nbuf == nbuf) { in tp_nbuf_unref()
201 sys_slist_find_and_remove(&tp_nbufs, (sys_snode_t *) tp_nbuf); in tp_nbuf_unref()
[all …]
Dtp_priv.h50 struct tp_nbuf { struct