Home | History | Annotate | Download | only in debuggerd

Lines Matching defs:nfds

17 static int nfds;
57 new_ufds = realloc(ufds, sizeof(ufds[0]) * (nfds + 1));
63 new_device_names = realloc(device_names, sizeof(device_names[0]) * (nfds + 1));
69 ufds[nfds].fd = fd;
70 ufds[nfds].events = POLLIN;
71 device_names[nfds] = strdup(device);
72 nfds++;
80 for(i = 1; i < nfds; i++) {
82 int count = nfds - i - 1;
86 nfds--;
164 nfds = 1;
183 for(i = 0; i < nfds; i++) {
188 nfds = 0;
198 pollres = poll(ufds, nfds, timeout);
205 for(i = 1; i < nfds; i++) {