Lines Matching refs:next
35 * @next - offset from @data to the start of next event
51 unsigned int next;
294 kbuf->next = kbuf->size;
309 kbuf->next = kbuf->size;
325 kbuf->next = kbuf->index + length;
335 kbuf->curr = kbuf->next;
336 if (kbuf->next >= kbuf->size)
403 kbuf->next = kbuf->index + length;
454 kbuf->curr = kbuf->next;
455 if (kbuf->next >= kbuf->size)
473 * @ts: Address to store the next record's timestamp (may be NULL to ignore)
476 * next event so that the next kbuffer_read_event() will return a
479 * Returns the data of the next event if a new event exists on the subbuffer,
505 * the pointers and update the @kbuf timestamp. The next read will
545 kbuf->next = 0;
581 * kbuffer_read_event - read the next event in the kbuffer subbuffer
605 * Returns the timestamp of the current (next) event.
702 return kbuf->next - kbuf->index;
714 return kbuf->next - kbuf->curr;
769 * Expects to have info->next set to what it will read.
771 * @info->next will be updated to the next element.
784 void *ptr = info->next;
802 info->next = ptr + length;