Home
last modified time | relevance | path

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

/tools/perf/util/
Dauxtrace.c1832 size_t size, head_off, old_off, len1, len2, padding; in __auxtrace_mmap__read() local
1850 head_off = head & mm->mask; in __auxtrace_mmap__read()
1853 head_off = head % mm->len; in __auxtrace_mmap__read()
1857 if (head_off > old_off) in __auxtrace_mmap__read()
1858 size = head_off - old_off; in __auxtrace_mmap__read()
1860 size = mm->len - (old_off - head_off); in __auxtrace_mmap__read()
1880 if (size > head_off) { in __auxtrace_mmap__read()
1881 len1 = size - head_off; in __auxtrace_mmap__read()
1883 len2 = head_off; in __auxtrace_mmap__read()
1887 data1 = &data[head_off - len1]; in __auxtrace_mmap__read()