Home
last modified time | relevance | path

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

/Zephyr-latest/tests/subsys/fs/littlefs/src/
Dtest_lfs_perf.c25 size_t nbuf) in write_read() argument
32 size_t total = nbuf * buf_size; in write_read()
79 nbuf, buf_size); in write_read()
88 for (size_t i = 0; i < nbuf; ++i) { in write_read()
116 tag, nbuf, buf_size, total, (t1 - t0), in write_read()
127 for (size_t i = 0; i < nbuf; ++i) { in write_read()
142 tag, nbuf, buf_size, total, (t1 - t0), in write_read()
164 size_t nbuf) in custom_write_test() argument
198 rv = write_read(tag, &lfs_mnt, buf_size, nbuf); in custom_write_test()
/Zephyr-latest/modules/nrf_wifi/os/
Dshim.c299 static void zep_shim_nbuf_free(void *nbuf) in zep_shim_nbuf_free() argument
301 if (!nbuf) { in zep_shim_nbuf_free()
305 zep_shim_data_mem_free(((struct nwb *)nbuf)->priv); in zep_shim_nbuf_free()
306 zep_shim_data_mem_free(nbuf); in zep_shim_nbuf_free()
309 static void zep_shim_nbuf_headroom_res(void *nbuf, unsigned int size) in zep_shim_nbuf_headroom_res() argument
311 struct nwb *nwb = (struct nwb *)nbuf; in zep_shim_nbuf_headroom_res()
318 static unsigned int zep_shim_nbuf_headroom_get(void *nbuf) in zep_shim_nbuf_headroom_get() argument
320 return ((struct nwb *)nbuf)->headroom; in zep_shim_nbuf_headroom_get()
323 static unsigned int zep_shim_nbuf_data_size(void *nbuf) in zep_shim_nbuf_data_size() argument
325 return ((struct nwb *)nbuf)->len; in zep_shim_nbuf_data_size()
[all …]
/Zephyr-latest/subsys/net/ip/
Dtp.c149 struct net_buf *nbuf = net_buf_alloc_len(pool, len, K_NO_WAIT); in tp_nbuf_alloc() local
153 tp_assert(nbuf, "Out of nbufs"); in tp_nbuf_alloc()
155 tp_dbg("size=%d %p %s:%d %s()", nbuf->size, nbuf, file, line, func); in tp_nbuf_alloc()
157 tp_nbuf->nbuf = nbuf; in tp_nbuf_alloc()
163 return nbuf; in tp_nbuf_alloc()
174 tb->nbuf = clone; in tp_nbuf_clone()
184 void tp_nbuf_unref(struct net_buf *nbuf, const char *file, int line, in tp_nbuf_unref() argument
190 tp_dbg("len=%d %p %s:%d %s()", nbuf->len, nbuf, file, line, func); in tp_nbuf_unref()
193 if (tp_nbuf->nbuf == nbuf) { in tp_nbuf_unref()
199 tp_assert(found, "Invalid %s(%p): %s:%d", __func__, nbuf, file, line); in tp_nbuf_unref()
[all …]
Dtp_priv.h52 struct net_buf *nbuf; member
Dtp.h139 void tp_nbuf_unref(struct net_buf *nbuf, const char *file, int line,
/Zephyr-latest/drivers/wifi/nrf_wifi/src/
Dnet_if.c360 void *nbuf = NULL; in nrf_wifi_if_send() local
387 nbuf = net_pkt_to_nbuf(pkt); in nrf_wifi_if_send()
388 if (!nbuf) { in nrf_wifi_if_send()
402 nbuf); in nrf_wifi_if_send()
412 nbuf); in nrf_wifi_if_send()
419 nrf_wifi_osal_nbuf_free(nbuf); in nrf_wifi_if_send()
/Zephyr-latest/doc/releases/
Drelease-notes-1.8.rst269 * ``ZEP-1886`` - Build warnings [-Wpointer-sign] with LLVM/icx (tests/net/nbuf)