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 …]
2394 (wait_fd): Enclose local variables "num_fds" and "i" LOSING_POLL
110 cleanup(int *fds, int num_fds) in cleanup() argument112 while (num_fds-- > 0) in cleanup()
1105 int n, num_fds; in readwrite() local1148 num_fds = poll(pfd, 4, timeout); in readwrite()1151 if (num_fds == -1) in readwrite()1155 if (num_fds == 0) in readwrite()