Searched refs:new_alloc (Results 1 – 7 of 7) sorted by relevance
| /freebsd-12-stable/contrib/ntp/libntp/ |
| D | work_thread.c | 195 size_t new_alloc; in ensure_workitems_empty_slot() local 201 new_alloc = c->workitems_alloc + WORKITEMS_ALLOC_INC; in ensure_workitems_empty_slot() 202 c->workitems = erealloc(c->workitems, new_alloc * each); in ensure_workitems_empty_slot() 203 for (sidx = c->workitems_alloc; sidx < new_alloc; ++sidx) in ensure_workitems_empty_slot() 207 c->workitems_alloc = new_alloc; in ensure_workitems_empty_slot() 231 size_t new_alloc; in ensure_workresp_empty_slot() local 237 new_alloc = c->responses_alloc + RESPONSES_ALLOC_INC; in ensure_workresp_empty_slot() 238 c->responses = erealloc(c->responses, new_alloc * each); in ensure_workresp_empty_slot() 239 for (sidx = c->responses_alloc; sidx < new_alloc; ++sidx) in ensure_workresp_empty_slot() 243 c->responses_alloc = new_alloc; in ensure_workresp_empty_slot()
|
| 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()
|
| 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-stable/contrib/llvm-project/compiler-rt/lib/asan/ |
| D | asan_malloc_win.cpp | 159 void *new_alloc = malloc(size); in _recalloc() local 160 if (new_alloc) { in _recalloc() 161 REAL(memcpy)(new_alloc, p, Min<size_t>(size, old_size)); in _recalloc() 163 REAL(memset)(((u8 *)new_alloc) + old_size, 0, size - old_size); in _recalloc() 166 return new_alloc; in _recalloc()
|
| /freebsd-12-stable/contrib/libgnuregex/ |
| 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-stable/crypto/openssh/ |
| D | ssh-agent.c | 1734 u_int i, old_alloc, new_alloc; in new_socket() local 1758 new_alloc = sockets_alloc + 10; in new_socket() 1759 sockets = xrecallocarray(sockets, old_alloc, new_alloc, in new_socket() 1761 for (i = old_alloc; i < new_alloc; i++) in new_socket() 1763 sockets_alloc = new_alloc; in new_socket()
|
| /freebsd-12-stable/sys/dev/ocs_fc/ |
| D | ocs_hw.c | 9520 uint8_t new_alloc = TRUE; in ocs_hw_setup_io() local 9552 new_alloc = FALSE; in ocs_hw_setup_io() 9555 if (new_alloc) { in ocs_hw_setup_io() 9596 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()
|