Home
last modified time | relevance | path

Searched refs:promdev (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/cmd/eeprom/sparc/
H A Dopenprom.c55 static char *promdev; variable
118 promdev = "/dev/openprom"; in main()
130 promdev = optarg; in main()
346 if ((prom_fd = open(promdev, oflag)) < 0) { in promopen()
352 exit(_error(PERROR, "cannot open %s", promdev)); in promopen()
363 exit(_error(PERROR, "close error on %s", promdev)); in promclose()
/illumos-gate/usr/src/cmd/eeprom/i386/
H A Dbenv_kvm.c35 static char *promdev = "/dev/openprom"; variable
246 if ((prom_fd = open(promdev, O_RDONLY)) < 0) { in get_kbenv()
/illumos-gate/usr/src/lib/libprtdiag/common/
H A Dpdevinfo_funcs.c50 extern char *promdev;
239 if ((prom_fd = open(promdev, oflag)) < 0) { in promopen()
247 promdev)); in promopen()
259 promdev)); in promclose()
H A Dpdevinfo_sun4u.c54 char *promdev = "/dev/openprom"; variable
H A Dpdevinfo_sun4v.c53 char *promdev = "/dev/openprom"; variable
/illumos-gate/usr/src/cmd/power/
H A Dhandlers.c970 char *promdev = "/dev/openprom"; in utop() local
973 if ((fd = open(promdev, O_RDONLY)) == -1) { in utop()
974 mesg(MERR, open_fmt, promdev, strerror(errno)); in utop()
/illumos-gate/usr/src/lib/cfgadm_plugins/sysctrl/common/
H A Dcfga.c662 static char *promdev = "/dev/openprom"; variable
724 if ((prom_fd = open(promdev, O_RDWR, 0)) < 0) in dlist_find()
771 if ((prom_fd = open(promdev, O_RDWR, 0)) < 0) in dlist_update()
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevfsinfo.c1518 char *promdev = "/dev/openprom"; in prom_open() local
1521 if ((prom_fd = open(promdev, oflag)) < 0) { in prom_open()