Lines Matching refs:poll_ctx
37 struct poll_ctx {
47 struct poll_ctx* previous; /* context from previous start()..stop() period */
61 handle->poll_ctx = NULL;
70 struct poll_ctx* ctx;
103 if (handle->poll_ctx != NULL)
104 ctx->previous = handle->poll_ctx;
105 handle->poll_ctx = ctx;
117 struct poll_ctx* ctx;
122 ctx = handle->poll_ctx;
139 struct poll_ctx* ctx;
147 ctx = handle->poll_ctx;
167 if (handle->poll_ctx == NULL)
173 struct poll_ctx* ctx;
175 ctx = container_of(timer, struct poll_ctx, timer_handle);
177 assert(ctx->parent_handle->poll_ctx == ctx);
187 struct poll_ctx* ctx;
191 ctx = container_of(req, struct poll_ctx, fs_req);
235 struct poll_ctx* ctx;
236 struct poll_ctx* it;
237 struct poll_ctx* last;
240 ctx = container_of(timer, struct poll_ctx, timer_handle);
242 if (ctx == handle->poll_ctx) {
243 handle->poll_ctx = ctx->previous;
244 if (handle->poll_ctx == NULL && uv__is_closing(handle))
247 for (last = handle->poll_ctx, it = last->previous;