Home
last modified time | relevance | path

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

/system/apex/apexd/
Dapexd_loop.h33 struct LoopbackDeviceUniqueFd { struct
37 LoopbackDeviceUniqueFd() {} in LoopbackDeviceUniqueFd() argument
38 LoopbackDeviceUniqueFd(unique_fd&& fd, const std::string& name) in LoopbackDeviceUniqueFd() argument
41 LoopbackDeviceUniqueFd(LoopbackDeviceUniqueFd&& fd) noexcept in LoopbackDeviceUniqueFd() function
43 LoopbackDeviceUniqueFd& operator=(LoopbackDeviceUniqueFd&& other) noexcept {
50 ~LoopbackDeviceUniqueFd() { MaybeCloseBad(); } in ~LoopbackDeviceUniqueFd() argument
63 StatusOr<LoopbackDeviceUniqueFd> createLoopDevice(const std::string& target, argument
Dapexd_loop.cpp58 void LoopbackDeviceUniqueFd::MaybeCloseBad() { in MaybeCloseBad()
127 StatusOr<LoopbackDeviceUniqueFd> createLoopDevice(const std::string& target, in createLoopDevice()
130 using Failed = StatusOr<LoopbackDeviceUniqueFd>; in createLoopDevice()
147 LoopbackDeviceUniqueFd device_fd; in createLoopDevice()
163 device_fd = LoopbackDeviceUniqueFd(std::move(sysfs_fd), device); in createLoopDevice()
219 return StatusOr<LoopbackDeviceUniqueFd>(std::move(device_fd)); in createLoopDevice()
Dapexd.cpp409 loop::LoopbackDeviceUniqueFd loopbackDevice; in mountNonFlattened()
411 StatusOr<loop::LoopbackDeviceUniqueFd> ret = loop::createLoopDevice( in mountNonFlattened()