Lines Matching refs:pbuf
415 struct spsc_pbuf *pbuf; member
430 len = spsc_pbuf_read(ctx->pbuf, buf, (uint16_t)sizeof(buf)); in stress_read()
457 if (spsc_pbuf_write(ctx->pbuf, buf, len) == len) { in stress_write()
473 ctx.pbuf = spsc_pbuf_init(buffer, sizeof(buffer), 0); in ZTEST()
474 ctx.capacity = spsc_pbuf_capacity(ctx.pbuf); in ZTEST()
496 len = spsc_pbuf_claim(ctx->pbuf, &buf); in stress_claim_free()
504 spsc_pbuf_free(ctx->pbuf, len); in stress_claim_free()
522 err = spsc_pbuf_alloc(ctx->pbuf, len, &buf); in stress_alloc_commit()
530 spsc_pbuf_commit(ctx->pbuf, len); in stress_alloc_commit()
545 ctx.pbuf = spsc_pbuf_init(buffer, sizeof(buffer), 0); in ZTEST()
546 ctx.capacity = spsc_pbuf_capacity(ctx.pbuf); in ZTEST()