Lines Matching defs:base
6306 /* base map load ldimm64 special constant, used also for log fixup logic */
12770 void *base = ((__u8 *)header) + page_size;
12776 ehdr = base + (data_tail & (mmap_size - 1));
12779 if (((void *)ehdr) + ehdr_size > base + mmap_size) {
12781 size_t len_first = base + mmap_size - copy_start;
12796 memcpy(*copy_mem + len_first, base, len_secnd);
12827 void *base; /* mmap()'ed memory */
12855 if (cpu_buf->base &&
12856 munmap(cpu_buf->base, pb->mmap_size + pb->page_size))
12915 cpu_buf->base = mmap(NULL, pb->mmap_size + pb->page_size,
12918 if (cpu_buf->base == MAP_FAILED) {
12919 cpu_buf->base = NULL;
13199 ret = perf_event_read_simple(cpu_buf->base, pb->mmap_size,
13271 *buf = cpu_buf->base;