|
proxygen
|
#include <folly/system/MemoryMapping.h>#include <algorithm>#include <functional>#include <utility>#include <folly/Format.h>#include <folly/portability/GFlags.h>#include <folly/portability/SysMman.h>#include <fcntl.h>#include <sys/types.h>#include <system_error>Go to the source code of this file.
Namespaces | |
| folly | |
| —— Concurrent Priority Queue Implementation —— | |
Macros | |
| #define | MAP_POPULATE 0 |
Functions | |
| DEFINE_int64 (mlock_chunk_size, kDefaultMlockChunkSize,"Maximum bytes to mlock/munlock/munmap at once ""(will be rounded up to PAGESIZE). Ignored if negative.") | |
| void | folly::swap (MemoryMapping &a, MemoryMapping &b) noexcept |
| void | folly::alignedForwardMemcpy (void *dst, const void *src, size_t size) |
| void | folly::mmapFileCopy (const char *src, const char *dest, mode_t mode) |
Variables | |
| static constexpr ssize_t | kDefaultMlockChunkSize |
| #define MAP_POPULATE 0 |
Definition at line 55 of file MemoryMapping.cpp.
Referenced by folly::detail::MMapAlloc::allocate(), and folly::MemoryMapping::init().
| DEFINE_int64 | ( | mlock_chunk_size | , |
| kDefaultMlockChunkSize | , | ||
| "Maximum bytes to mlock/munlock/munmap at once ""(will be rounded up to PAGESIZE). Ignored if negative." | |||
| ) |
|
static |
Definition at line 35 of file MemoryMapping.cpp.