Home
last modified time | relevance | path

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

/tools/perf/util/
Dmmap.c54 unsigned int len = min(sizeof(*event), size), cpy; in perf_mmap__read() local
58 cpy = min(map->core.mask + 1 - (offset & map->core.mask), len); in perf_mmap__read()
59 memcpy(dst, &data[offset & map->core.mask], cpy); in perf_mmap__read()
60 offset += cpy; in perf_mmap__read()
61 dst += cpy; in perf_mmap__read()
62 len -= cpy; in perf_mmap__read()