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.cc117 string* out_lo_dev_name) { in BindToUnusedLoopDevice() argument
118 CHECK(out_lo_dev_name); in BindToUnusedLoopDevice()
125 *out_lo_dev_name = kLoopDevicePrefix + std::to_string(loop_number); in BindToUnusedLoopDevice()
129 HANDLE_EINTR(open(out_lo_dev_name->c_str(), O_RDWR | O_LARGEFILE)); in BindToUnusedLoopDevice()
132 TEST_AND_RETURN_FALSE_ERRNO(mknod(out_lo_dev_name->c_str(), in BindToUnusedLoopDevice()
136 HANDLE_EINTR(open(out_lo_dev_name->c_str(), O_RDWR | O_LARGEFILE)); in BindToUnusedLoopDevice()
144 PLOG(ERROR) << "Loop device " << out_lo_dev_name->c_str() in BindToUnusedLoopDevice()
Dtest_utils.h66 std::string* out_lo_dev_name);