Lines Matching refs:obp_path
4139 char *obp_path = NULL; in mdi_pi_pathname_obp() local
4143 if (mdi_prop_lookup_string(pip, "obp-path", &obp_path) == MDI_SUCCESS) { in mdi_pi_pathname_obp()
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()
4176 rc = mdi_prop_update_string(pip, "obp-path", obp_path); in mdi_pi_pathname_obp_set()
4178 if (obp_path) in mdi_pi_pathname_obp_set()
4179 kmem_free(obp_path, MAXPATHLEN); in mdi_pi_pathname_obp_set()