Searched refs:LoopbackDeviceUniqueFd (Results 1 – 3 of 3) sorted by relevance
32 struct LoopbackDeviceUniqueFd { struct36 LoopbackDeviceUniqueFd() {} in LoopbackDeviceUniqueFd() argument37 LoopbackDeviceUniqueFd(unique_fd&& fd, const std::string& name) in LoopbackDeviceUniqueFd() function40 LoopbackDeviceUniqueFd(LoopbackDeviceUniqueFd&& fd) noexcept in LoopbackDeviceUniqueFd() function42 LoopbackDeviceUniqueFd& operator=(LoopbackDeviceUniqueFd&& other) noexcept {49 ~LoopbackDeviceUniqueFd() { MaybeCloseBad(); } in ~LoopbackDeviceUniqueFd() argument62 android::base::Result<LoopbackDeviceUniqueFd> CreateLoopDevice( argument
80 void LoopbackDeviceUniqueFd::MaybeCloseBad() { in MaybeCloseBad()269 Result<LoopbackDeviceUniqueFd> WaitForDevice(int num) { in WaitForDevice()290 return LoopbackDeviceUniqueFd(std::move(sysfs_fd), device); in WaitForDevice()304 Result<LoopbackDeviceUniqueFd> CreateLoopDevice(const std::string& target, in CreateLoopDevice()319 Result<LoopbackDeviceUniqueFd> loop_device = WaitForDevice(num); in CreateLoopDevice()
466 loop::LoopbackDeviceUniqueFd loopback_device; in MountPackageImpl()468 Result<loop::LoopbackDeviceUniqueFd> ret = loop::CreateLoopDevice( in MountPackageImpl()507 loop::LoopbackDeviceUniqueFd loop_for_hash; in MountPackageImpl()