Home
last modified time | relevance | path

Searched refs:CustomMap (Results 1 – 4 of 4) sorted by relevance

/openbmc/openpower-pnor-code-mgmt/
H A Dimage_verify.hpp74 struct CustomMap struct
84 CustomMap() = delete;
85 CustomMap(const CustomMap&) = delete;
86 CustomMap& operator=(const CustomMap&) = delete;
87 CustomMap(CustomMap&&) = default;
88 CustomMap& operator=(CustomMap&&) = default;
95 CustomMap(void* addr, size_t length) : addr(addr), length(length) {} in CustomMap() function
97 ~CustomMap() in ~CustomMap() argument
200 CustomMap mapFile(const std::filesystem::path& path, size_t size);
H A Dimage_verify.cpp301 CustomMap Signature::mapFile(const std::filesystem::path& path, size_t size) in mapFile()
305 return CustomMap(mmap(nullptr, size, PROT_READ, MAP_PRIVATE, fd(), 0), in mapFile()
/openbmc/phosphor-bmc-code-mgmt/bmc/
H A Dimage_verify.hpp79 struct CustomMap struct
89 CustomMap() = delete;
90 CustomMap(const CustomMap&) = delete;
91 CustomMap& operator=(const CustomMap&) = delete;
92 CustomMap(CustomMap&&) = default;
93 CustomMap& operator=(CustomMap&&) = default;
100 CustomMap(void* addr, size_t length) : addr(addr), length(length) {} in CustomMap() function
102 ~CustomMap() in ~CustomMap() argument
202 static CustomMap mapFile(const fs::path& path, size_t size);
H A Dimage_verify.cpp404 CustomMap Signature::mapFile(const fs::path& path, size_t size) in mapFile()
408 return CustomMap(mmap(nullptr, size, PROT_READ, MAP_PRIVATE, fd(), 0), in mapFile()