Searched refs:MAX_FILE_CHUNK_SIZE (Results 1 – 2 of 2) sorted by relevance
44 constexpr int MAX_FILE_CHUNK_SIZE = 3145728; variable117 mIobuf[i].bufs.resize(MAX_FILE_CHUNK_SIZE); in start()118 posix_madvise(mIobuf[i].bufs.data(), MAX_FILE_CHUNK_SIZE, in start()184 length = std::min(static_cast<uint32_t>(MAX_FILE_CHUNK_SIZE), file_length); in receiveFile()315 length = std::min(static_cast<uint64_t>(MAX_FILE_CHUNK_SIZE), file_length); in sendFile()
47 constexpr unsigned MAX_FILE_CHUNK_SIZE = AIO_BUFS_MAX * AIO_BUF_LEN; variable116 if (posix_madvise(mIobuf[i].bufs.data(), MAX_FILE_CHUNK_SIZE, in advise()273 mIobuf[i].bufs.resize(MAX_FILE_CHUNK_SIZE); in start()464 length = std::min(static_cast<uint32_t>(MAX_FILE_CHUNK_SIZE), file_length); in receiveFile()604 length = std::min(static_cast<uint64_t>(MAX_FILE_CHUNK_SIZE), file_length); in sendFile()