Lines Matching defs:pb
62 static uint32_t *get_rd_idx_loc(struct spsc_pbuf *pb, uint32_t flags) in get_rd_idx_loc()
67 static uint32_t *get_wr_idx_loc(struct spsc_pbuf *pb, uint32_t flags) in get_wr_idx_loc()
77 static uint8_t *get_data_loc(struct spsc_pbuf *pb, uint32_t flags) in get_data_loc()
119 struct spsc_pbuf *pb = buf; in spsc_pbuf_init() local
136 int spsc_pbuf_alloc(struct spsc_pbuf *pb, uint16_t len, char **buf) in spsc_pbuf_alloc()
201 void spsc_pbuf_commit(struct spsc_pbuf *pb, uint16_t len) in spsc_pbuf_commit()
228 int spsc_pbuf_write(struct spsc_pbuf *pb, const char *buf, uint16_t len) in spsc_pbuf_write()
249 uint16_t spsc_pbuf_claim(struct spsc_pbuf *pb, char **buf) in spsc_pbuf_claim()
319 void spsc_pbuf_free(struct spsc_pbuf *pb, uint16_t len) in spsc_pbuf_free()
352 int spsc_pbuf_read(struct spsc_pbuf *pb, char *buf, uint16_t len) in spsc_pbuf_read()
376 int spsc_pbuf_get_utilization(struct spsc_pbuf *pb) in spsc_pbuf_get_utilization()