Lines Matching refs:malloc
508 nlptr->n_name = malloc(strlen(nam) + 1); /* pointer to next string */
548 if ((modpath = malloc(modpathlen + 1)) == NULL) {
549 fprintf(stderr, "sysdef: malloc failed\n");
567 if (((inodes = (ino_t *)malloc(n_dirs * sizeof (ino_t))) == NULL) ||
568 ((dirs = (char **)malloc(n_dirs * sizeof (char *))) == NULL)) {
569 fprintf(stderr, "sysdef: malloc failed\n");
573 if ((tmpf = malloc(strlen(MODULES_TMPFILE) + 1)) == NULL) {
574 fprintf(stderr, "sysdef: malloc failed\n");
617 if ((ls_cmd = malloc(ls_cmd_len + curr_len + 1)) == NULL) {
618 fprintf(stderr, "sysdef: malloc failed\n");