Searched refs:pbuf_write (Results 1 – 4 of 4) sorted by relevance
/Zephyr-Core-3.6.0/tests/subsys/ipc/pbuf/src/ |
D | main.c | 64 ret = pbuf_write(&pb, write_buf, MSGA_SZ); in ZTEST() 68 ret = pbuf_write(&pb, write_buf+MSGA_SZ, MSGB_SZ); in ZTEST() 97 ret = pbuf_write(&pb, write_buf, MPS); in ZTEST() 151 zassert_equal(pbuf_write(NULL, write_buf, 10), -EINVAL); in ZTEST() 152 zassert_equal(pbuf_write(&pb2, NULL, 10), -EINVAL); in ZTEST() 153 zassert_equal(pbuf_write(&pb2, write_buf, 0), -EINVAL); in ZTEST() 157 zassert_equal(pbuf_write(&pb2, write_buf, 5), -ENOMEM); in ZTEST() 160 zassert_equal(pbuf_write(&pb2, write_buf, 4), 4); in ZTEST() 163 zassert_equal(pbuf_write(&pb2, write_buf, 1), -ENOMEM); in ZTEST() 245 int ret = pbuf_write(ctx->pbuf, buf, len); in stress_write()
|
/Zephyr-Core-3.6.0/include/zephyr/ipc/ |
D | pbuf.h | 184 int pbuf_write(struct pbuf *pb, const char *buf, uint16_t len);
|
/Zephyr-Core-3.6.0/subsys/ipc/ipc_service/lib/ |
D | icmsg.c | 220 ret = pbuf_write(dev_data->tx_pb, magic, sizeof(magic)); in icmsg_open() 283 write_ret = pbuf_write(dev_data->tx_pb, msg, len); in icmsg_send()
|
D | pbuf.c | 80 int pbuf_write(struct pbuf *pb, const char *data, uint16_t len) in pbuf_write() function
|