/system/core/fs_mgr/libfiemap/include/libfiemap/ |
D | fiemap_status.h | 27 class FiemapStatus { 38 static FiemapStatus FromErrno(int error_num) { return FiemapStatus(CastErrorCode(-error_num)); } in FromErrno() 42 static FiemapStatus FromErrorCode(int32_t error_code) { in FromErrorCode() 43 return FiemapStatus(CastErrorCode(error_code)); in FromErrorCode() 47 static FiemapStatus Error() { return FiemapStatus(ErrorCode::ERROR); } in Error() 50 static FiemapStatus Ok() { return FiemapStatus(ErrorCode::SUCCESS); } in Ok() 59 explicit FiemapStatus(ErrorCode code) : error_code_(code) {} in FiemapStatus() function
|
D | image_manager.h | 63 virtual FiemapStatus CreateBackingImage( 125 virtual FiemapStatus ZeroFillNewImage(const std::string& name, uint64_t bytes) = 0; 150 FiemapStatus CreateBackingImage(const std::string& name, uint64_t size, int flags, 176 FiemapStatus ZeroFillNewImage(const std::string& name, uint64_t bytes);
|
D | fiemap_writer.h | 52 static FiemapStatus Open(const std::string& file_path, uint64_t file_size, FiemapUniquePtr* out,
|
D | split_fiemap_writer.h | 47 static FiemapStatus Create(const std::string& file_path, uint64_t file_size,
|
/system/core/fs_mgr/libsnapshot/include/libsnapshot/ |
D | return.h | 27 using FiemapStatus = android::fiemap::FiemapStatus; variable 31 SUCCESS = static_cast<int32_t>(FiemapStatus::ErrorCode::SUCCESS), 32 ERROR = static_cast<int32_t>(FiemapStatus::ErrorCode::ERROR), 33 NO_SPACE = static_cast<int32_t>(FiemapStatus::ErrorCode::NO_SPACE), 46 explicit Return(const FiemapStatus& status) in Return() 56 static ErrorCode FromFiemapStatusErrorCode(FiemapStatus::ErrorCode error_code);
|
D | snapshot.h | 311 using FiemapStatus = android::fiemap::FiemapStatus; variable
|
/system/core/fs_mgr/libsnapshot/ |
D | return.cpp | 19 using android::fiemap::FiemapStatus; 34 Return::ErrorCode Return::FromFiemapStatusErrorCode(FiemapStatus::ErrorCode error_code) { in FromFiemapStatusErrorCode() 36 case FiemapStatus::ErrorCode::SUCCESS: in FromFiemapStatusErrorCode() 37 case FiemapStatus::ErrorCode::ERROR: in FromFiemapStatusErrorCode() 38 case FiemapStatus::ErrorCode::NO_SPACE: in FromFiemapStatusErrorCode()
|
D | utility.cpp | 34 using android::fiemap::FiemapStatus; 120 return Return(FiemapStatus::FromErrno(errno)); in InitializeKernelCow() 126 return Return(FiemapStatus::FromErrno(errno)); in InitializeKernelCow()
|
D | snapshot_test.cpp | 76 using android::fiemap::FiemapStatus;
|
D | snapshot.cpp | 65 using android::fiemap::FiemapStatus;
|
/system/core/fs_mgr/libfiemap/ |
D | fiemap_writer.cpp | 265 static FiemapStatus FallocateFallback(int file_fd, uint64_t block_size, uint64_t file_size, in FallocateFallback() 283 return FiemapStatus::FromErrno(errno); in FallocateFallback() 287 return FiemapStatus::Error(); in FallocateFallback() 292 return FiemapStatus::FromErrno(errno); in FallocateFallback() 295 return FiemapStatus::Error(); in FallocateFallback() 298 return FiemapStatus::Ok(); in FallocateFallback() 385 static FiemapStatus WriteZeroes(int file_fd, const std::string& file_path, size_t blocksz, in WriteZeroes() 391 return FiemapStatus::Error(); in WriteZeroes() 397 return FiemapStatus::FromErrno(errno); in WriteZeroes() 405 return FiemapStatus::FromErrno(errno); in WriteZeroes() [all …]
|
D | fiemap_status.cpp | 22 std::string FiemapStatus::string() const { in string() 31 FiemapStatus::ErrorCode FiemapStatus::CastErrorCode(int error_code) { in CastErrorCode()
|
D | binder.cpp | 53 FiemapStatus CreateBackingImage(const std::string& name, uint64_t size, int flags, 63 FiemapStatus ZeroFillNewImage(const std::string& name, uint64_t bytes) override; 78 static FiemapStatus ToFiemapStatus(const char* func, const binder::Status& status) { in ToFiemapStatus() 82 return FiemapStatus::FromErrorCode(status.serviceSpecificErrorCode()); in ToFiemapStatus() 84 return FiemapStatus::Error(); in ToFiemapStatus() 87 return FiemapStatus::Ok(); in ToFiemapStatus() 94 FiemapStatus ImageManagerBinder::CreateBackingImage( in CreateBackingImage() 183 FiemapStatus ImageManagerBinder::ZeroFillNewImage(const std::string& name, uint64_t bytes) { in ZeroFillNewImage()
|
D | split_fiemap_writer.cpp | 55 FiemapStatus SplitFiemap::Create(const std::string& file_path, uint64_t file_size, in Create() 62 return FiemapStatus::Error(); in Create() 100 return FiemapStatus::Error(); in Create() 128 return FiemapStatus::FromErrno(errno); in Create() 136 return FiemapStatus::FromErrno(errno); in Create() 144 return FiemapStatus::Ok(); in Create()
|
D | image_manager.cpp | 162 FiemapStatus ImageManager::CreateBackingImage( in CreateBackingImage() 174 return FiemapStatus::Error(); in CreateBackingImage() 185 return FiemapStatus::Error(); in CreateBackingImage() 200 return FiemapStatus::Error(); in CreateBackingImage() 205 return FiemapStatus::Error(); in CreateBackingImage() 215 return FiemapStatus::Ok(); in CreateBackingImage() 218 FiemapStatus ImageManager::ZeroFillNewImage(const std::string& name, uint64_t bytes) { in ZeroFillNewImage() 226 return FiemapStatus::Error(); in ZeroFillNewImage() 232 return FiemapStatus::Ok(); in ZeroFillNewImage() 240 return FiemapStatus::Error(); in ZeroFillNewImage() [all …]
|
D | utility.h | 31 FiemapStatus DetermineMaximumFileSize(const std::string& file_path, uint64_t* result);
|
D | utility.cpp | 40 FiemapStatus DetermineMaximumFileSize(const std::string& file_path, uint64_t* result) { in DetermineMaximumFileSize() 74 return FiemapStatus::Ok(); in DetermineMaximumFileSize()
|
D | fiemap_writer_test.cpp | 546 ASSERT_EQ(status.error_code(), FiemapStatus::ErrorCode::NO_SPACE); in TEST_F() 551 ASSERT_NE(status.error_code(), FiemapStatus::ErrorCode::NO_SPACE); in TEST_F()
|
/system/gsid/ |
D | gsi_service.cpp | 464 FiemapStatus::ErrorCode status = FiemapStatus::ErrorCode::ERROR) { in BinderError()
|