Home
last modified time | relevance | path

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

/Zephyr-latest/modules/nrf_wifi/os/
Dshim.c214 struct nwb *nbuff; in zep_shim_nbuf_alloc() local
216 nbuff = (struct nwb *)k_calloc(sizeof(struct nwb), sizeof(char)); in zep_shim_nbuf_alloc()
218 if (!nbuff) { in zep_shim_nbuf_alloc()
222 nbuff->priv = k_calloc(size, sizeof(char)); in zep_shim_nbuf_alloc()
224 if (!nbuff->priv) { in zep_shim_nbuf_alloc()
225 k_free(nbuff); in zep_shim_nbuf_alloc()
229 nbuff->data = (unsigned char *)nbuff->priv; in zep_shim_nbuf_alloc()
230 nbuff->tail = nbuff->data; in zep_shim_nbuf_alloc()
231 nbuff->len = 0; in zep_shim_nbuf_alloc()
232 nbuff->headroom = 0; in zep_shim_nbuf_alloc()
[all …]