| /netbsd-src/external/mpl/dhcp/dist/common/ |
| H A D | alloc.c | 64 h = dmalloc (sizeof *h, file, line); 174 g = dmalloc (sizeof *g, file, line); 266 rval = (struct dhcp_packet *)dmalloc (sizeof (struct dhcp_packet), 275 struct protocol *rval = dmalloc (sizeof (struct protocol), file, line); 284 dmalloc (sizeof (struct domain_search_list), file, line); 293 dmalloc (sizeof (struct name_server), file, line); 315 rval = dmalloc(sizeof(struct option) + len + 1, file, line); 330 dmalloc (sizeof (struct universe), file, line); 370 return (struct client_lease *)dmalloc (sizeof (struct client_lease), 398 foo = dmalloc (sizeof *foo, file, line); [all …]
|
| H A D | print.c | 55 buf = dmalloc (len + 1, file, line); in quotify_string() 98 buf = dmalloc (nulen + 1, MDL); in quotify_buf() 137 b = dmalloc (bl + 1, file, line); in print_base64() 1203 t = dmalloc (len + 1, MDL); in token_print_indent_concat() 1240 buf = dmalloc (data -> len + 3, MDL); in token_indent_data_string() 1386 buf = dmalloc (1, MDL); in buf_to_hex() 1401 buf = dmalloc (nulen, MDL); in buf_to_hex() 1474 abspath = dmalloc(strlen(buf) + 1, MDL); in absolute_path()
|
| H A D | execute.c | 214 argv = dmalloc((argc + 2) * sizeof(*argv), MDL); 218 argv[0] = dmalloc(strlen(r->data.execute.command) + 1, 237 argv[i] = dmalloc(ds.len + 1, MDL); 372 binding = dmalloc(sizeof(*binding), MDL); 376 dmalloc(strlen 455 binding = dmalloc(sizeof(*binding), MDL); 462 dmalloc(strlen
|
| H A D | discover.c | 295 ifaces->conf.lifc_buf = dmalloc(ifaces->conf.lifc_len, MDL); in begin_iface_scan() 504 iface->addresses = dmalloc(4 * sizeof(struct in_addr), MDL); in add_ipv4_addr_to_interface() 516 tmp = dmalloc(new_max * sizeof(struct in_addr), MDL); in add_ipv4_addr_to_interface() 542 iface->v6addresses = dmalloc(8 * sizeof(struct in6_addr), MDL); in add_ipv6_addr_to_interface() 554 tmp = dmalloc(new_max * sizeof(struct in6_addr), MDL); in add_ipv6_addr_to_interface() 738 tif = (struct ifreq *)dmalloc(sizeof(struct ifreq), 1549 vec = dmalloc ((interface_max + delta) *
|
| H A D | parse.c | 177 s = (char *)dmalloc (len + 1, MDL); 221 if (!(s = (char *)dmalloc (strlen (val) + 1, MDL))) 241 if (!(s = (char *)dmalloc (len + ltid, MDL))) 722 bufp = (unsigned char *)dmalloc (*max * size / 8, MDL); 778 t = (unsigned char *)dmalloc (strlen (val) + 1, MDL); 792 bufp = (unsigned char *)dmalloc (count * size / 8, MDL); 1202 uname = dmalloc (strlen (val) + 1, MDL); 1342 nu_name = dmalloc (strlen (val) + 1, MDL); 1489 ua = dmalloc (universe_max * 2 * sizeof *ua, MDL); 1813 s = dmalloc(tokix + (arrayp ? 1 : 0) + 1, MDL); [all …]
|
| H A D | ctrace.c | 78 ip -> ifp = dmalloc (sizeof *(ip -> ifp), MDL); in trace_interface_input() 91 ip->addresses = dmalloc(sizeof(*ip->addresses), MDL); in trace_interface_input()
|
| H A D | bpf.c | 317 info -> rbuf = dmalloc (info -> rbuf_max, MDL); 332 bpf_fddi_filter = dmalloc (sizeof dhcp_bpf_filter,
|
| /netbsd-src/external/mpl/dhcp/dist/omapip/ |
| H A D | trace.c | 296 vec = dmalloc (((trace_type_max + delta) * in trace_type_stash() 326 ttmp = dmalloc (sizeof *ttmp, file, line); in trace_type_register() 330 ttmp -> name = dmalloc (slen + 1, file, line); in trace_type_register() 360 tim = dmalloc (slen + TRACE_INDEX_MAPPING_SIZE, file, line); in trace_type_record() 490 tpkt = dmalloc((unsigned)tracefile_header.phlen, MDL); in trace_file_replay() 618 (*buf) = dmalloc ((*bufmax), MDL); in trace_get_next_packet() 654 tpkt = dmalloc ((unsigned)tracefile_header.phlen, MDL); in trace_get_packet() 689 tpkt = dmalloc ((unsigned)tracefile_header.phlen, MDL); in trace_get_file()
|
| H A D | handle.c | 87 omapi_handle_table = dmalloc (sizeof *omapi_handle_table, MDL); in omapi_object_handle() 105 new = dmalloc (sizeof *new, MDL); in omapi_object_handle() 180 inner = dmalloc (sizeof *inner, MDL); in omapi_object_handle_in_table() 230 new = dmalloc (sizeof *new, MDL); in omapi_handle_table_enclose()
|
| H A D | array.c | 49 aptr = dmalloc (sizeof (omapi_array_t),file, line); in omapi_array_allocate() 110 newbuf = dmalloc ((array -> max + delta) * sizeof (char *), in omapi_array_set()
|
| H A D | alloc.c | 62 dmalloc(size_t size, const char *file, int line) { in dmalloc() function 548 foo = dmalloc (tsize, file, line); in omapi_object_allocate() 738 t = (omapi_buffer_t *)dmalloc (sizeof *t, file, line); in omapi_buffer_new() 855 new = dmalloc (len, file, line); in omapi_typed_data_new() 964 new = dmalloc (nlen, file, line); in omapi_data_string_new() 1036 new = dmalloc (sizeof *new, file, line); in omapi_value_new() 1114 new = dmalloc ((count * sizeof (omapi_addr_t)) + in omapi_addr_list_new()
|
| H A D | generic.c | 132 va = dmalloc (vm_new * sizeof *va, MDL); in omapi_generic_set_value() 135 ca = dmalloc (vm_new * sizeof *ca, MDL); in omapi_generic_set_value()
|
| H A D | hash.c | 94 rval = dmalloc(sizeof(struct hash_table) + 176 rval = dmalloc (127 * sizeof (struct hash_bucket),
|
| /netbsd-src/external/mpl/dhcp/dist/server/ |
| H A D | salloc.c | 96 rval = dmalloc ((n + 1) * sizeof (struct lease), file, line); 105 rval = dmalloc (n * sizeof (struct lease), file, line); 191 rval = dmalloc (sizeof (struct lease_state), file, line); 243 dmalloc (sizeof (struct permit), file, line));
|
| H A D | ldap_casa.c | 135 tempVar = dmalloc (credential.unLen + 1, MDL); in load_uname_pwd_from_miCASA() 141 tempVar = dmalloc (credential.pwordLen + 1, MDL); in load_uname_pwd_from_miCASA()
|
| H A D | confpars.c | 157 dbuf = dmalloc (ulen + tflen + 1, MDL); in read_conf_file() 920 name = dmalloc (strlen (val) + 1, MDL); 1091 peer -> hba = dmalloc (32, MDL); 1234 name = dmalloc (strlen (val) + 1, MDL); in parse_failover_state_declaration() 2290 name = dmalloc (strlen (tname) + 1, MDL); 2350 dmalloc (class -> lease_limit * 2547 dmalloc (class -> lease_limit * 2631 name = dmalloc (strlen (val) + 1, MDL); 2994 name = dmalloc(strlen(val) + 1, MDL); 3247 dmalloc (buflen, MDL)); in parse_lease_declaration() [all …]
|
| H A D | dhcpd.c | 1145 s = dmalloc(db.len + 1, MDL); in postconf_initialization() 1158 s = dmalloc(db.len + 1, MDL); in postconf_initialization() 1178 s = dmalloc(db.len + 1, MDL); in postconf_initialization() 1192 s = dmalloc(db.len + 1, MDL); in postconf_initialization() 1242 s = dmalloc(db.len + 1, MDL); in postconf_initialization() 1630 ip -> shared_network -> name = dmalloc (strlen (fnn) + 1, MDL); in dhcpd_interface_setup_hook()
|
| H A D | omapi.c | 845 haddr = dmalloc (len, MDL); in dhcp_lease_lookup() 950 host -> name = dmalloc (value -> u.buffer.len + 1, in dhcp_host_set_value() 1244 host -> name = dmalloc (strlen (hnbuf) + 1, MDL); in dhcp_host_signal_handler() 1439 haddr = dmalloc (len, MDL); in dhcp_host_lookup() 1831 dmalloc(class->lease_limit * in class_set_value() 1841 class->name = dmalloc(value->u.buffer.len + 1, MDL); in class_set_value() 2181 char *name = dmalloc(nv->value->u.buffer.len + 1, MDL); in class_lookup() 2407 nname = dmalloc (name -> len + 1, MDL); in binding_scope_set_value() 2456 bp = dmalloc (sizeof *bp, MDL); in binding_scope_set_value() 2484 nname = dmalloc (name -> len + 1, MDL); in binding_scope_get_value()
|
| H A D | ldap.c | 131 inbuf = dmalloc (LDAP_BUFFER_SIZE, MDL); in x_parser_init() 174 if ((temp = dmalloc (size, MDL)) != NULL) in x_parser_resize() 815 keyCn = dmalloc (len + 1, MDL); in ldap_parse_zone() 1069 ns = dmalloc (sizeof (*ns), MDL); in add_to_config_stack() 1126 ret = dmalloc (db.len + 1, MDL); in _do_lookup_dhcp_string_option() 2173 ret = dmalloc (strlen (name[0]->bv_val) + 1, MDL); in ldap_get_host_name() 2402 curr = dmalloc (sizeof (*curr), MDL); in ldap_read_config() 2406 curr->dn = dmalloc (length + 1, MDL); in ldap_read_config() 2931 dmalloc ((*newclass)->lease_limit * sizeof (struct lease *), MDL); in find_subclass_in_ldap()
|
| H A D | mdb6.c | 218 tmp = dmalloc(sizeof(*tmp), file, line); in iasubopt_allocate() 359 tmp = dmalloc(sizeof(*tmp), file, line); in ia_allocate() 459 new = dmalloc(max * sizeof(struct iasubopt *), file, line); in ia_add_iasubopt() 660 tmp = dmalloc(sizeof(*tmp), file, line); in ipv6_pool_allocate() 1995 new_pools = dmalloc(sizeof(struct ipv6_pool *) * (num_pools+1), MDL); in add_ipv6_pool() 2550 tmp = dmalloc(sizeof(*tmp), file, line); in ipv6_pond_allocate()
|
| /netbsd-src/external/mpl/dhcp/dist/client/ |
| H A D | clparse.c | 241 dmalloc (sizeof (struct client_state), MDL); in read_client_conf() 251 dmalloc (sizeof (struct client_config), in read_client_conf() 500 cat_list = dmalloc(sizeof(struct option *) * (i + tmp + 1), 776 config -> vendor_space_name = dmalloc (strlen (val) + 1, MDL); 801 name = dmalloc (strlen (val) + 1, MDL); 929 *list = dmalloc ((ix + 1) * sizeof(struct option *), MDL); in parse_option_list() 1072 *state = ((struct client_state *)dmalloc (sizeof **state, MDL)); 1083 dmalloc (sizeof (struct client_config), MDL))); 1121 dmalloc (sizeof (struct client_lease), MDL)); 1393 lease = dmalloc(sizeof(*lease), MDL); in parse_client6_lease_statement() [all …]
|
| /netbsd-src/external/mpl/dhcp/dist/dhcpctl/ |
| H A D | remote.c | 61 key -> name = dmalloc (strlen (name) + 1, MDL); in dhcpctl_new_authenticator() 72 key -> algorithm = dmalloc (strlen (algorithm) + in dhcpctl_new_authenticator() 81 key -> algorithm = dmalloc (strlen (algorithm) + 1, MDL); in dhcpctl_new_authenticator()
|
| H A D | omshell.c | 332 s = dmalloc (strlen (val) + 1, MDL); in main() 359 s = dmalloc (strlen (val) + 1, MDL); in main() 388 s = dmalloc (strlen (val) + 1, MDL); in main()
|
| H A D | callback.c | 58 callback = dmalloc (sizeof *callback, MDL); in dhcpctl_set_callback()
|
| /netbsd-src/crypto/external/bsd/netpgp/dist/ |
| H A D | configure.ac | 58 AC_CHECK_HEADERS([dmalloc.h direct.h errno.h fcntl.h \
|