Searched refs:new_max (Results 1 – 9 of 9) sorted by relevance
| /freebsd/crypto/krb5/src/util/verto/ |
| H A D | ev_select.c | 113 int new_max = word + 1; in select_modify() 115 vec_ri = ev_realloc (vec_ri, new_max * NFDBYTES); in select_modify() 116 vec_ro = ev_realloc (vec_ro, new_max * NFDBYTES); /* could free/malloc */ in select_modify() 117 vec_wi = ev_realloc (vec_wi, new_max * NFDBYTES); in select_modify() 118 vec_wo = ev_realloc (vec_wo, new_max * NFDBYTES); /* could free/malloc */ in select_modify() 120 vec_eo = ev_realloc (vec_eo, new_max * NFDBYTES); /* could free/malloc */ in select_modify() 123 for (; vec_max < new_max; ++vec_max) in select_modify()
|
| /freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/ |
| H A 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;
|
| H A D | dt_provider.c | 591 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/crypto/openssl/ssl/ |
| H A D | priority_queue.c | 295 size_t new_max, cur_max; in ossl_pqueue_reserve() local 305 new_max = compute_pqueue_growth(n + cur_max, cur_max); in ossl_pqueue_reserve() 306 if (new_max == 0) { in ossl_pqueue_reserve() 311 h = OPENSSL_realloc(pq->heap, new_max * sizeof(*pq->heap)); in ossl_pqueue_reserve() 316 e = OPENSSL_realloc(pq->elements, new_max * sizeof(*pq->elements)); in ossl_pqueue_reserve() 321 pq->hmax = new_max; in ossl_pqueue_reserve()
|
| /freebsd/contrib/ntp/sntp/libevent/ |
| H A 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/contrib/libevent/ |
| H A 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/contrib/libxo/encoder/csv/ |
| H A D | enc_csv.c | 516 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 D | pf_if.c | 797 int new_max = V_pfi_buffer_max * 2; in pfi_address_add() local 799 if (new_max > PFI_BUFFER_MAX) { in pfi_address_add() 804 p = malloc(new_max * sizeof(*V_pfi_buffer), PFI_MTYPE, in pfi_address_add() 815 V_pfi_buffer_max = new_max; in pfi_address_add()
|
| /freebsd/sys/netinet/ |
| H A D | sctp_usrreq.c | 5612 uint32_t new_init, new_min, new_max; local 5623 new_max = srto->srto_max; 5625 new_max = stcb->asoc.maxrto; 5630 if ((new_min <= new_init) && (new_init <= new_max)) { 5632 stcb->asoc.maxrto = new_max; 5650 new_max = srto->srto_max; 5652 new_max = inp->sctp_ep.sctp_maxrto; 5657 if ((new_min <= new_init) && (new_init <= new_max)) { 5659 inp->sctp_ep.sctp_maxrto = new_max;
|