Searched refs:whine_malloc (Results 1 – 10 of 10) sorted by relevance
114 else if (new_size <= hash_size || !(new = whine_malloc(new_size * sizeof(struct crec *)))) in rehash()433 !(big_name = (union bigname *)whine_malloc(sizeof(union bigname)))) in cache_insert()696 (lookup = whine_malloc(sizeof(struct crec)))) in add_hosts_entry()836 (cache = whine_malloc(sizeof(struct crec) + in read_hostsfile()846 if ((cache = whine_malloc(sizeof(struct crec) + strlen(canon)+1-SMALLDNAME))) in read_hostsfile()971 if (!(ah1 = whine_malloc(sizeof(struct hostsfile)))) in cache_reload()974 if (!(path = whine_malloc(lendir + lenfile + 2))) in cache_reload()1085 crec = whine_malloc(sizeof(struct crec)); in cache_add_dhcp_entry()1105 aliasc = whine_malloc(sizeof(struct crec)); in cache_add_dhcp_entry()1135 if (!addrbuff && !(addrbuff = whine_malloc(ADDRSTRLEN))) in dump_cache()
329 if (!leases_left || !(lease = whine_malloc(sizeof(struct dhcp_lease)))) in lease_allocate()402 if (!(lease->clid = whine_malloc(clid_len))) in lease_set_hwaddr()457 if ((new_name = whine_malloc(strlen(name) + 1))) in lease_set_hostname()461 if (suffix && (new_fqdn = whine_malloc(strlen(new_name) + strlen(suffix) + 2))) in lease_set_hostname()
200 if ((ret = whine_malloc(strlen(in)+1))) in canonicalise()244 void *whine_malloc(size_t size) in whine_malloc() function464 if (!(new = whine_malloc(size))) in expand_buf()
170 (lo = whine_malloc(sizeof(struct iname))) && in iface_allowed()171 (lo->name = whine_malloc(strlen(ifr.ifr_name)+1))) in iface_allowed()196 if ((iface = whine_malloc(sizeof(struct irec)))) in iface_allowed()775 if (!(sfd = whine_malloc(sizeof(struct serverfd)))) in allocate_sfd()1123 else if (!(serv = whine_malloc(sizeof (struct server)))) in set_servers()1231 else if (!(serv = whine_malloc(sizeof (struct server)))) in reload_servers()
612 if ((victim = whine_malloc(sizeof(struct ping_result)))) in address_allocate()840 if (!(config = whine_malloc(sizeof(struct dhcp_config)))) in dhcp_read_ethers()863 config->hwaddr = whine_malloc(sizeof(struct hwaddr_config)); in dhcp_read_ethers()
330 if (!(new = whine_malloc(size))) in queue_script()
1153 if ((lease->userclass = whine_malloc(len+1))) in dhcp_reply()1165 if ((lease->vendorclass = whine_malloc(len+1))) in dhcp_reply()1177 if ((lease->supplied_hostname = whine_malloc(len+1))) in dhcp_reply()1887 if (!fake_opts && !(fake_opts = whine_malloc(NUM_OPTS * sizeof(struct dhcp_opt)))) in pxe_opts()
741 unsigned char *packet = whine_malloc(65536 + MAXDNAME + RRFIXEDSZ); in tcp_request()903 if ((f = (struct frec *)whine_malloc(sizeof(struct frec)))) in allocate_frec()
707 void *whine_malloc(size_t size);
486 ret = whine_malloc(size); in opt_malloc()