Searched refs:old_alloc (Results 1 – 2 of 2) sorted by relevance
972 u_int i, old_alloc, new_alloc; in new_socket() local991 old_alloc = sockets_alloc; in new_socket()994 for (i = old_alloc; i < new_alloc; i++) in new_socket()997 sockets[old_alloc].fd = fd; in new_socket()998 if ((sockets[old_alloc].input = sshbuf_new()) == NULL) in new_socket()1000 if ((sockets[old_alloc].output = sshbuf_new()) == NULL) in new_socket()1002 if ((sockets[old_alloc].request = sshbuf_new()) == NULL) in new_socket()1004 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()