Searched refs:mmap_addr_ (Results 1 – 4 of 4) sorted by relevance
73 if (mmap_addr_ != nullptr) { in ~EventFd()74 munmap(mmap_addr_, mmap_len_); in ~EventFd()130 mmap_addr_ = mmap_addr; in MmapContent()132 mmap_metadata_page_ = reinterpret_cast<perf_event_mmap_page*>(mmap_addr_); in MmapContent()133 mmap_data_buffer_ = reinterpret_cast<char*>(mmap_addr_) + page_size; in MmapContent()
335 : filename_(filename), record_fd_(fd), mmap_addr_(nullptr), mmap_len_(0) { in RecordFileReader()346 if (munmap(const_cast<char*>(mmap_addr_), mmap_len_) == -1) { in Close()370 mmap_addr_ = reinterpret_cast<const char*>(mmap_addr); in MmapFile()376 return reinterpret_cast<const struct FileHeader*>(mmap_addr_); in FileHeader()383 const FileAttr* attr = reinterpret_cast<const FileAttr*>(mmap_addr_ + header->attrs.offset); in AttrSection()393 const uint64_t* id = reinterpret_cast<const uint64_t*>(mmap_addr_ + attr->ids.offset); in IdsForAttr()407 const char* end = mmap_addr_ + header->data.offset + header->data.size; in DataSection()408 const char* p = mmap_addr_ + header->data.offset; in DataSection()431 const SectionDesc* p = reinterpret_cast<const SectionDesc*>(mmap_addr_ + feature_section_offset); in FeatureSectionDescriptors()
81 mmap_addr_(nullptr), in EventFd()91 void* mmap_addr_; variable
100 return mmap_addr_ + offset; in DataAtOffset()111 const char* mmap_addr_; variable