/titanic_41/usr/src/lib/libresolv2/common/isc/ |
H A D | ev_streams.c | 42 static void done(evContext opaqueCtx, evStream *str); 43 static void writable(evContext opaqueCtx, void *uap, int fd, int evmask); 44 static void readable(evContext opaqueCtx, void *uap, int fd, int evmask); 57 evWrite(evContext opaqueCtx, int fd, const struct iovec *iov, int iocnt, in evWrite() argument 60 evContext_p *ctx = opaqueCtx.opaque; in evWrite() 69 if (evSelectFD(opaqueCtx, fd, EV_WRITE, writable, new, &new->file) < 0) in evWrite() 91 evRead(evContext opaqueCtx, int fd, const struct iovec *iov, int iocnt, in evRead() argument 94 evContext_p *ctx = opaqueCtx.opaque; in evRead() 103 if (evSelectFD(opaqueCtx, fd, EV_READ, readable, new, &new->file) < 0) in evRead() 125 evTimeRW(evContext opaqueCtx, evStreamID id, evTimerID timer) /*ARGSUSED*/ { in evTimeRW() argument [all …]
|
H A D | ev_connects.c | 63 evListen(evContext opaqueCtx, int fd, int maxconn, in evListen() argument 66 evContext_p *ctx = opaqueCtx.opaque; in evListen() 90 if (evSelectFD(opaqueCtx, fd, EV_READ, listener, new, &new->file) < 0){ in evListen() 112 evConnect(evContext opaqueCtx, int fd, const void *ra, int ralen, in evConnect() argument 115 evContext_p *ctx = opaqueCtx.opaque; in evConnect() 121 if (evSelectFD(opaqueCtx, fd, EV_MASK_ALL, in evConnect() 136 (void) evDeselectFD(opaqueCtx, new->file); in evConnect() 156 evCancelConn(evContext opaqueCtx, evConnID id) { in evCancelConn() argument 157 evContext_p *ctx = opaqueCtx.opaque; in evCancelConn() 163 (void) evDeselectFD(opaqueCtx, this->file); in evCancelConn() [all …]
|
H A D | ev_timers.c | 142 evLastEventTime(evContext opaqueCtx) { in evLastEventTime() argument 143 evContext_p *ctx = opaqueCtx.opaque; in evLastEventTime() 167 evSetTimer(evContext opaqueCtx, in evSetTimer() argument 174 evContext_p *ctx = opaqueCtx.opaque; in evSetTimer() 227 evClearTimer(evContext opaqueCtx, evTimerID id) { in evClearTimer() argument 228 evContext_p *ctx = opaqueCtx.opaque; in evClearTimer() 259 evConfigTimer(evContext opaqueCtx, in evConfigTimer() argument 264 evContext_p *ctx = opaqueCtx.opaque; in evConfigTimer() 284 evResetTimer(evContext opaqueCtx, in evResetTimer() argument 291 evContext_p *ctx = opaqueCtx.opaque; in evResetTimer() [all …]
|
H A D | eventlib.c | 67 evCreate(evContext *opaqueCtx) { in evCreate() argument 138 opaqueCtx->opaque = ctx; in evCreate() 143 evSetDebug(evContext opaqueCtx, int level, FILE *output) { in evSetDebug() argument 144 evContext_p *ctx = opaqueCtx.opaque; in evSetDebug() 151 evDestroy(evContext opaqueCtx) { in evDestroy() argument 152 evContext_p *ctx = opaqueCtx.opaque; in evDestroy() 162 (void) evCancelConn(opaqueCtx, id); in evDestroy() 171 (void) evCancelRW(opaqueCtx, id); in evDestroy() 179 (void) evDeselectFD(opaqueCtx, id); in evDestroy() 211 evGetNext(evContext opaqueCtx, evEvent *opaqueEv, int options) { in evGetNext() argument [all …]
|
H A D | ev_waits.c | 51 evWaitFor(evContext opaqueCtx, const void *tag, in evWaitFor() argument 54 evContext_p *ctx = opaqueCtx.opaque; in evWaitFor() 79 evDo(evContext opaqueCtx, const void *tag) { in evDo() argument 80 evContext_p *ctx = opaqueCtx.opaque; in evDo() 106 evUnwait(evContext opaqueCtx, evWaitID id) { in evUnwait() argument 107 evContext_p *ctx = opaqueCtx.opaque; in evUnwait() 164 evDefer(evContext opaqueCtx, evWaitFunc func, void *uap) { in evDefer() argument 165 evContext_p *ctx = opaqueCtx.opaque; in evDefer()
|
H A D | ev_files.c | 45 evSelectFD(evContext opaqueCtx, in evSelectFD() argument 52 evContext_p *ctx = opaqueCtx.opaque; in evSelectFD() 156 evDeselectFD(evContext opaqueCtx, evFileID opaqueID) { in evDeselectFD() argument 157 evContext_p *ctx = opaqueCtx.opaque; in evDeselectFD()
|