MmappedFile.cc
Go to the documentation of this file.
157 assert(maxOffset < 0 || static_cast<uint64_t>(aRequest->offset + aRequest->len) <= static_cast<uint64_t>(maxOffset));
187 assert(maxOffset < 0 || static_cast<uint64_t>(aRequest->offset + aRequest->len) <= static_cast<uint64_t>(maxOffset));
CBDATA_CLASS_INIT(MmappedFile)
void error(char *format,...)
virtual void closeCompleted()=0
virtual void readCompleted(const char *buf, int len, int errflag, RefCount< ReadRequest >)=0
virtual void ioCompletedNotification()=0
virtual void writeCompleted(int errflag, size_t len, RefCount< WriteRequest >)=0
Definition: MmappedFile.h:17
void open(int flags, mode_t mode, RefCount< IORequestor > callback) override
Definition: MmappedFile.cc:72
void create(int flags, mode_t mode, RefCount< IORequestor > callback) override
Definition: MmappedFile.cc:102
Definition: MmappedFile.cc:37
Mmapping(int fd, size_t length, int prot, int flags, off_t offset)
Definition: MmappedFile.cc:220
Definition: ReadRequest.h:16
Definition: WriteRequest.h:17
int store_open_disk_fd