Lines Matching refs:pollfds
630 struct pollfd pollfds[1];
638 pollfds[0].fd = inotify_init();
639 pollfds[0].events = POLLIN;
641 if ( pollfds[0].fd < 0 )
650 inotify_create_watches(pollfds[0].fd);
657 length = poll(pollfds, 1, timeout);
676 length = read(pollfds[0].fd, buffer, BUF_LEN);
696 inotify_insert_directory(pollfds[0].fd, esc_name, path_buf);
706 inotify_insert_directory(pollfds[0].fd, esc_name, path_buf);
727 inotify_remove_directory(pollfds[0].fd, path_buf);
736 inotify_remove_watches(pollfds[0].fd);
738 close(pollfds[0].fd);