Home
last modified time | relevance | path

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

/rocksdb-6.9/port/win/
Dio_win.cc340 Status WinMmapFile::PreallocateInternal(uint64_t spaceToReserve) { in PreallocateInternal() argument
341 return fallocate(filename_, hFile_, spaceToReserve); in PreallocateInternal()
542 size_t spaceToReserve = Roundup(static_cast<size_t>(offset + len), view_size_); in Allocate() local
544 if (spaceToReserve <= reserved_size_) { in Allocate()
549 status = PreallocateInternal(spaceToReserve); in Allocate()
551 reserved_size_ = spaceToReserve; in Allocate()
736 Status WinWritableImpl::PreallocateInternal(uint64_t spaceToReserve) { in PreallocateInternal() argument
737 return fallocate(file_data_->GetName(), file_data_->GetFileHandle(), spaceToReserve); in PreallocateInternal()
909 if (spaceToReserve <= reservedsize_) { in AllocateImpl()
914 status = PreallocateInternal(spaceToReserve); in AllocateImpl()
[all …]
Dio_win.h188 virtual Status PreallocateInternal(uint64_t spaceToReserve);
299 virtual Status PreallocateInternal(uint64_t spaceToReserve);