Lines Matching refs:malloc
271 logerror("malloc failed: " x)
273 logerror("malloc failed - fatal"); \
912 if ((hinfo = malloc(sizeof (*hinfo))) == NULL ||
914 malloc(udp->addr.len)) == NULL) {
1883 filtered = (char *)malloc(filter_len);
2025 buf = (char *)malloc(len + 1);
2078 if ((w = malloc(sizeof (walldev_t))) != NULL) {
2234 if ((h = malloc(sizeof (host_list_t))) == NULL) {
2248 h->hl_hosts = (char **)malloc(sizeof (char *) * (h->hl_cnt));
2258 malloc(sizeof (char) * (strlen(hspp->h_host) + 1));
2274 h->hl_hosts = (char **)malloc(sizeof (char *));
2280 h->hl_hosts[0] = (char *)malloc(strlen(failsafe_addr) + 3);
2914 if ((up = malloc(sizeof (struct utsname))) == NULL) {
2919 if ((LocalHostName.hl_hosts = malloc(sizeof (char *))) == NULL) {
2929 if ((NullHostName.hl_hosts = malloc(sizeof (char *))) == NULL) {
3272 Files = (struct filed *)malloc(sizeof (struct filed) * nlogs);
3275 DPRINT1(1, "conf_init(%u): malloc failed - can't "
3679 * all malloc failures here are fatal
3761 if ((bp = malloc(sizeof (struct netbuf))) == NULL ||
3762 (bp->buf = malloc(nbp->len)) == NULL) {
3801 if ((opt = malloc(optsize)) == NULL) {
3964 f->f_un.f_forw.f_addr.buf = malloc(nbp->len);
3968 (void) strlcpy(ebuf, "malloc failed", elen);
4117 if ((lm = malloc(sizeof (log_message_t))) == NULL)
5440 if ((addrbuf = malloc(nbp->len)) == NULL) {
5445 if ((entry = malloc(sizeof (struct hostname_cache))) == NULL) {