Home
last modified time | relevance | path

Searched refs:new_max (Results 1 – 7 of 7) sorted by relevance

/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_map.c72 int new_max = maxformat ? (maxformat << 1) : 1; in dt_strdata_add() local
73 size_t nsize = new_max * sizeof (void *); in dt_strdata_add()
86 *max = new_max; in dt_strdata_add()
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.c591 uint_t new_max = *maxoffs * 2; in dt_probe_define() local
592 uint32_t *new_offs = dt_alloc(dtp, sizeof (uint32_t) * new_max); in dt_probe_define()
600 *maxoffs = new_max; in dt_probe_define()
/freebsd/contrib/ntp/sntp/libevent/
H A Dsignal.c230 int new_max = evsignal + 1; in evsig_set_handler_() local
233 p = mm_realloc(sig->sh_old, new_max * sizeof(*sig->sh_old)); in evsig_set_handler_()
240 0, (new_max - sig->sh_old_max) * sizeof(*sig->sh_old)); in evsig_set_handler_()
242 sig->sh_old_max = new_max; in evsig_set_handler_()
/freebsd/contrib/libevent/
H A Dsignal.c230 int new_max = evsignal + 1; in evsig_set_handler_() local
233 p = mm_realloc(sig->sh_old, new_max * sizeof(*sig->sh_old)); in evsig_set_handler_()
240 0, (new_max - sig->sh_old_max) * sizeof(*sig->sh_old)); in evsig_set_handler_()
242 sig->sh_old_max = new_max; in evsig_set_handler_()
/freebsd/contrib/libxo/encoder/csv/
H A Denc_csv.c516 ssize_t new_max = csv->c_leaf_max * 2; in csv_leaf_num() local
517 if (new_max == 0) in csv_leaf_num()
518 new_max = C_LEAF_MAX; in csv_leaf_num()
520 lp = xo_realloc(csv->c_leaf, new_max * sizeof(*lp)); in csv_leaf_num()
529 csv->c_leaf_max = new_max; in csv_leaf_num()
/freebsd/sys/netpfil/pf/
H A Dpf_if.c734 int new_max = V_pfi_buffer_max * 2; in pfi_address_add() local
736 if (new_max > PFI_BUFFER_MAX) { in pfi_address_add()
741 p = malloc(new_max * sizeof(*V_pfi_buffer), PFI_MTYPE, in pfi_address_add()
752 V_pfi_buffer_max = new_max; in pfi_address_add()
/freebsd/sys/netinet/
H A Dsctp_usrreq.c5611 uint32_t new_init, new_min, new_max; local
5622 new_max = srto->srto_max;
5624 new_max = stcb->asoc.maxrto;
5629 if ((new_min <= new_init) && (new_init <= new_max)) {
5631 stcb->asoc.maxrto = new_max;
5649 new_max = srto->srto_max;
5651 new_max = inp->sctp_ep.sctp_maxrto;
5656 if ((new_min <= new_init) && (new_init <= new_max)) {
5658 inp->sctp_ep.sctp_maxrto = new_max;