Lines Matching refs:fd
51 static void writable(evContext opaqueCtx, void *uap, int fd, int evmask);
52 static void readable(evContext opaqueCtx, void *uap, int fd, int evmask);
67 evWrite(evContext opaqueCtx, int fd, const struct iovec *iov, int iocnt,
77 new->fd = fd;
79 if (evSelectFD(opaqueCtx, fd, EV_WRITE, writable, new, &new->file) < 0)
101 evRead(evContext opaqueCtx, int fd, const struct iovec *iov, int iocnt,
111 new->fd = fd;
113 if (evSelectFD(opaqueCtx, fd, EV_READ, readable, new, &new->file) < 0)
270 writable(evContext opaqueCtx, void *uap, int fd, int evmask) {
276 bytes = writev(fd, str->iovCur, str->iovCurCount);
293 readable(evContext opaqueCtx, void *uap, int fd, int evmask) {
299 bytes = readv(fd, str->iovCur, str->iovCurCount);