Searched refs:opt_malloc (Results 1 – 1 of 1) sorted by relevance
475 static void *opt_malloc(size_t size) in opt_malloc() function497 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()[all …]