Lines Matching refs:IOError

57 IOStatus IOError(const std::string& context, const std::string& file_name,  in IOError()  function
67 return IOStatus::IOError(IOStatus::kStaleFile); in IOError()
72 return IOStatus::IOError(IOErrorMsg(context, file_name), in IOError()
249 s = IOError("While reading file sequentially", filename_, errno); in Read()
287 s = IOError( in PositionedRead()
297 return IOError("While fseek to skip " + ToString(n) + " bytes", filename_, in Skip()
313 return IOError("While fadvise NotNeeded offset " + ToString(offset) + in InvalidateCache()
461 return Status::IOError("Cannot open directory " + directory); in GetLogicalBlockSizeOfDirectory()
599 s = IOError( in Read()
693 req->status = IOError("Req failed", filename_, cqe->res); in MultiRead()
720 req->status = IOError("Req returned more bytes than requested", in MultiRead()
749 s = IOError("While prefetching offset " + ToString(offset) + " len " + in Prefetch()
803 return IOError("While fadvise NotNeeded offset " + ToString(offset) + in InvalidateCache()
844 return IOError("While mmap read offset " + ToString(offset) + in Read()
865 return IOError("While fadvise not needed. Offset " + ToString(offset) + in InvalidateCache()
884 return IOError("While munmap", filename_, munmap_status); in UnmapCurrentRegion()
913 return IOStatus::IOError("Error allocating space to file : " + filename_ + in MapNewRegion()
922 return IOStatus::IOError("MMap failed on " + filename_); in MapNewRegion()
947 return IOError("While msync", filename_, errno); in Msync()
1017 s = IOError("While closing mmapped file", filename_, errno); in Close()
1021 s = IOError("While ftruncating mmaped file", filename_, errno); in Close()
1027 s = IOError("While closing mmapped file", filename_, errno); in Close()
1045 return IOError("While fdatasync mmapped file", filename_, errno); in Sync()
1057 return IOError("While fsync mmaped file", filename_, errno); in Fsync()
1085 return IOError("While fadvise NotNeeded mmapped file", filename_, errno); in InvalidateCache()
1105 return IOError( in Allocate()
1152 return IOError("While appending to file", filename_, errno); in Append()
1171 return IOError("While pwrite to file at offset " + ToString(offset), in PositionedAppend()
1183 s = IOError("While ftruncate file to size " + ToString(size), filename_, in Truncate()
1240 s = IOError("While closing file after writing", filename_, errno); in Close()
1255 return IOError("While fdatasync", filename_, errno); in Sync()
1263 return IOError("While fsync", filename_, errno); in Fsync()
1307 return IOError("While fadvise NotNeeded", filename_, errno); in InvalidateCache()
1328 return IOError( in Allocate()
1355 return IOError("While sync_file_range returned " + ToString(ret), in RangeSync()
1390 return IOError( in Write()
1411 return IOError("While reading random read/write file offset " + in Read()
1437 return IOError("While fdatasync random read/write file", filename_, errno); in Sync()
1445 return IOError("While fsync random read/write file", filename_, errno); in Fsync()
1453 return IOError("While close random read/write file", filename_, errno); in Close()
1474 return IOError("While fsync", "a directory", errno); in Fsync()