Home
last modified time | relevance | path

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

/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
H A Dsanitizer_procmaps_common.cc151 uptr smaps_cap = 0; in GetMemoryProfile() local
153 if (!ReadFileToBuffer("/proc/self/smaps", &smaps, &smaps_cap, &smaps_len)) in GetMemoryProfile()
170 UnmapOrDie(smaps, smaps_cap); in GetMemoryProfile()
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_procmaps_common.cpp150 uptr smaps_cap = 0; in GetMemoryProfile() local
152 if (!ReadFileToBuffer("/proc/self/smaps", &smaps, &smaps_cap, &smaps_len)) in GetMemoryProfile()
155 UnmapOrDie(smaps, smaps_cap); in GetMemoryProfile()
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_procmaps_common.cc147 uptr smaps_cap = 0; in GetMemoryProfile() local
149 if (!ReadFileToBuffer("/proc/self/smaps", &smaps, &smaps_cap, &smaps_len)) in GetMemoryProfile()
166 UnmapOrDie(smaps, smaps_cap); in GetMemoryProfile()