Lines Matching refs:total_size
61 uint32_t total_size = 0U; in ring_buf_put() local
67 total_size += partial_size; in ring_buf_put()
72 err = ring_buf_put_finish(buf, total_size); in ring_buf_put()
76 return total_size; in ring_buf_put()
128 uint32_t total_size = 0U; in ring_buf_get() local
137 total_size += partial_size; in ring_buf_get()
141 err = ring_buf_get_finish(buf, total_size); in ring_buf_get()
145 return total_size; in ring_buf_get()
152 uint32_t total_size = 0U; in ring_buf_peek() local
162 total_size += partial_size; in ring_buf_peek()
171 return total_size; in ring_buf_peek()
191 uint32_t space, size, partial_size, total_size; in ring_buf_item_put() local
207 total_size = sizeof(struct ring_element); in ring_buf_item_put()
213 total_size += partial_size; in ring_buf_item_put()
218 err = ring_buf_put_finish(buf, total_size); in ring_buf_item_put()
230 uint32_t size, partial_size, total_size; in ring_buf_item_get() local
251 total_size = sizeof(struct ring_element); in ring_buf_item_get()
261 total_size += partial_size; in ring_buf_item_get()
265 err = ring_buf_get_finish(buf, total_size); in ring_buf_item_get()