Lines Matching defs:fds
56 struct pollfd fds[2];
287 close(ctx->fds[1].fd);
288 ctx->fds[1].fd = -1;
472 ctx->fds[0].fd = libinput_get_fd(ctx->libinput);
485 } while (!stop && poll(ctx->fds, 2, -1) > -1);
501 ctx->fds[0].fd = -1; /* libinput fd */
502 ctx->fds[0].events = POLLIN;
503 ctx->fds[0].revents = 0;
504 ctx->fds[1].fd = -1; /* libevdev fd */
505 ctx->fds[1].events = POLLIN;
506 ctx->fds[1].revents = 0;