#include <cstddef>#include <limits>#include <stdint.h>#include <sys/types.h>Go to the source code of this file.
Classes | |
| class | util::scoped_mmap |
| class | util::scoped_memory |
| class | util::Rolling |
Namespaces | |
| namespace | util |
Enumerations | |
| enum | util::LoadMethod { util::LAZY, util::POPULATE_OR_LAZY, util::POPULATE_OR_READ, util::READ, util::PARALLEL_READ } |
Functions | |
| std::size_t | util::SizePage () |
| void * | util::MapOrThrow (std::size_t size, bool for_write, int flags, bool prefault, int fd, uint64_t offset) |
| void | util::SyncOrThrow (void *start, size_t length) |
| void | util::UnmapOrThrow (void *start, size_t length) |
| void | util::HugeMalloc (std::size_t size, bool zeroed, scoped_memory &to) |
| void | util::HugeRealloc (std::size_t to, bool zero_new, scoped_memory &mem) |
| void | util::MapRead (LoadMethod method, int fd, uint64_t offset, std::size_t size, scoped_memory &out) |
| void * | util::MapZeroedWrite (int fd, std::size_t size) |
| void * | util::MapZeroedWrite (const char *name, std::size_t size, scoped_fd &file) |
1.5.9