Searched refs:new_alloc (Results 1 – 3 of 3) sorted by relevance
45 #define new(t) ((t *) (new_alloc(sizeof (t))))52 void *new_alloc(size_t size);
43 new_alloc(size_t size) in new_alloc() function
690 u_int i, old_alloc, new_alloc; in new_socket() local707 new_alloc = sockets_alloc + 10; in new_socket()708 sockets = xrealloc(sockets, new_alloc * sizeof(sockets[0])); in new_socket()709 for (i = old_alloc; i < new_alloc; i++) in new_socket()711 sockets_alloc = new_alloc; in new_socket()