Searched refs:poll_array_size (Results 1 – 2 of 2) sorted by relevance
766 static int poll_array_size = 0; in add_to_poll_list() local771 if (num_fds == poll_array_size) { in add_to_poll_list()775 if (poll_array_size != 0) { in add_to_poll_list()781 poll_array_size += POLL_ARRAY_INC_SIZE; in add_to_poll_list()786 malloc(poll_array_size * sizeof (struct pollfd) + 256); in add_to_poll_list()788 malloc(poll_array_size * sizeof (struct conn_entry) + 256); in add_to_poll_list()
815 static int poll_array_size = 0; in add_to_poll_list() local820 if (num_fds == poll_array_size) { in add_to_poll_list()824 if (poll_array_size != 0) { in add_to_poll_list()830 poll_array_size += POLL_ARRAY_INC_SIZE; in add_to_poll_list()836 malloc(poll_array_size * sizeof (struct pollfd) + 256); in add_to_poll_list()838 malloc(poll_array_size * sizeof (struct conn_entry) + 256); in add_to_poll_list()