Home
last modified time | relevance | path

Searched refs:kOpenFlags (Results 1 – 3 of 3) sorted by relevance

/system/core/fs_mgr/libfiemap/
Dimage_manager.cpp321 static constexpr int kOpenFlags = O_RDWR | O_NOFOLLOW | O_CLOEXEC; in CreateLoopDevice() local
322 android::base::unique_fd file_fd(open(file.c_str(), kOpenFlags)); in CreateLoopDevice()
387 static constexpr int kOpenFlags = O_RDWR | O_NOFOLLOW | O_CLOEXEC; in MapWithLoopDeviceList() local
388 unique_fd fd(open(block_device.c_str(), kOpenFlags)); in MapWithLoopDeviceList()
/system/core/fs_mgr/liblp/
Dimages.cpp211 … static const int kOpenFlags = O_CREAT | O_RDWR | O_TRUNC | O_CLOEXEC | O_NOFOLLOW | O_BINARY; in ExportFiles() local
212 unique_fd fd(open(file_path.c_str(), kOpenFlags, 0644)); in ExportFiles()
/system/core/fs_mgr/libsnapshot/
Dsnapshot_fuzz_utils.cpp394 static constexpr int kOpenFlags = O_RDWR | O_NOFOLLOW | O_CLOEXEC; in CheckCreateLoopDevice() local
395 android::base::unique_fd file_fd(open(file.c_str(), kOpenFlags)); in CheckCreateLoopDevice()