Searched refs:old_alloc (Results 1 – 2 of 2) sorted by relevance
937 u_int i, old_alloc, new_alloc; in new_socket() local956 old_alloc = sockets_alloc; in new_socket()959 for (i = old_alloc; i < new_alloc; i++) in new_socket()962 sockets[old_alloc].fd = fd; in new_socket()963 if ((sockets[old_alloc].input = sshbuf_new()) == NULL) in new_socket()965 if ((sockets[old_alloc].output = sshbuf_new()) == NULL) in new_socket()967 if ((sockets[old_alloc].request = sshbuf_new()) == NULL) in new_socket()969 sockets[old_alloc].type = type; in new_socket()
715 unsigned int old_alloc = wq->alloc; in gl_waitqueue_add() local718 if (old_offset + old_count > old_alloc) in gl_waitqueue_add()720 unsigned int limit = old_offset + old_count - old_alloc; in gl_waitqueue_add()722 new_array[old_alloc + i] = new_array[i]; in gl_waitqueue_add()