Searched refs:copy_mem (Results 1 – 2 of 2) sorted by relevance
423 void **copy_mem, size_t *copy_size,
5257 void **copy_mem, size_t *copy_size, in bpf_perf_event_read_simple() argument5278 free(*copy_mem); in bpf_perf_event_read_simple()5279 *copy_mem = malloc(ehdr_size); in bpf_perf_event_read_simple()5280 if (!*copy_mem) { in bpf_perf_event_read_simple()5288 memcpy(*copy_mem, copy_start, len_first); in bpf_perf_event_read_simple()5289 memcpy(*copy_mem + len_first, base, len_secnd); in bpf_perf_event_read_simple()5290 ehdr = *copy_mem; in bpf_perf_event_read_simple()