Lines Matching refs:malloc
184 if ((prom_path = (char *)malloc(MAXVALSIZE)) == NULL)
207 if ((list[i] = (char *)malloc(len)) == NULL) {
256 if ((prom_path = (char *)malloc(MAXPATHLEN)) == NULL) {
326 if ((prom_path = (char *)malloc(MAXVALSIZE)) == NULL)
447 if ((prom_path = (char *)malloc(MAXVALSIZE)) == NULL) {
508 new_bootdev = (char *)malloc(strlen(opp->oprom_array)
891 if ((entry = (char *)malloc(strlen(bootdevice) + 1)) == NULL) {
1091 if ((full_path = (char *)malloc(len)) == NULL) {
1159 (char **)malloc((count + 1) * sizeof (char *)))
1240 malloc(sizeof (struct name_list))) == NULL) {
1692 if ((*ret_buf = (char **)malloc((count + 1) * sizeof (char *)))
1856 (struct name_list *)malloc(sizeof (struct name_list)))