Lines Matching refs:mmap
172 zfree(&evlist->mmap); in evlist__exit()
779 if (evlist->mmap) in evlist__munmap_nofree()
781 perf_mmap__munmap(&evlist->mmap[i].core); in evlist__munmap_nofree()
791 zfree(&evlist->mmap); in evlist__munmap()
797 struct mmap *m = container_of(map, struct mmap, core); in perf_mmap__unmap_cb()
802 static struct mmap *evlist__alloc_mmap(struct evlist *evlist, in evlist__alloc_mmap()
806 struct mmap *map; in evlist__alloc_mmap()
808 map = zalloc(evlist->core.nr_mmaps * sizeof(struct mmap)); in evlist__alloc_mmap()
847 struct mmap *maps; in perf_evlist__mmap_cb_get()
849 maps = overwrite ? evlist->overwrite_mmap : evlist->mmap; in perf_evlist__mmap_cb_get()
861 evlist->mmap = maps; in perf_evlist__mmap_cb_get()
872 struct mmap *map = container_of(_map, struct mmap, core); in perf_evlist__mmap_cb_mmap()
1018 .mmap = perf_evlist__mmap_cb_mmap, in evlist__mmap_ex()