Searched refs:whine_malloc (Results 1 – 12 of 12) 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()
198 if ((ret = whine_malloc(strlen(in)+1))) in canonicalise()242 void *whine_malloc(size_t size) in whine_malloc() function435 if (!(new = whine_malloc(size))) in expand_buf()
73 if (!(w = whine_malloc(sizeof(struct watch)))) in add_watch()202 if (!serv && (serv = whine_malloc(sizeof (struct server)))) in dbus_read_servers()208 serv->domain = whine_malloc(strlen(domain)+1); in dbus_read_servers()
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()
166 (lo = whine_malloc(sizeof(struct iname))) && in iface_allowed()167 (lo->name = whine_malloc(strlen(ifr.ifr_name)+1))) in iface_allowed()191 if ((iface = whine_malloc(sizeof(struct irec)))) in iface_allowed()742 if (!(sfd = whine_malloc(sizeof(struct serverfd)))) in allocate_sfd()1072 else if (!(serv = whine_malloc(sizeof (struct server)))) in set_servers()1185 else if (!(serv = whine_malloc(sizeof (struct server)))) in reload_servers()
144 if (!(transfer = whine_malloc(sizeof(struct tftp_transfer)))) in tftp_request()343 if (!(file = whine_malloc(sizeof(struct tftp_file) + strlen(namebuff) + 1))) in check_tftp_fileperm()
607 if ((victim = whine_malloc(sizeof(struct ping_result)))) in address_allocate()835 if (!(config = whine_malloc(sizeof(struct dhcp_config)))) in dhcp_read_ethers()858 config->hwaddr = whine_malloc(sizeof(struct hwaddr_config)); in dhcp_read_ethers()
330 if (!(new = whine_malloc(size))) in queue_script()
729 unsigned char *packet = whine_malloc(65536 + MAXDNAME + RRFIXEDSZ); in tcp_request()890 if ((f = (struct frec *)whine_malloc(sizeof(struct frec)))) in allocate_frec()
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()
736 void *whine_malloc(size_t size);
481 ret = whine_malloc(size); in opt_malloc()