Searched refs:new_max (Results 1 – 10 of 10) sorted by relevance
| /netbsd-src/external/cddl/osnet/dist/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 | 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()
|
| /netbsd-src/external/bsd/libevent/dist/ |
| H A D | signal.c | 233 int new_max = evsignal + 1; in evsig_set_handler_() local 236 p = mm_realloc(sig->sh_old, new_max * sizeof(*sig->sh_old)); in evsig_set_handler_() 243 0, (new_max - sig->sh_old_max) * sizeof(*sig->sh_old)); in evsig_set_handler_() 245 sig->sh_old_max = new_max; in evsig_set_handler_()
|
| /netbsd-src/external/gpl2/gettext/dist/gettext-tools/src/ |
| H A D | msgl-fsearch.c | 383 size_t new_max = 2 * accu->nitems2_max + 1; in mult_index_list_accumulate() local 385 if (new_max < need) in mult_index_list_accumulate() 386 new_max = need; in mult_index_list_accumulate() 390 (struct mult_index *) xmalloc (new_max * sizeof (struct mult_index)); in mult_index_list_accumulate() 391 accu->nitems2_max = new_max; in mult_index_list_accumulate()
|
| /netbsd-src/external/mpl/dhcp/dist/common/ |
| H A D | discover.c | 513 int new_max; in add_ipv4_addr_to_interface() local 515 new_max = iface->address_max + 4; in add_ipv4_addr_to_interface() 516 tmp = dmalloc(new_max * sizeof(struct in_addr), MDL); in add_ipv4_addr_to_interface() 526 iface->address_max = new_max; in add_ipv4_addr_to_interface() 551 int new_max; in add_ipv6_addr_to_interface() local 553 new_max = iface->v6address_max + 8; in add_ipv6_addr_to_interface() 554 tmp = dmalloc(new_max * sizeof(struct in6_addr), MDL); in add_ipv6_addr_to_interface() 564 iface->v6address_max = new_max; in add_ipv6_addr_to_interface()
|
| /netbsd-src/sys/kern/ |
| H A D | kern_veriexec.c | 270 unsigned int new_max; in veriexec_fpops_add() local 273 new_max = veriexec_name_max + 64; in veriexec_fpops_add() 274 newp = kmem_zalloc(new_max, KM_SLEEP); in veriexec_fpops_add() 275 strlcpy(newp, veriexec_fp_names, new_max); in veriexec_fpops_add() 278 veriexec_name_max = new_max; in veriexec_fpops_add()
|
| H A D | init_sysctl.c | 703 int error, new_vnodes, old_vnodes, new_max; in sysctl_kern_maxvnodes() local 721 new_max = calc_cache_size(vmem_size(kmem_arena, VMEM_FREE|VMEM_ALLOC), in sysctl_kern_maxvnodes() 723 if (new_vnodes > new_max) in sysctl_kern_maxvnodes() 724 new_vnodes = new_max; in sysctl_kern_maxvnodes()
|
| /netbsd-src/sys/dist/pf/net/ |
| H A D | pf_if.c | 620 int new_max = pfi_buffer_max * 2; in pfi_address_add() local 622 if (new_max > PFI_BUFFER_MAX) { in pfi_address_add() 627 p = malloc(new_max * sizeof(*pfi_buffer), PFI_MTYPE, M_NOWAIT); in pfi_address_add() 637 pfi_buffer_max = new_max; in pfi_address_add()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
| H A D | vr-values.c | 2964 tree new_max = vr_result->max (); in extract_range_from_phi_node() local 2977 new_max = lhs_vr->max (); in extract_range_from_phi_node() 2982 new_max = int_const_binop (MINUS_EXPR, in extract_range_from_phi_node() 2986 vr_result->update (new_min, new_max, vr_result->kind ()); in extract_range_from_phi_node()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | vr-values.cc | 2860 tree new_max = vr_result->max (); in extract_range_from_phi_node() local 2873 new_max = lhs_vr->max (); in extract_range_from_phi_node() 2878 new_max = int_const_binop (MINUS_EXPR, in extract_range_from_phi_node() 2882 vr_result->update (new_min, new_max, vr_result->kind ()); in extract_range_from_phi_node()
|