Home
last modified time | relevance | path

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

/Zephyr-latest/tests/subsys/ipc/pbuf/src/
Dmain.c72 ret = pbuf_read(&pb, NULL, 0); in ZTEST()
75 ret = pbuf_read(&pb, read_buf, ret-1); in ZTEST()
78 ret = pbuf_read(&pb, read_buf, ret); in ZTEST()
84 ret = pbuf_read(&pb, NULL, 0); in ZTEST()
87 ret = pbuf_read(&pb, read_buf, ret); in ZTEST()
93 ret = pbuf_read(&pb, NULL, 0); in ZTEST()
100 ret = pbuf_read(&pb, NULL, 0); in ZTEST()
103 ret = pbuf_read(&pb, read_buf, ret); in ZTEST()
154 zassert_equal(pbuf_read(NULL, read_buf, 10), -EINVAL); in ZTEST()
166 zassert_equal(pbuf_read(&pb2, NULL, 1), 4); in ZTEST()
[all …]
/Zephyr-latest/include/zephyr/ipc/
Dpbuf.h224 int pbuf_read(struct pbuf *pb, char *buf, uint16_t len);
/Zephyr-latest/subsys/ipc/ipc_service/lib/
Dicmsg.c124 return pbuf_read(dev_data->rx_pb, NULL, 0); in data_available()
196 len = pbuf_read(dev_data->rx_pb, rx_buffer, sizeof(rx_buffer)); in mbox_callback_process()
Dpbuf.c179 int pbuf_read(struct pbuf *pb, char *buf, uint16_t len) in pbuf_read() function