Searched refs:FD_COUNT (Results 1 – 1 of 1) sorted by relevance
45 #define FD_COUNT (state->fd_count) macro86 if (FD_COUNT >= FD_SETSIZE) return -1; in isrv_register_fd()87 if (FD_COUNT <= fd) { in isrv_register_fd()88 n = FD_COUNT; in isrv_register_fd()89 FD_COUNT = fd + 1; in isrv_register_fd()91 DPRINTF("register_fd: FD_COUNT %d", FD_COUNT); in isrv_register_fd()93 FD2PEER = xrealloc(FD2PEER, FD_COUNT * sizeof(FD2PEER[0])); in isrv_register_fd()113 if (fd == FD_COUNT-1) { in isrv_close_fd()115 FD_COUNT = fd + 1; in isrv_close_fd()117 DPRINTF("close_fd: FD_COUNT %d", FD_COUNT); in isrv_close_fd()[all …]