Searched refs:num_fds (Results 1 – 4 of 4) sorted by relevance
157 int num_fds; member507 gdb_notifier.num_fds++; in create_file_handler()511 (gdb_notifier.num_fds in create_file_handler()541 if (gdb_notifier.num_fds <= fd) in create_file_handler()542 gdb_notifier.num_fds = fd + 1; in create_file_handler()596 gdb_notifier.num_fds--; in delete_file_handler()613 if ((fd + 1) == gdb_notifier.num_fds) in delete_file_handler()615 gdb_notifier.num_fds--; in delete_file_handler()616 for (i = gdb_notifier.num_fds; i; i--) in delete_file_handler()623 gdb_notifier.num_fds = i; in delete_file_handler()[all …]
981 unsigned num_fds; in process_loop() local989 num_fds = num_clients; in process_loop()991 for (n = 0 ; n < num_fds; n++) { in process_loop()1002 poll(fds, num_fds, -1); in process_loop()1004 for (n = 0 ; n < num_fds; n++) { in process_loop()
803 int n, num_fds; in readwrite() local852 num_fds = poll(pfd, 4, timeout); in readwrite()855 if (num_fds == -1) { in readwrite()861 if (num_fds == 0) in readwrite()
782 int n, num_fds; in readwrite() local831 num_fds = poll(pfd, 4, timeout); in readwrite()834 if (num_fds == -1) { in readwrite()840 if (num_fds == 0) in readwrite()