Searched refs:out_device (Results 1 – 3 of 3) sorted by relevance
54 int Loop::create(const std::string& target, std::string& out_device) { in create() argument67 out_device = StringPrintf("/dev/block/loop%d", num); in create()81 if (!android::fs_mgr::WaitForFile(out_device, 2s)) { in create()82 LOG(ERROR) << "Failed to find " << out_device; in create()85 unique_fd device_fd(open(out_device.c_str(), O_RDWR | O_CLOEXEC)); in create()87 PLOG(ERROR) << "Failed to open " << out_device; in create()
29 static int create(const std::string& file, std::string& out_device);
43 static bool get_dev_t_for_partition(const char *name, dev_t *out_device) in get_dev_t_for_partition() argument58 *out_device = statbuf.st_rdev; in get_dev_t_for_partition()