Home | History | Annotate | Download | only in libdrm

Lines Matching full:nr_fds

2612 static int nr_fds = 0;
2626 for (i = 0; i < nr_fds; i++)
2635 if (fd < 0 || nr_fds == DRM_MAX_FDS)
2638 connection[nr_fds].BusID = strdup(BusID);
2639 connection[nr_fds].fd = fd;
2640 connection[nr_fds].refcount = 1;
2641 connection[nr_fds].type = type;
2646 nr_fds, connection[nr_fds].BusID,
2647 strcmp(BusID, connection[nr_fds].BusID));
2649 nr_fds++;
2658 for (i = 0; i < nr_fds; i++) {
2664 if (i < --nr_fds)
2665 connection[i] = connection[nr_fds];