Home
last modified time | relevance | path

Searched refs:safe_malloc (Results 1 – 12 of 12) sorted by relevance

/external/dnsmasq/src/
Dnetwork.c320 l = safe_malloc(sizeof(struct listener)); in create_ipv6_listener()
393 l = safe_malloc(sizeof(struct listener)); in create_wildcard_listeners()
424 struct listener *new = safe_malloc(sizeof(struct listener)); in create_bound_listener()
609 struct listener *new = safe_malloc(sizeof(struct listener)); in create_bound_listeners()
986 if_tmp = safe_malloc(sizeof(struct iname)); in set_interfaces()
Dlease.c34 daemon->dhcp_buff = safe_malloc(256); in lease_init()
35 daemon->dhcp_buff2 = safe_malloc(256); in lease_init()
Dnetlink.c72 iov.iov_base = safe_malloc(iov.iov_len); in netlink_init()
Dlog.c88 free_entries = safe_malloc(sizeof(struct log_entry)); in log_start()
Ddnsmasq.c121 daemon->packet = safe_malloc(daemon->packet_buff_sz); in main()
253 hdr = safe_malloc(sizeof(*hdr)); in main()
267 data = safe_malloc(sizeof(*data) * capsize); in main()
Dcache.c79 addrbuff = safe_malloc(ADDRSTRLEN); in cache_init()
85 crecp = safe_malloc(daemon->cachesize*sizeof(struct crec)); in cache_init()
113 new = safe_malloc(new_size * sizeof(struct crec *)); in rehash()
Dutil.c226 void *safe_malloc(size_t size) in safe_malloc() function
Ddnsmasq.h736 void *safe_malloc(size_t size);
Doption.c486 ret = safe_malloc(size); in opt_malloc()
1250 struct cond_domain *new = safe_malloc(sizeof(struct cond_domain)); in one_opt()
2536 r = safe_malloc(sizeof(struct fileread)); in one_file()
Ddhcp.c99 daemon->dhcp_packet.iov_base = safe_malloc(daemon->dhcp_packet.iov_len); in dhcp_init()
/external/dnsmasq/contrib/dns-loc/
Ddnsmasq2-loc-rfc1876.patch90 + new = safe_malloc(sizeof(struct loc_record));
/external/dnsmasq/contrib/lease-access/
Dlease.access.patch270 daemon->dhcp_packet.iov_base = safe_malloc(daemon->dhcp_packet.iov_len);