Lines Matching refs:idx_inc
128 static inline uint32_t idx_inc(struct mpsc_pbuf_buffer *buffer, in idx_inc() function
152 buffer->tmp_wr_idx = idx_inc(buffer, buffer->tmp_wr_idx, wlen); in tmp_wr_idx_inc()
160 buffer->rd_idx = idx_inc(buffer, buffer->rd_idx, wlen); in rd_idx_inc()
172 buffer->wr_idx = idx_inc(buffer, buffer->wr_idx, wlen); in add_skip_item()
215 buffer->wr_idx = idx_inc(buffer, buffer->wr_idx, rd_wlen); in drop_item_locked()
221 buffer->tmp_rd_idx = idx_inc(buffer, buffer->tmp_rd_idx, rd_wlen); in drop_item_locked()
250 buffer->tmp_wr_idx = idx_inc(buffer, buffer->tmp_wr_idx, *tmp_wr_idx_shift); in drop_item_locked()
265 uint32_t cmp_tmp_wr_idx = idx_inc(buffer, prev_tmp_wr_idx, tmp_wr_idx_shift); in post_drop_action()
284 buffer->wr_idx = idx_inc(buffer, in post_drop_action()
316 buffer->wr_idx = idx_inc(buffer, buffer->wr_idx, 1); in mpsc_pbuf_put_word()
418 buffer->wr_idx = idx_inc(buffer, buffer->wr_idx, wlen); in mpsc_pbuf_commit()
456 buffer->wr_idx = idx_inc(buffer, buffer->wr_idx, l); in mpsc_pbuf_put_word_ext()
505 buffer->wr_idx = idx_inc(buffer, buffer->wr_idx, wlen); in mpsc_pbuf_put_data()
557 idx_inc(buffer, buffer->tmp_rd_idx, inc); in mpsc_pbuf_claim()
563 idx_inc(buffer, buffer->tmp_rd_idx, in mpsc_pbuf_claim()
596 buffer->tmp_rd_idx = idx_inc(buffer, buffer->tmp_rd_idx, wlen); in mpsc_pbuf_free()