Searched refs:nr_fds (Results 1 – 3 of 3) sorted by relevance
135 int nr_fds; in do_os_wrappers_socket_cloexec() local137 nr_fds = count_open_fds(); in do_os_wrappers_socket_cloexec()149 exec_fd_leak_check(nr_fds); in do_os_wrappers_socket_cloexec()171 int nr_fds; in do_os_wrappers_dupfd_cloexec() local173 nr_fds = count_open_fds(); in do_os_wrappers_dupfd_cloexec()189 exec_fd_leak_check(nr_fds); in do_os_wrappers_dupfd_cloexec()341 int nr_fds; in do_os_wrappers_epoll_create_cloexec() local343 nr_fds = count_open_fds(); in do_os_wrappers_epoll_create_cloexec()354 exec_fd_leak_check(nr_fds); in do_os_wrappers_epoll_create_cloexec()
102 int nr_fds = count_open_fds(); in FAIL_TEST() local109 exec_fd_leak_check(nr_fds); in FAIL_TEST()115 int nr_fds = count_open_fds(); in TEST() local120 exec_fd_leak_check(nr_fds + 2); in TEST()
2688 static int nr_fds = 0; variable2701 for (i = 0; i < nr_fds; i++) in drmOpenOnceWithType()2710 if (fd < 0 || nr_fds == DRM_MAX_FDS) in drmOpenOnceWithType()2713 connection[nr_fds].BusID = strdup(BusID); in drmOpenOnceWithType()2714 connection[nr_fds].fd = fd; in drmOpenOnceWithType()2715 connection[nr_fds].refcount = 1; in drmOpenOnceWithType()2716 connection[nr_fds].type = type; in drmOpenOnceWithType()2721 nr_fds, connection[nr_fds].BusID, in drmOpenOnceWithType()2722 strcmp(BusID, connection[nr_fds].BusID)); in drmOpenOnceWithType()2724 nr_fds++; in drmOpenOnceWithType()[all …]