Searched refs:targetFd (Results 1 - 1 of 1) sorted by relevance
/base/update/sys_installer/services/module_update/src/ |
H A D | module_loop.cpp | 193 bool ConfigureLoopDevice(const int deviceFd, const int targetFd, struct loop_info64 li, const bool useBufferedIo) in ConfigureLoopDevice() argument 198 config.fd = targetFd; in ConfigureLoopDevice() 215 bool SetLoopDeviceStatus(const int deviceFd, const int targetFd, const struct loop_info64 *li) in SetLoopDeviceStatus() argument 217 int ret = ioctl(deviceFd, LOOP_SET_FD, targetFd); in SetLoopDeviceStatus() 247 UniqueFd targetFd(open(realPath.c_str(), O_RDONLY | O_CLOEXEC | O_DIRECT)); in SetUpLoopDevice() 248 if (targetFd.Get() == -1) { in SetUpLoopDevice() 261 targetFd = UniqueFd(open(realPath.c_str(), O_RDONLY | O_CLOEXEC)); in SetUpLoopDevice() 262 if (targetFd.Get() == -1) { in SetUpLoopDevice() 278 return useLoopConfigure ? ConfigureLoopDevice(deviceFd, targetFd.Get(), li, useBufferedIo) in SetUpLoopDevice() 279 : SetLoopDeviceStatus(deviceFd, targetFd in SetUpLoopDevice() [all...] |
Completed in 1 milliseconds