Lines Matching defs:base
9906 void *base = ((__u8 *)header) + page_size;
9912 ehdr = base + (data_tail & (mmap_size - 1));
9915 if (((void *)ehdr) + ehdr_size > base + mmap_size) {
9917 size_t len_first = base + mmap_size - copy_start;
9932 memcpy(*copy_mem + len_first, base, len_secnd);
9963 void *base; /* mmap()'ed memory */
9991 if (cpu_buf->base &&
9992 munmap(cpu_buf->base, pb->mmap_size + pb->page_size))
10051 cpu_buf->base = mmap(NULL, pb->mmap_size + pb->page_size,
10054 if (cpu_buf->base == MAP_FAILED) {
10055 cpu_buf->base = NULL;
10314 ret = bpf_perf_event_read_simple(cpu_buf->base, pb->mmap_size,