Searched refs:LoopbackDeviceUniqueFd (Results 1 – 3 of 3) sorted by relevance
33 struct LoopbackDeviceUniqueFd { struct37 LoopbackDeviceUniqueFd() {} in LoopbackDeviceUniqueFd() argument38 LoopbackDeviceUniqueFd(unique_fd&& fd, const std::string& name) in LoopbackDeviceUniqueFd() argument41 LoopbackDeviceUniqueFd(LoopbackDeviceUniqueFd&& fd) noexcept in LoopbackDeviceUniqueFd() argument43 LoopbackDeviceUniqueFd& operator=(LoopbackDeviceUniqueFd&& other) noexcept {50 ~LoopbackDeviceUniqueFd() { MaybeCloseBad(); } in ~LoopbackDeviceUniqueFd() argument63 StatusOr<LoopbackDeviceUniqueFd> createLoopDevice(const std::string& target, argument
58 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()
409 loop::LoopbackDeviceUniqueFd loopbackDevice; in mountNonFlattened()411 StatusOr<loop::LoopbackDeviceUniqueFd> ret = loop::createLoopDevice( in mountNonFlattened()