Searched refs:safe_malloc (Results 1 – 12 of 12) sorted by relevance
320 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()
34 daemon->dhcp_buff = safe_malloc(256); in lease_init()35 daemon->dhcp_buff2 = safe_malloc(256); in lease_init()
72 iov.iov_base = safe_malloc(iov.iov_len); in netlink_init()
88 free_entries = safe_malloc(sizeof(struct log_entry)); in log_start()
121 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()
79 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()
226 void *safe_malloc(size_t size) in safe_malloc() function
736 void *safe_malloc(size_t size);
486 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()
99 daemon->dhcp_packet.iov_base = safe_malloc(daemon->dhcp_packet.iov_len); in dhcp_init()
90 + new = safe_malloc(sizeof(struct loc_record));
270 daemon->dhcp_packet.iov_base = safe_malloc(daemon->dhcp_packet.iov_len);