Home
last modified time | relevance | path

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

/system/vold/
DLoop.cpp54 int Loop::create(const std::string& target, std::string& out_device) { in create() argument
67 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()
DLoop.h29 static int create(const std::string& file, std::string& out_device);
/system/extras/boot_control_copy/
Dboot_control_copy.cpp43 static bool get_dev_t_for_partition(const char *name, dev_t *out_device) in get_dev_t_for_partition() argument
58 *out_device = statbuf.st_rdev; in get_dev_t_for_partition()