Searched refs:targetFd (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/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 … 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() local 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.Get(), &li); in SetUpLoopDevice()
|
/ohos5.0/commonlibrary/c_utils/base/src/ |
H A D | event_demultiplexer.cpp | 124 int targetFd = epollEvents[idx].data.fd; in Polling() local 127 auto itor = eventHandlers_.find(targetFd); in Polling() 132 UTILS_LOGE("fd not found in eventHandlers_, fd=%{public}d", targetFd); in Polling()
|