Lines Matching defs:oldest
94 * of still unread elements in the ringbuffer and update the lws_ring "oldest
95 * tail" with it. Elements behind the "oldest tail" are freed and recycled for
96 * new head content. Elements after the "oldest tail" are still waiting to be
99 * If the oldest tail moved on from before, check if it created enough space
102 * Mark connections that are at the oldest tail as being on a 3s timeout to
110 * has changed; it wasn't the oldest so it won't change the oldest.
112 * Returns 0 if oldest unchanged or 1 if oldest changed from this call.
117 uint32_t wai, worst = 0, worst_tail = 0, oldest;
120 oldest = lws_ring_get_oldest_tail(mi->ring);
137 if (oldest == lws_ring_get_oldest_tail(mi->ring))
140 * The oldest tail did move on. Check if we should re-enable rx flow
153 * The guy(s) with the oldest tail block the ringbuffer from recycling
314 * going away may have had the oldest tail, reconfirm
315 * using the remaining pss what is the current oldest
316 * tail. If the oldest tail moves on, this call also
407 * We are no longer holding the oldest tail (since we sent
409 * oldest tail.
413 * If we were originally at the oldest fifo position of
415 * changed the oldest fifo position and made some space.