Home
last modified time | relevance | path

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

/system/core/fs_mgr/libfiemap/
Dimage_manager.cpp335 static constexpr int kOpenFlags = O_RDWR | O_NOFOLLOW | O_CLOEXEC; in CreateLoopDevice() local
336 android::base::unique_fd file_fd(open(file.c_str(), kOpenFlags)); in CreateLoopDevice()
401 static constexpr int kOpenFlags = O_RDWR | O_NOFOLLOW | O_CLOEXEC; in MapWithLoopDeviceList() local
402 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.cpp395 static constexpr int kOpenFlags = O_RDWR | O_NOFOLLOW | O_CLOEXEC; in CheckCreateLoopDevice() local
396 android::base::unique_fd file_fd(open(file.c_str(), kOpenFlags)); in CheckCreateLoopDevice()