Searched refs:new_max (Results 1 – 9 of 9) sorted by relevance
| /freebsd-12-stable/cddl/contrib/opensolaris/lib/libdtrace/common/ |
| D | dt_map.c | 72 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;
|
| D | dt_provider.c | 590 uint_t new_max = *maxoffs * 2; in dt_probe_define() local 591 uint32_t *new_offs = dt_alloc(dtp, sizeof (uint32_t) * new_max); in dt_probe_define() 599 *maxoffs = new_max; in dt_probe_define()
|
| /freebsd-12-stable/contrib/ntp/sntp/libevent/ |
| D | signal.c | 230 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-12-stable/contrib/libevent/ |
| D | signal.c | 230 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-12-stable/contrib/apr/tables/ |
| D | apr_hash.c | 197 unsigned int new_max; in expand_array() local 199 new_max = ht->max * 2 + 1; in expand_array() 200 new_array = alloc_array(ht, new_max); in expand_array() 202 unsigned int i = hi->this->hash & new_max; in expand_array() 207 ht->max = new_max; in expand_array()
|
| /freebsd-12-stable/sys/netpfil/pf/ |
| D | pf_if.c | 721 int new_max = V_pfi_buffer_max * 2; in pfi_address_add() local 723 if (new_max > PFI_BUFFER_MAX) { in pfi_address_add() 728 p = malloc(new_max * sizeof(*V_pfi_buffer), PFI_MTYPE, in pfi_address_add() 739 V_pfi_buffer_max = new_max; in pfi_address_add()
|
| /freebsd-12-stable/contrib/gcc/ |
| D | stor-layout.c | 1992 tree orig_max, new_max; in set_sizetype() local 1997 new_max = build_int_cst_wide (sizetype, in set_sizetype() 2003 new_max = force_fit_type (new_max, 0, 0, 0); in set_sizetype() 2004 TYPE_MAX_VALUE (sizetype) = new_max; in set_sizetype()
|
| D | tree-vrp.c | 2084 tree new_min, new_max, orig_min, orig_max; in extract_range_from_unary_expr() local 2101 new_max = fold_convert (outer_type, orig_max); in extract_range_from_unary_expr() 2107 && is_gimple_val (new_max) in extract_range_from_unary_expr() 2109 && tree_int_cst_equal (new_max, orig_max) in extract_range_from_unary_expr() 2111 || !is_overflow_infinity (new_max)) in extract_range_from_unary_expr() 2112 && compare_values (new_min, new_max) <= 0 in extract_range_from_unary_expr() 2113 && compare_values (new_min, new_max) >= -1) in extract_range_from_unary_expr() 2115 set_value_range (vr, VR_RANGE, new_min, new_max, vr->equiv); in extract_range_from_unary_expr()
|
| /freebsd-12-stable/sys/netinet/ |
| D | sctp_usrreq.c | 5627 uint32_t new_init, new_min, new_max; local 5638 new_max = srto->srto_max; 5640 new_max = stcb->asoc.maxrto; 5645 if ((new_min <= new_init) && (new_init <= new_max)) { 5647 stcb->asoc.maxrto = new_max; 5665 new_max = srto->srto_max; 5667 new_max = inp->sctp_ep.sctp_maxrto; 5672 if ((new_min <= new_init) && (new_init <= new_max)) { 5674 inp->sctp_ep.sctp_maxrto = new_max;
|