Lines Matching refs:orig_path
141 escape_of_path (const char *orig_path)
146 if (!strchr (orig_path, ','))
147 return (char *) orig_path;
149 new_path = xmalloc (strlen (orig_path) * 2 + sizeof ("ieee1275/"));
151 p = orig_path;
162 free ((char *) orig_path);
168 guess_bios_drive (const char *orig_path)
173 canon = canonicalize_file_name (orig_path);
176 ptr = strrchr (orig_path, '/');
199 guess_efi_drive (const char *orig_path)
204 canon = canonicalize_file_name (orig_path);
207 ptr = strrchr (orig_path, '/');
230 guess_baremetal_drive (const char *orig_path)
235 canon = canonicalize_file_name (orig_path);
238 ptr = strrchr (orig_path, '/');
367 const char *orig_path = grub_util_devname_to_ofpath (osdev);
369 const char *orig_path = 0;
374 if (orig_path)
376 char *ofpath = escape_of_path (orig_path);
456 const char *orig_path = grub_util_devname_to_ofpath (osdev);
457 char *ofpath = escape_of_path (orig_path);