Home
last modified time | relevance | path

Searched refs:obp_path (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevice_info.h84 char *obp_path; member
H A Ddevfsinfo.c356 if ((cur->obp_path = (char *)calloc(len, 1)) == NULL) { in devfs_get_all_prom_names()
362 (void) snprintf(cur->obp_path, len, "%s", ptr); in devfs_get_all_prom_names()
364 if ((ret = prom_dev_to_alias(cur->obp_path, flags, in devfs_get_all_prom_names()
386 if (paths->obp_path != NULL) in devfs_free_all_prom_names()
387 free(paths->obp_path); in devfs_free_all_prom_names()
/illumos-gate/usr/src/uts/common/os/
H A Dsunddi.c6600 char *obp_path; in pathname_work_obp() local
6607 (void) strcpy(path, obp_path); in pathname_work_obp()
6608 ddi_prop_free(obp_path); in pathname_work_obp()
6620 if (obp_path == NULL) in pathname_work_obp()
6654 char *obp_path = NULL; in ddi_pathname_obp_set() local
6660 obp_path = kmem_zalloc(MAXPATHLEN, KM_SLEEP); in ddi_pathname_obp_set()
6665 (void) ddi_pathname(pdip, obp_path); in ddi_pathname_obp_set()
6669 (void) strncat(obp_path, "/", MAXPATHLEN); in ddi_pathname_obp_set()
6673 obp_path); in ddi_pathname_obp_set()
6675 if (obp_path) in ddi_pathname_obp_set()
[all …]
H A Dsunmdi.c4139 char *obp_path = NULL; in mdi_pi_pathname_obp() local
4144 (void) strcpy(path, obp_path); in mdi_pi_pathname_obp()
4145 (void) mdi_prop_free(obp_path); in mdi_pi_pathname_obp()
4156 char *obp_path = NULL; in mdi_pi_pathname_obp_set() local
4166 obp_path = kmem_zalloc(MAXPATHLEN, KM_SLEEP); in mdi_pi_pathname_obp_set()
4168 if (ddi_pathname_obp(pdip, obp_path) == NULL) { in mdi_pi_pathname_obp_set()
4169 (void) ddi_pathname(pdip, obp_path); in mdi_pi_pathname_obp_set()
4173 (void) strncat(obp_path, "/", MAXPATHLEN); in mdi_pi_pathname_obp_set()
4174 (void) strncat(obp_path, component, MAXPATHLEN); in mdi_pi_pathname_obp_set()
4178 if (obp_path) in mdi_pi_pathname_obp_set()
[all …]