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() argument42 LoopbackDeviceUniqueFd& operator=(LoopbackDeviceUniqueFd&& other) noexcept {49 ~LoopbackDeviceUniqueFd() { MaybeCloseBad(); } in ~LoopbackDeviceUniqueFd() argument62 android::base::Result<LoopbackDeviceUniqueFd> createLoopDevice( argument
61 void LoopbackDeviceUniqueFd::MaybeCloseBad() { in MaybeCloseBad()129 Result<LoopbackDeviceUniqueFd> createLoopDevice(const std::string& target, in createLoopDevice()168 LoopbackDeviceUniqueFd device_fd; in createLoopDevice()184 device_fd = LoopbackDeviceUniqueFd(std::move(sysfs_fd), device); in createLoopDevice()
393 loop::LoopbackDeviceUniqueFd loopbackDevice; in MountPackageImpl()395 Result<loop::LoopbackDeviceUniqueFd> ret = loop::createLoopDevice( in MountPackageImpl()424 loop::LoopbackDeviceUniqueFd loop_for_hash; in MountPackageImpl()