Lines Matching refs:ctx
57 static void listener(evContext ctx, void *uap, int fd, int evmask);
58 static void connector(evContext ctx, void *uap, int fd, int evmask);
66 evContext_p *ctx = opaqueCtx.opaque;
101 if (ctx->conns != NULL)
102 ctx->conns->prev = new;
104 new->next = ctx->conns;
105 ctx->conns = new;
115 evContext_p *ctx = opaqueCtx.opaque;
145 if (ctx->conns != NULL)
146 ctx->conns->prev = new;
148 new->next = ctx->conns;
149 ctx->conns = new;
157 evContext_p *ctx = opaqueCtx.opaque;
179 /* Unlink from ctx->conns. */
183 ctx->conns = this->next;
188 * Remove `this' from the ctx->accepts list (zero or more times).
190 for (acc = HEAD(ctx->accepts), nxtacc = NULL;
196 UNLINK(ctx->accepts, acc, link);
239 evContext_p *ctx = opaqueCtx.opaque;
251 if (new->fd > ctx->highestFD) {
272 APPEND(ctx->accepts, new, link);
281 evContext_p *ctx = opaqueCtx.opaque;
296 if (new > ctx->highestFD) {