Lines Matching refs:opt_malloc

475 static void *opt_malloc(size_t size)  in opt_malloc()  function
497 ret = opt_malloc(strlen(cp)+1); in opt_string_alloc()
584 struct txt_record *r = opt_malloc(sizeof(struct txt_record)); in add_txt()
590 r->txt = opt_malloc(len+1); in add_txt()
668 struct dhcp_opt *new = opt_malloc(sizeof(struct dhcp_opt)); in parse_dhcp_opt()
721 new->netid = opt_malloc(sizeof (struct dhcp_netid)); in parse_dhcp_opt()
798 new->val = opt_malloc(new->len); in parse_dhcp_opt()
824 new->val = opt_malloc(new->len); in parse_dhcp_opt()
835 new->val = op = opt_malloc((5 * addrs) + 1); in parse_dhcp_opt()
895 newp = opt_malloc(len + strlen(arg) + 2 + header_size); in parse_dhcp_opt()
1047 li = opt_malloc(sizeof(struct list)); in one_opt()
1080 path = opt_malloc(strlen(directory) + len + 2); in one_opt()
1165 new = opt_malloc(sizeof(struct resolvc)); in one_opt()
1194 new = opt_malloc(sizeof(struct mx_srv_record)); in one_opt()
1227 struct hostsfile *new = opt_malloc(sizeof(struct hostsfile)); in one_opt()
1301 struct iname *new = opt_malloc(sizeof(struct iname)); in one_opt()
1316 struct iname *new = opt_malloc(sizeof(struct iname)); in one_opt()
1339 struct bogus_addr *baddr = opt_malloc(sizeof(struct bogus_addr)); in one_opt()
1351 struct iname *new = opt_malloc(sizeof(struct iname)); in one_opt()
1388 serv = opt_malloc(sizeof(struct server)); in one_opt()
1405 newlist = opt_malloc(sizeof(struct server)); in one_opt()
1612 struct dhcp_bridge *new = opt_malloc(sizeof(struct dhcp_bridge)); in one_opt()
1629 struct dhcp_bridge *b = opt_malloc(sizeof(struct dhcp_bridge)); in one_opt()
1644 struct dhcp_context *new = opt_malloc(sizeof(struct dhcp_context)); in one_opt()
1674 struct dhcp_netid *tt = opt_malloc(sizeof (struct dhcp_netid)); in one_opt()
1785 new = opt_malloc(sizeof(struct dhcp_config)); in one_opt()
1819 if ((new->clid = opt_malloc(len))) in one_opt()
1830 if ((new->netid.net = opt_malloc(len))) in one_opt()
1839 struct hwaddr_config *newhw = opt_malloc(sizeof(struct hwaddr_config)); in one_opt()
1935 struct dhcp_netid *newid = opt_malloc(sizeof(struct dhcp_netid)); in one_opt()
1966 struct dhcp_boot *new = opt_malloc(sizeof(struct dhcp_boot)); in one_opt()
1981 struct dhcp_opt *new = opt_malloc(sizeof(struct dhcp_opt)); in one_opt()
1989 struct dhcp_netid *nn = opt_malloc(sizeof (struct dhcp_netid)); in one_opt()
2004 new->val = opt_malloc(new->len); in one_opt()
2025 struct pxe_service *new = opt_malloc(sizeof(struct pxe_service)); in one_opt()
2035 struct dhcp_netid *nn = opt_malloc(sizeof (struct dhcp_netid)); in one_opt()
2102 struct dhcp_mac *new = opt_malloc(sizeof(struct dhcp_mac)); in one_opt()
2127 struct dhcp_vendor *new = opt_malloc(sizeof(struct dhcp_vendor)); in one_opt()
2143 new->data = opt_malloc(new->len); in one_opt()
2149 new->data = opt_malloc(new->len); in one_opt()
2199 struct dhcp_netid_list *new = opt_malloc(sizeof(struct dhcp_netid_list)); in one_opt()
2223 struct dhcp_netid *member = opt_malloc(sizeof(struct dhcp_netid)); in one_opt()
2243 struct doctor *new = opt_malloc(sizeof(struct doctor)); in one_opt()
2286 new = opt_malloc(sizeof(struct interface_name)); in one_opt()
2315 new = opt_malloc(sizeof(struct cname)); in one_opt()
2337 new = opt_malloc(sizeof(struct ptr_record)); in one_opt()
2368 new = opt_malloc(sizeof(struct naptr)); in one_opt()
2415 new = opt_malloc(sizeof(struct txt_record)); in one_opt()
2422 new->txt = opt_malloc(new->len); in one_opt()
2488 new = opt_malloc(sizeof(struct mx_srv_record)); in one_opt()
2765 char *buff = opt_malloc(MAXDNAME); in read_opts()
2771 daemon = opt_malloc(sizeof(struct daemon)); in read_opts()
2899 mx = opt_malloc(sizeof(struct mx_srv_record)); in read_opts()