Searched refs:ufds (Results 1 – 2 of 2) sorted by relevance
36 static struct pollfd *ufds; variable362 new_ufds = realloc(ufds, sizeof(ufds[0]) * (nfds + 1)); in open_device()367 ufds = new_ufds; in open_device()403 ufds[nfds].fd = fd; in open_device()404 ufds[nfds].events = POLLIN; in open_device()421 memmove(ufds + i, ufds + i + 1, sizeof(ufds[0]) * count); in close_device()614 ufds = calloc(1, sizeof(ufds[0])); in getevent_main()615 ufds[0].fd = inotify_init(); in getevent_main()616 ufds[0].events = POLLIN; in getevent_main()658 poll(ufds, nfds, -1); in getevent_main()[all …]
318 struct pollfd ufds[1]; in PollIn() local319 ufds[0].fd = socket_; in PollIn()320 ufds[0].events = POLLIN; in PollIn()321 ufds[0].revents = 0; in PollIn()324 int nr = poll(ufds, 1, *timeout_ms); in PollIn()