Home
last modified time | relevance | path

Searched refs:new_alloc (Results 1 – 9 of 9) sorted by relevance

/freebsd-src/contrib/ntp/libntp/
H A Dwork_thread.c195 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()
H A Dntp_worker.c134 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 Dntp_intres.c926 u_int new_alloc; in reserve_dnschild_ctx() local
939 new_alloc = dnschild_contexts_alloc + 20; in reserve_dnschild_ctx()
940 new_octets = new_alloc * ps; in reserve_dnschild_ctx()
944 dnschild_contexts_alloc = new_alloc; in reserve_dnschild_ctx()
971 u_int new_alloc; in get_worker_context() local
981 new_alloc = (min_new_alloc + 4) & ~(4 - 1); in get_worker_context()
982 new_octets = new_alloc * sizeof(dnsworker_ctx*); in get_worker_context()
986 dnsworker_contexts_alloc = new_alloc; in get_worker_context()
/freebsd-src/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_malloc_win.cpp159 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-src/sys/contrib/openzfs/tests/zfs-tests/include/
H A Dtunables.cfg54 LIVELIST_CONDENSE_NEW_ALLOC livelist.condense.new_alloc zfs_livelist_condense_new_alloc
/freebsd-src/crypto/openssh/
H A Dssh-agent.c1914 u_int i, old_alloc, new_alloc; in new_socket() local
1938 new_alloc = sockets_alloc + 10; in new_socket()
1939 sockets = xrecallocarray(sockets, old_alloc, new_alloc, in new_socket()
1941 for (i = old_alloc; i < new_alloc; i++) in new_socket()
1943 sockets_alloc = new_alloc; in new_socket()
/freebsd-src/sys/dev/pci/
H A Dpci.c1137 int alloc, new_alloc; in alloc_buffer() local
1140 new_alloc = roundup2(needed + 1, 8); in alloc_buffer()
1141 if (alloc != new_alloc) { in alloc_buffer()
1143 new_alloc * element_size, M_DEVBUF, M_WAITOK | M_ZERO); in alloc_buffer()
/freebsd-src/sys/dev/ocs_fc/
H A Docs_hw.c9504 uint8_t new_alloc = TRUE; in ocs_hw_setup_io() local
9536 new_alloc = FALSE; in ocs_hw_setup_io()
9539 if (new_alloc) { in ocs_hw_setup_io()
9580 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()
/freebsd-src/sys/contrib/openzfs/module/zfs/
H A Dspa.c11072 ZFS_MODULE_PARAM(zfs_livelist_condense, zfs_livelist_condense_, new_alloc, INT,