Searched refs:new_alloc (Results 1 – 6 of 6) sorted by relevance
| /freebsd-12.1/contrib/ntp/libntp/ |
| H A D | work_thread.c | 205 size_t new_alloc; in ensure_workitems_empty_slot() local 211 new_alloc = c->workitems_alloc + WORKITEMS_ALLOC_INC; in ensure_workitems_empty_slot() 212 c->workitems = erealloc(c->workitems, new_alloc * each); in ensure_workitems_empty_slot() 213 for (sidx = c->workitems_alloc; sidx < new_alloc; ++sidx) in ensure_workitems_empty_slot() 217 c->workitems_alloc = new_alloc; in ensure_workitems_empty_slot() 241 size_t new_alloc; in ensure_workresp_empty_slot() local 247 new_alloc = c->responses_alloc + RESPONSES_ALLOC_INC; in ensure_workresp_empty_slot() 248 c->responses = erealloc(c->responses, new_alloc * each); in ensure_workresp_empty_slot() 249 for (sidx = c->responses_alloc; sidx < new_alloc; ++sidx) in ensure_workresp_empty_slot() 253 c->responses_alloc = new_alloc; in ensure_workresp_empty_slot()
|
| H A D | ntp_worker.c | 134 size_t new_alloc; in available_blocking_child_slot() local 149 new_alloc = blocking_children_alloc + 4; in available_blocking_child_slot() 150 octets = new_alloc * each; in available_blocking_child_slot() 153 blocking_children_alloc = new_alloc; in available_blocking_child_slot()
|
| H A D | ntp_intres.c | 932 u_int new_alloc; in reserve_dnschild_ctx() local 945 new_alloc = dnschild_contexts_alloc + 20; in reserve_dnschild_ctx() 946 new_octets = new_alloc * ps; in reserve_dnschild_ctx() 950 dnschild_contexts_alloc = new_alloc; in reserve_dnschild_ctx() 977 u_int new_alloc; in get_worker_context() local 987 new_alloc = (min_new_alloc + 4) & ~(4 - 1); in get_worker_context() 988 new_octets = new_alloc * sizeof(dnsworker_ctx*); in get_worker_context() 992 dnsworker_contexts_alloc = new_alloc; in get_worker_context()
|
| /freebsd-12.1/contrib/libgnuregex/ |
| H A D | regex_internal.c | 1061 int new_alloc = src1->nelem + src2->nelem + dest->alloc; in re_node_set_add_intersect() local 1062 int *new_elems = re_realloc (dest->elems, int, new_alloc); in re_node_set_add_intersect() 1066 dest->alloc = new_alloc; in re_node_set_add_intersect() 1201 int new_alloc = 2 * (src->nelem + dest->alloc); in re_node_set_merge() local 1202 int *new_buffer = re_realloc (dest->elems, int, new_alloc); in re_node_set_merge() 1206 dest->alloc = new_alloc; in re_node_set_merge() 1580 int new_alloc = 2 * spot->num + 2; in register_state() local 1582 new_alloc); in register_state() 1586 spot->alloc = new_alloc; in register_state()
|
| /freebsd-12.1/crypto/openssh/ |
| H A D | ssh-agent.c | 794 u_int i, old_alloc, new_alloc; in new_socket() local 818 new_alloc = sockets_alloc + 10; in new_socket() 819 sockets = xreallocarray(sockets, new_alloc, sizeof(sockets[0])); in new_socket() 820 for (i = old_alloc; i < new_alloc; i++) in new_socket() 822 sockets_alloc = new_alloc; in new_socket()
|
| /freebsd-12.1/sys/dev/ocs_fc/ |
| H A D | ocs_hw.c | 9511 uint8_t new_alloc = TRUE; in ocs_hw_setup_io() local 9543 new_alloc = FALSE; in ocs_hw_setup_io() 9546 if (new_alloc) { in ocs_hw_setup_io() 9587 if (new_alloc && ocs_dma_alloc(hw->os, &io->def_sgl, hw->config.n_sgl * sizeof(sli4_sge_t), 64)) { in ocs_hw_setup_io()
|