Searched defs:fd_index (Results 1 - 2 of 2) sorted by relevance

/dovecot/src/lib/
H A Dioloop-epoll.c17 ARRAY(struct io_list *) fd_index; member in struct:ioloop_handler_context
28 i_array_init(&ctx->fd_index, initial_fd_count);
48 list = array_get_modifiable(&ctx->fd_index, &count);
54 array_free(&ioloop->handler_context->fd_index);
93 list = array_idx_get_space(&ctx->fd_index, io->fd);
134 list = array_idx_modifiable(&ctx->fd_index, io->fd);
H A Dioloop-poll.c18 int *fd_index; member in struct:ioloop_handler_context
30 ctx->fd_index = i_new(int, ctx->idx_count);
31 memset(ctx->fd_index, 0xff, sizeof(int) * ctx->idx_count);
37 i_free(ioloop->handler_context->fd_index);
58 ctx->fd_index = i_realloc_type(ctx->fd_index, int,
60 memset(ctx->fd_index + old_count, 0xff,
74 if (ctx->fd_index[fd] != -1) {
76 index = ctx->fd_index[fd];
81 ctx->fd_index[f
[all...]

Completed in 10 milliseconds