Lines Matching defs:obp_path
4137 char *obp_path = NULL;
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;
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, component, MAXPATHLEN);
4174 rc = mdi_prop_update_string(pip, "obp-path", obp_path);
4176 if (obp_path)
4177 kmem_free(obp_path, MAXPATHLEN);