/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() 60 FiemapStatus(ErrorCode code) : error_code_(code) {} in FiemapStatus() function
|
D | image_manager.h | 56 virtual FiemapStatus CreateBackingImage( 121 virtual FiemapStatus ZeroFillNewImage(const std::string& name, uint64_t bytes) = 0; 141 FiemapStatus CreateBackingImage(const std::string& name, uint64_t size, int flags, 166 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 | 257 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 | 29 using android::fiemap::FiemapStatus; 114 return Return(FiemapStatus::FromErrno(errno)); in InitializeCow() 120 return Return(FiemapStatus::FromErrno(errno)); in InitializeCow()
|
D | snapshot_fuzz_utils.h | 158 android::fiemap::FiemapStatus CreateBackingImage( in CreateBackingImage() 186 android::fiemap::FiemapStatus ZeroFillNewImage(const std::string& name, in ZeroFillNewImage()
|
D | snapshot_test.cpp | 55 using android::fiemap::FiemapStatus; 1842 ASSERT_EQ(FiemapStatus::ErrorCode::NO_SPACE, res.error_code()) << res.string(); in TEST_P()
|
D | snapshot.cpp | 58 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; 77 static FiemapStatus ToFiemapStatus(const char* func, const binder::Status& status) { in ToFiemapStatus() 81 return FiemapStatus::FromErrorCode(status.serviceSpecificErrorCode()); in ToFiemapStatus() 83 return FiemapStatus::Error(); in ToFiemapStatus() 86 return FiemapStatus::Ok(); in ToFiemapStatus() 93 FiemapStatus ImageManagerBinder::CreateBackingImage( in CreateBackingImage() 182 FiemapStatus ImageManagerBinder::ZeroFillNewImage(const std::string& name, uint64_t bytes) { in ZeroFillNewImage()
|
D | image_manager.cpp | 148 FiemapStatus ImageManager::CreateBackingImage( in CreateBackingImage() 160 return FiemapStatus::Error(); in CreateBackingImage() 171 return FiemapStatus::Error(); in CreateBackingImage() 186 return FiemapStatus::Error(); in CreateBackingImage() 191 return FiemapStatus::Error(); in CreateBackingImage() 201 return FiemapStatus::Ok(); in CreateBackingImage() 204 FiemapStatus ImageManager::ZeroFillNewImage(const std::string& name, uint64_t bytes) { in ZeroFillNewImage() 212 return FiemapStatus::Error(); in ZeroFillNewImage() 218 return FiemapStatus::Ok(); in ZeroFillNewImage() 226 return FiemapStatus::Error(); in ZeroFillNewImage() [all …]
|
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() 143 return FiemapStatus::Ok(); in Create()
|
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()
|
/system/gsid/ |
D | gsi_service.cpp | 413 FiemapStatus::ErrorCode status = FiemapStatus::ErrorCode::ERROR) { in BinderError()
|