Home
last modified time | relevance | path

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

/hardware/google/camera/common/hal/google_camera_hal/
Dcamera_device.cc83 static void ReadAheadVma(const Vma& vma, const size_t madvise_size_limit_bytes) { in ReadAheadVma() argument
84 const uint8_t* map_begin = reinterpret_cast<uint8_t*>(vma.start); in ReadAheadVma()
85 const uint8_t* map_end = reinterpret_cast<uint8_t*>(vma.end); in ReadAheadVma()
88 map_end, vma.name); in ReadAheadVma()
92 auto vmaCollectorCb = [&libs](const Vma& vma) { in LoadLibraries() argument
97 if (vma.inode == 0 && !vma.is_shared && vma.flags) { in LoadLibraries()
98 ReadAheadVma(vma, kMadviseSizeLimitBytes); in LoadLibraries()
99 } else if (vma.inode != 0 && libs != nullptr && in LoadLibraries()
101 [&vma](std::string lib_name) { in LoadLibraries()
102 return lib_name.compare(vma.name) == 0; in LoadLibraries()
[all …]