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 in struct:devfs_prom_path
H A Ddevfsinfo.c356 if ((cur->obp_path = (char *)calloc(len, 1)) == NULL) {
362 (void) snprintf(cur->obp_path, len, "%s", ptr);
364 if ((ret = prom_dev_to_alias(cur->obp_path, flags,
386 if (paths->obp_path != NULL)
387 free(paths->obp_path);
/illumos-gate/usr/src/uts/common/os/
H A Dsunddi.c6681 char *obp_path; local
6687 "obp-path", &obp_path) == DDI_PROP_SUCCESS) {
6688 (void) strcpy(path, obp_path);
6689 ddi_prop_free(obp_path);
6700 obp_path = pathname_work_obp(ddi_get_parent(dip), path);
6701 if (obp_path == NULL)
6735 char *obp_path = NULL; local
6741 obp_path = kmem_zalloc(MAXPATHLEN, KM_SLEEP);
6745 if (ddi_pathname_obp(pdip, obp_path) == NULL) {
6746 (void) ddi_pathname(pdip, obp_path);
[all...]
H A Dsunmdi.c4137 char *obp_path = NULL; local
4141 if (mdi_prop_lookup_string(pip, "obp-path", &obp_path) == MDI_SUCCESS) {
4142 (void) strcpy(path, obp_path);
4143 (void) mdi_prop_free(obp_path);
4154 char *obp_path = NULL; local
4164 obp_path = kmem_zalloc(MAXPATHLEN, KM_SLEEP);
4166 if (ddi_pathname_obp(pdip, obp_path) == NULL) {
4167 (void) ddi_pathname(pdip, obp_path);
4171 (void) strncat(obp_path, "/", MAXPATHLEN);
4172 (void) strncat(obp_path, componen
[all...]

Completed in 277 milliseconds