Lines Matching refs:end
106 static int overwrite_rb_find_range(void *buf, int mask, u64 *start, u64 *end)
119 *end = evt_head;
127 *end = evt_head;
139 * Report the start and end of the available data in ringbuffer
149 md->end = md->overwrite ? old : head;
151 if ((md->end - md->start) < md->flush)
154 size = md->end - md->start;
168 if (overwrite_rb_find_range(data, md->mask, &md->start, &md->end))
190 * Need to correct the map->core.prev to head which is the end of next read.
203 /* When check_messup is true, 'end' must points to a good entry */
205 u64 *startp, u64 end)
209 int diff = end - *startp;
270 map->end = perf_mmap__read_head(map);
272 event = perf_mmap__read(map, &map->start, map->end);