Home
last modified time | relevance | path

Searched refs:dmalloc (Results 1 – 25 of 54) sorted by relevance

123

/minix3/external/bsd/dhcp/dist/common/
H A Dalloc.c64 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 Dexecute.c207 argv = dmalloc((argc + 2) * sizeof(*argv), MDL);
211 argv[0] = dmalloc(strlen(r->data.execute.command) + 1,
230 argv[i] = dmalloc(ds.len + 1, MDL);
364 binding = dmalloc(sizeof(*binding), MDL);
368 dmalloc(strlen
447 binding = dmalloc(sizeof(*binding), MDL);
454 dmalloc(strlen
H A Dctrace.c77 ip -> ifp = dmalloc (sizeof *(ip -> ifp), MDL); in trace_interface_input()
90 ip->addresses = dmalloc(sizeof(*ip->addresses), MDL); in trace_interface_input()
H A Ddiscover.c279 ifaces->conf.lifc_buf = dmalloc(ifaces->conf.lifc_len, MDL); in begin_iface_scan()
848 iface->addresses = dmalloc(4 * sizeof(struct in_addr), MDL); in add_ipv4_addr_to_interface()
860 tmp = dmalloc(new_max * sizeof(struct in_addr), MDL); in add_ipv4_addr_to_interface()
886 iface->v6addresses = dmalloc(8 * sizeof(struct in6_addr), MDL); in add_ipv6_addr_to_interface()
898 tmp = dmalloc(new_max * sizeof(struct in6_addr), MDL); in add_ipv6_addr_to_interface()
1068 tif = (struct ifreq *)dmalloc(sizeof(struct ifreq),
1827 vec = dmalloc ((interface_max + delta) *
H A Dparse.c166 s = (char *)dmalloc (len + 1, MDL);
210 if (!(s = (char *)dmalloc (strlen (val) + 1, MDL)))
230 if (!(s = (char *)dmalloc (len + ltid, MDL)))
710 bufp = (unsigned char *)dmalloc (*max * size / 8, MDL);
766 t = (unsigned char *)dmalloc (strlen (val) + 1, MDL);
780 bufp = (unsigned char *)dmalloc (count * size / 8, MDL);
1183 uname = dmalloc (strlen (val) + 1, MDL);
1323 nu_name = dmalloc (strlen (val) + 1, MDL);
1470 ua = dmalloc (universe_max * 2 * sizeof *ua, MDL);
1794 s = dmalloc(tokix + (arrayp ? 1 : 0) + 1, MDL);
[all …]
H A Ddns.c483 ddns_map_ptr = dmalloc(sizeof(*ddns_map_ptr), MDL); in trace_ddns_output_write()
566 ddns_cb = dmalloc(sizeof(*ddns_cb), file, line); in ddns_cb_alloc()
638 tkey = dmalloc (sizeof *tkey, MDL); in find_tsig_key()
644 tkey -> data = dmalloc (zone -> key -> key -> len, MDL); in find_tsig_key()
718 tname = dmalloc ((unsigned)len + 2, MDL); in dns_zone_lookup()
1185 ns_cb = dmalloc(sizeof(*ns_cb), MDL); in find_zone_start()
1440 zone->name = dmalloc(len + 2, MDL); in cache_found_zone()
H A Dprint.c55 buf = dmalloc (len + 1, file, line); in quotify_string()
94 buf = dmalloc (nulen + 1, MDL); in quotify_buf()
125 b = dmalloc (bl + 1, file, line); in print_base64()
1179 t = dmalloc (len + 1, MDL); in token_print_indent_concat()
1216 buf = dmalloc (data -> len + 3, MDL); in token_indent_data_string()
H A Dbpf.c278 info -> rbuf = dmalloc (info -> rbuf_max, MDL);
293 bpf_fddi_filter = dmalloc (sizeof bpf_fddi_filter,
/minix3/external/bsd/dhcp/dist/omapip/
H A Dhandle.c87 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 Dtrace.c297 vec = dmalloc (((trace_type_max + delta) * in trace_type_stash()
327 ttmp = dmalloc (sizeof *ttmp, file, line); in trace_type_register()
331 ttmp -> name = dmalloc (slen + 1, file, line); in trace_type_register()
361 tim = dmalloc (slen + TRACE_INDEX_MAPPING_SIZE, file, line); in trace_type_record()
491 tpkt = dmalloc((unsigned)tracefile_header.phlen, MDL); in trace_file_replay()
617 (*buf) = dmalloc ((*bufmax), MDL); in trace_get_next_packet()
653 tpkt = dmalloc ((unsigned)tracefile_header.phlen, MDL); in trace_get_packet()
688 tpkt = dmalloc ((unsigned)tracefile_header.phlen, MDL); in trace_get_file()
H A Darray.c48 aptr = dmalloc (sizeof (omapi_array_t),file, line); in omapi_array_allocate()
109 newbuf = dmalloc ((array -> max + delta) * sizeof (char *), in omapi_array_set()
H A Dalloc.c60 dmalloc(unsigned size, const char *file, int line) { in dmalloc() function
533 foo = dmalloc (tsize, file, line); in omapi_object_allocate()
723 t = (omapi_buffer_t *)dmalloc (sizeof *t, file, line); in omapi_buffer_new()
840 new = dmalloc (len, file, line); in omapi_typed_data_new()
949 new = dmalloc (nlen, file, line); in omapi_data_string_new()
1021 new = dmalloc (sizeof *new, file, line); in omapi_value_new()
1099 new = dmalloc ((count * sizeof (omapi_addr_t)) + in omapi_addr_list_new()
H A Dgeneric.c128 va = dmalloc (vm_new * sizeof *va, MDL); in omapi_generic_set_value()
131 ca = dmalloc (vm_new * sizeof *ca, MDL); in omapi_generic_set_value()
H A Dhash.c94 rval = dmalloc(sizeof(struct hash_table) +
176 rval = dmalloc (127 * sizeof (struct hash_bucket),
/minix3/external/bsd/dhcp/dist/server/
H A Dsalloc.c95 rval = dmalloc ((n + 1) * sizeof (struct lease), file, line);
102 rval = dmalloc (n * sizeof (struct lease), file, line);
188 rval = dmalloc (sizeof (struct lease_state), file, line);
240 dmalloc (sizeof (struct permit), file, line));
H A Dldap_casa.c132 tempVar = dmalloc (credential.unLen + 1, MDL); in load_uname_pwd_from_miCASA()
138 tempVar = dmalloc (credential.pwordLen + 1, MDL); in load_uname_pwd_from_miCASA()
H A Ddhcpd.c831 s = dmalloc(db.len + 1, MDL); in postconf_initialization()
844 s = dmalloc(db.len + 1, MDL); in postconf_initialization()
864 s = dmalloc(db.len + 1, MDL); in postconf_initialization()
878 s = dmalloc(db.len + 1, MDL); in postconf_initialization()
905 s = dmalloc(db.len + 1, MDL); in postconf_initialization()
1214 ip -> shared_network -> name = dmalloc (strlen (fnn) + 1, MDL); in dhcpd_interface_setup_hook()
H A Dldap.c394 keyCn = dmalloc (len + 1, MDL); in ldap_parse_zone()
426 ns = dmalloc (sizeof (*ns), MDL); in add_to_config_stack()
480 ret = dmalloc (db.len + 1, MDL); in _do_lookup_dhcp_string_option()
1320 ret = dmalloc (strlen (name[0]->bv_val) + 1, MDL); in ldap_get_host_name()
1373 buffer = dmalloc (LDAP_BUFFER_SIZE+1, MDL); in ldap_read_config()
1510 curr = dmalloc (sizeof (*curr), MDL); in ldap_read_config()
1514 curr->dn = dmalloc (length + 1, MDL); in ldap_read_config()
1985 dmalloc ((*newclass)->lease_limit * sizeof (struct lease *), MDL); in find_subclass_in_ldap()
H A Domapi.c778 haddr = dmalloc (len, MDL); in dhcp_lease_lookup()
883 host -> name = dmalloc (value -> u.buffer.len + 1, in dhcp_host_set_value()
1180 host -> name = dmalloc (strlen (hnbuf) + 1, MDL); in dhcp_host_signal_handler()
1364 haddr = dmalloc (len, MDL); in dhcp_host_lookup()
1745 if ((tname = dmalloc(value->u.buffer.len + 1, MDL)) == NULL) { in class_set_value()
1770 dmalloc(class->lease_limit * in class_set_value()
1780 class->name = dmalloc(value->u.buffer.len + 1, MDL); in class_set_value()
2120 char *name = dmalloc(nv->value->u.buffer.len + 1, MDL); in class_lookup()
2342 nname = dmalloc (name -> len + 1, MDL); in binding_scope_set_value()
2391 bp = dmalloc (sizeof *bp, MDL); in binding_scope_set_value()
[all …]
H A Dconfpars.c149 dbuf = dmalloc (ulen + tflen + 1, MDL); in read_conf_file()
897 name = dmalloc (strlen (val) + 1, MDL);
1064 peer -> hba = dmalloc (32, MDL);
1213 name = dmalloc (strlen (val) + 1, MDL); in parse_failover_state_declaration()
2146 name = dmalloc (strlen (tname) + 1, MDL);
2206 dmalloc (class -> lease_limit *
2403 dmalloc (class -> lease_limit *
2487 name = dmalloc (strlen (val) + 1, MDL);
2830 name = dmalloc(strlen(val) + 1, MDL);
3083 dmalloc (buflen, MDL)); in parse_lease_declaration()
[all …]
/minix3/external/bsd/byacc/dist/
H A Dconfig_h.in27 /* Define if you have the `dmalloc' library (-ldmalloc). */
51 /* "Define to 1 if you want to use dmalloc for testing." */
/minix3/external/bsd/dhcp/dist/client/
H A Dclparse.c196 dmalloc (sizeof (struct client_state), MDL); in read_client_conf()
206 dmalloc (sizeof (struct client_config), in read_client_conf()
416 cat_list = dmalloc(sizeof(struct option *) * (i + tmp + 1),
692 config -> vendor_space_name = dmalloc (strlen (val) + 1, MDL);
717 name = dmalloc (strlen (val) + 1, MDL);
839 *list = dmalloc ((ix + 1) * sizeof(struct option *), MDL); in parse_option_list()
982 *state = ((struct client_state *)dmalloc (sizeof **state, MDL));
993 dmalloc (sizeof (struct client_config), MDL)));
1031 dmalloc (sizeof (struct client_lease), MDL));
1322 lease = dmalloc(sizeof(*lease), MDL); in parse_client6_lease_statement()
[all …]
/minix3/external/bsd/dhcp/dist/dhcpctl/
H A Dremote.c60 key -> name = dmalloc (strlen (name) + 1, MDL); in dhcpctl_new_authenticator()
71 key -> algorithm = dmalloc (strlen (algorithm) + in dhcpctl_new_authenticator()
80 key -> algorithm = dmalloc (strlen (algorithm) + 1, MDL); in dhcpctl_new_authenticator()
H A Dcallback.c57 callback = dmalloc (sizeof *callback, MDL); in dhcpctl_set_callback()
/minix3/crypto/external/bsd/netpgp/dist/
H A Dconfigure.ac58 AC_CHECK_HEADERS([dmalloc.h direct.h errno.h fcntl.h \

123