Lines Matching refs:malloc
127 * A pointer to the filename in malloc()ed memory or (char *) NULL if
143 if (lockname = malloc(strlen(p)+1))
147 if (lockname = malloc(strlen(DVLK_PATH)+1))
334 * locklist Sets this to the malloc()ed space containing the
356 if (alloc = malloc(bufsiz)) {
358 /* Read the locks into the malloc()ed buffer */
362 /* If the read failed, free malloc()ed buffer */
365 } else noerror = FALSE; /* malloc() failed */
891 * A pointer to malloc()ed space containing pointers to the aliases
892 * of the reserved devices. The aliases are in malloc()ed space also.
923 if (rtnlist = malloc((ndevs+1)*sizeof (char **))) {
924 if (aliases = malloc((ndevs+1)*sizeof (char **))) {
946 if (*qq = malloc(strlen(*pp)+1)) {
1010 } else noerr = FALSE; /* malloc() failed */
1116 if (rtnlist = malloc(bufsiz)) {
1122 if (*q = malloc(sizeof (struct reservdev))) {
1123 if (r = malloc(strlen(p->lk_alias)+1)) {
1126 } else noerr = FALSE; /* malloc() error */
1127 } else noerr = FALSE; /* malloc() error */
1146 } else noerr = FALSE; /* Couldn't malloc() list space */