Searched defs:ofpath (Results 1 - 2 of 2) sorted by relevance

/osnet-11/usr/src/grub/grub2/util/ieee1275/
H A Dofpath.c0 /* ofpath.c - calculate OpenFirmware path names given an OS device */
25 #include <grub/util/ofpath.h>
49 fprintf (stderr, "ofpath: error: ");
396 char *name_buf, *device, *devnode, *devicenode, *ofpath; local
408 ofpath = xmalloc (OF_PATH_MAX);
411 ret = of_path_of_ide(ofpath, name_buf, device, devnode, devicenode);
414 ret = of_path_of_scsi(ofpath, name_buf, device, devnode, devicenode);
417 ret = of_path_of_vdisk(ofpath, name_buf, device, devnode, devicenode);
423 strcpy (ofpath, "floppy");
441 free (ofpath);
[all...]
/osnet-11/usr/src/grub/grub2/util/
H A Dgrub-probe.c38 #include <grub/util/ofpath.h>
376 char *ofpath = escape_of_path (orig_path); local
378 print_full_name (ofpath, dev);
380 free (ofpath);
457 char *ofpath = escape_of_path (orig_path); local
468 print_full_name (ofpath, dev);
471 free (ofpath);

Completed in 17 milliseconds