Home
last modified time | relevance | path

Searched refs:tmp_rd_idx (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/lib/os/
Dmpsc_pbuf.c24 buffer->rd_idx, buffer->tmp_rd_idx); in mpsc_state_print()
88 if (buffer->flags & MPSC_PBUF_FULL || buffer->tmp_rd_idx > buffer->wr_idx) { in available()
89 *res = buffer->size - buffer->tmp_rd_idx; in available()
93 *res = (buffer->wr_idx - buffer->tmp_rd_idx); in available()
193 buffer->tmp_rd_idx = buffer->rd_idx; in drop_item_locked()
220 if (buffer->rd_idx == buffer->tmp_rd_idx) { in drop_item_locked()
221 buffer->tmp_rd_idx = idx_inc(buffer, buffer->tmp_rd_idx, rd_wlen); in drop_item_locked()
224 buffer->tmp_wr_idx = buffer->tmp_rd_idx; in drop_item_locked()
225 buffer->rd_idx = buffer->tmp_rd_idx; in drop_item_locked()
230 buffer->tmp_rd_idx = buffer->rd_idx; in drop_item_locked()
[all …]
/Zephyr-latest/include/zephyr/sys/
Dmpsc_pbuf.h98 uint32_t tmp_rd_idx; member