Home
last modified time | relevance | path

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

/frameworks/base/cmds/incidentd/src/
DSection.cpp741 size_t dumpBufferSize = 64 * 1024; // 64 KB is enough for most tombstone dump in BlockingCall() local
742 char* dumpBuffer = (char*)mmap(NULL, dumpBufferSize, PROT_READ | PROT_WRITE, in BlockingCall()
834 if (dumpBufferSize < buffer.size()) { in BlockingCall()
835 munmap(dumpBuffer, dumpBufferSize); in BlockingCall()
836 while(dumpBufferSize < buffer.size()) dumpBufferSize = dumpBufferSize << 1; in BlockingCall()
837 dumpBuffer = (char*)mmap(NULL, dumpBufferSize, PROT_READ | PROT_WRITE, in BlockingCall()
862 munmap(dumpBuffer, dumpBufferSize); in BlockingCall()