Searched refs:new_max (Results 1 - 8 of 8) sorted by relevance

/freebsd-13-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_map.c72 int new_max = maxformat ? (maxformat << 1) : 1; local
73 size_t nsize = new_max * sizeof (void *);
86 *max = new_max;
120 dtrace_id_t new_max = max ? (max << 1) : 1; local
121 size_t nsize = new_max * sizeof (void *);
146 dtp->dt_maxprobe = new_max;
330 dtrace_id_t new_max = max ? (max << 1) : 1; local
331 size_t nsize = new_max * sizeof (void *);
346 dtp->dt_maxagg = new_max;
H A Ddt_provider.c590 uint_t new_max = *maxoffs * 2; local
591 uint32_t *new_offs = dt_alloc(dtp, sizeof (uint32_t) * new_max);
599 *maxoffs = new_max;
/freebsd-13-stable/contrib/libevent/
H A Dsignal.c228 int new_max = evsignal + 1; local
231 p = mm_realloc(sig->sh_old, new_max * sizeof(*sig->sh_old));
238 0, (new_max - sig->sh_old_max) * sizeof(*sig->sh_old));
240 sig->sh_old_max = new_max;
/freebsd-13-stable/contrib/ntp/sntp/libevent/
H A Dsignal.c228 int new_max = evsignal + 1; local
231 p = mm_realloc(sig->sh_old, new_max * sizeof(*sig->sh_old));
238 0, (new_max - sig->sh_old_max) * sizeof(*sig->sh_old));
240 sig->sh_old_max = new_max;
/freebsd-13-stable/contrib/libxo/encoder/csv/
H A Denc_csv.c516 ssize_t new_max = csv->c_leaf_max * 2; local
517 if (new_max == 0)
518 new_max = C_LEAF_MAX;
520 lp = xo_realloc(csv->c_leaf, new_max * sizeof(*lp));
529 csv->c_leaf_max = new_max;
/freebsd-13-stable/contrib/apr/tables/
H A Dapr_hash.c197 unsigned int new_max; local
199 new_max = ht->max * 2 + 1;
200 new_array = alloc_array(ht, new_max);
202 unsigned int i = hi->this->hash & new_max;
207 ht->max = new_max;
/freebsd-13-stable/sys/netpfil/pf/
H A Dpf_if.c695 int new_max = V_pfi_buffer_max * 2; local
697 if (new_max > PFI_BUFFER_MAX) {
702 p = malloc(new_max * sizeof(*V_pfi_buffer), PFI_MTYPE,
713 V_pfi_buffer_max = new_max;
/freebsd-13-stable/sys/netinet/
H A Dsctp_usrreq.c5641 uint32_t new_init, new_min, new_max; local
5652 new_max = srto->srto_max;
5654 new_max = stcb->asoc.maxrto;
5659 if ((new_min <= new_init) && (new_init <= new_max)) {
5661 stcb->asoc.maxrto = new_max;
5679 new_max = srto->srto_max;
5681 new_max = inp->sctp_ep.sctp_maxrto;
5686 if ((new_min <= new_init) && (new_init <= new_max)) {
5688 inp->sctp_ep.sctp_maxrto = new_max;

Completed in 137 milliseconds