Home
last modified time | relevance | path

Searched refs:out_lo_dev_name (Results 1 – 2 of 2) sorted by relevance

/system/update_engine/common/
Dtest_utils.cc153 string* out_lo_dev_name) { in BindToUnusedLoopDevice() argument
154 CHECK(out_lo_dev_name); in BindToUnusedLoopDevice()
161 *out_lo_dev_name = StringPrintf("/dev/loop%d", loop_number); in BindToUnusedLoopDevice()
165 HANDLE_EINTR(open(out_lo_dev_name->c_str(), O_RDWR | O_LARGEFILE)); in BindToUnusedLoopDevice()
168 TEST_AND_RETURN_FALSE_ERRNO(mknod(out_lo_dev_name->c_str(), in BindToUnusedLoopDevice()
172 HANDLE_EINTR(open(out_lo_dev_name->c_str(), O_RDWR | O_LARGEFILE)); in BindToUnusedLoopDevice()
180 PLOG(ERROR) << "Loop device " << out_lo_dev_name->c_str() in BindToUnusedLoopDevice()
Dtest_utils.h68 std::string* out_lo_dev_name);