Lines Matching refs:fdInfo
136 FdInfo* fdInfo = lookupFdInfo(fd); in read() local
137 if (!fdInfo) { in read()
144 ssize_t res = android_pipe_guest_recv(fdInfo->hostPipe, &buf, 1); in read()
166 FdInfo* fdInfo = lookupFdInfo(fd); in write() local
167 if (!fdInfo) { in write()
173 return writeInternal(&fdInfo->hostPipe, buffer, len); in write()
190 const FdInfo* fdInfo = lookupFdInfo(fd); in poll() local
191 if (!fdInfo) { in poll()
196 return android_pipe_guest_poll(fdInfo->hostPipe); in poll()
203 FdInfo* fdInfo = lookupFdInfo(fd); in setWakeCallback() local
204 if (fdInfo) { in setWakeCallback()
205 fdInfo->wakeCallback = std::move(callback); in setWakeCallback()
212 const FdInfo* fdInfo = lookupFdInfo(fd); in getHostPipe() local
213 return fdInfo ? fdInfo->hostPipe : nullptr; in getHostPipe()
274 FdInfo* fdInfo = lookupFdInfo(fd); in saveSnapshot() local
275 if (!fdInfo) { in saveSnapshot()
286 android_pipe_guest_save(fdInfo->hostPipe, cStream); in saveSnapshot()
434 const FdInfo* fdInfo = lookupFdInfo(fd); in signalWake() local
435 if (fdInfo) { in signalWake()
436 fdInfo->wakeCallback(wakes); in signalWake()