Searched refs:ehdr_size (Results 1 – 2 of 2) sorted by relevance
488 size_t ehdr_size; in perfbuf_custom_consumer() local510 ehdr_size = ehdr->size; in perfbuf_custom_consumer()515 data_tail += ehdr_size; in perfbuf_custom_consumer()
9781 size_t ehdr_size; in bpf_perf_event_read_simple() local9785 ehdr_size = ehdr->size; in bpf_perf_event_read_simple()9787 if (((void *)ehdr) + ehdr_size > base + mmap_size) { in bpf_perf_event_read_simple()9790 size_t len_secnd = ehdr_size - len_first; in bpf_perf_event_read_simple()9792 if (*copy_size < ehdr_size) { in bpf_perf_event_read_simple()9794 *copy_mem = malloc(ehdr_size); in bpf_perf_event_read_simple()9800 *copy_size = ehdr_size; in bpf_perf_event_read_simple()9809 data_tail += ehdr_size; in bpf_perf_event_read_simple()