Searched refs:map_size_ (Results 1 – 2 of 2) sorted by relevance
| /rocksdb-6.9/env/ |
| D | io_posix.cc | 893 if (map_size_ < (1 << 20)) { in UnmapCurrentRegion() 894 map_size_ *= 2; in UnmapCurrentRegion() 907 int alloc_status = fallocate(fd_, 0, file_offset_, map_size_); in MapNewRegion() 910 alloc_status = posix_fallocate(fd_, file_offset_, map_size_); in MapNewRegion() 919 void* ptr = mmap(nullptr, map_size_, PROT_READ | PROT_WRITE, MAP_SHARED, fd_, in MapNewRegion() 927 limit_ = base_ + map_size_; in MapNewRegion() 957 map_size_(Roundup(65536, page_size)), in PosixMmapFile()
|
| D | io_posix.h | 296 size_t map_size_; // How much extra memory to map at a time variable
|