Searched refs:ehdr_size (Results 1 – 1 of 1) sorted by relevance
5259 size_t ehdr_size; in bpf_perf_event_read_simple() local5263 ehdr_size = ehdr->size; in bpf_perf_event_read_simple()5265 if (((void *)ehdr) + ehdr_size > base + mmap_size) { in bpf_perf_event_read_simple()5268 size_t len_secnd = ehdr_size - len_first; in bpf_perf_event_read_simple()5270 if (*copy_size < ehdr_size) { in bpf_perf_event_read_simple()5272 *copy_mem = malloc(ehdr_size); in bpf_perf_event_read_simple()5278 *copy_size = ehdr_size; in bpf_perf_event_read_simple()5287 data_tail += ehdr_size; in bpf_perf_event_read_simple()