Searched refs:buf_write_idx (Results 1 – 1 of 1) sorted by relevance
61 int buf_write_idx; member566 &handle->buf[handle->buf_write_idx], in slc_watch_callback()567 SLC_BUF_SIZE_BYTES - handle->buf_write_idx - 1); in slc_watch_callback()574 handle->buf_write_idx += bytes_read; in slc_watch_callback()575 handle->buf[handle->buf_write_idx] = '\0'; in slc_watch_callback()577 while (handle->buf_read_idx != handle->buf_write_idx) { in slc_watch_callback()591 if (handle->buf_read_idx == handle->buf_write_idx) { in slc_watch_callback()593 handle->buf_write_idx = 0; in slc_watch_callback()598 if (handle->buf_write_idx == SLC_BUF_SIZE_BYTES - 1) { in slc_watch_callback()602 handle->buf_write_idx - handle->buf_read_idx); in slc_watch_callback()[all …]