Searched refs:cpy (Results 1 – 1 of 1) sorted by relevance
54 unsigned int len = min(sizeof(*event), size), cpy; in perf_mmap__read() local58 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()