Searched refs:whine_malloc (Results 1 – 10 of 10) sorted by relevance
84 else if (new_size <= hash_size || !(new = whine_malloc(new_size * sizeof(struct crec*)))) in rehash()355 !(big_name = (union bigname*) whine_malloc(sizeof(union bigname)))) { in cache_insert()570 (lookup = whine_malloc(sizeof(struct crec)))) { in add_hosts_entry()684 (cache = whine_malloc(sizeof(struct crec) + strlen(canon) + 2 + in read_hostsfile()693 if ((cache = whine_malloc(sizeof(struct crec) + strlen(canon) + 1 - SMALLDNAME))) { in read_hostsfile()796 if (!(ah1 = whine_malloc(sizeof(struct hostsfile)))) continue; in cache_reload()798 if (!(path = whine_malloc(lendir + lenfile + 2))) { in cache_reload()894 crec = whine_malloc(sizeof(struct crec)); in cache_add_dhcp_entry()913 aliasc = whine_malloc(sizeof(struct crec)); in cache_add_dhcp_entry()940 if (!addrbuff && !(addrbuff = whine_malloc(ADDRSTRLEN))) return; in dump_cache()
286 if (!leases_left || !(lease = whine_malloc(sizeof(struct dhcp_lease)))) return NULL; in lease_allocate()348 if (!(lease->clid = whine_malloc(clid_len))) return; in lease_set_hwaddr()393 if ((new_name = whine_malloc(strlen(name) + 1))) { in lease_set_hostname()396 if (suffix && (new_fqdn = whine_malloc(strlen(new_name) + strlen(suffix) + 2))) { in lease_set_hostname()
184 if ((ret = whine_malloc(strlen(in) + 1))) in canonicalise()219 void* whine_malloc(size_t size) { in whine_malloc() function397 if (!(new = whine_malloc(size))) { in expand_buf()
142 if (!lo && (lo = whine_malloc(sizeof(struct iname))) && in iface_allowed()143 (lo->name = whine_malloc(strlen(ifr.ifr_name) + 1))) { in iface_allowed()166 if ((iface = whine_malloc(sizeof(struct irec)))) { in iface_allowed()665 if (!(sfd = whine_malloc(sizeof(struct serverfd)))) return NULL; in allocate_sfd()978 } else if (!(serv = whine_malloc(sizeof(struct server)))) in set_servers()1071 } else if (!(serv = whine_malloc(sizeof(struct server)))) in reload_servers()
281 if (!(new = whine_malloc(size))) return; in queue_script()
1024 if ((lease->userclass = whine_malloc(len + 1))) { in dhcp_reply()1034 if ((lease->vendorclass = whine_malloc(len + 1))) { in dhcp_reply()1044 if ((lease->supplied_hostname = whine_malloc(len + 1))) { in dhcp_reply()1640 if (!fake_opts && !(fake_opts = whine_malloc(NUM_OPTS * sizeof(struct dhcp_opt)))) return ret; in pxe_opts()
636 unsigned char* packet = whine_malloc(65536 + MAXDNAME + RRFIXEDSZ); in tcp_request()781 if ((f = (struct frec*) whine_malloc(sizeof(struct frec)))) { in allocate_frec()
690 void* whine_malloc(size_t size);
472 if ((victim = whine_malloc(sizeof(struct ping_result)))) { in address_allocate()
504 ret = whine_malloc(size); in opt_malloc()