Lines Matching refs:obp_path
4148 char *obp_path = NULL; in mdi_pi_pathname_obp() local
4152 if (mdi_prop_lookup_string(pip, "obp-path", &obp_path) == MDI_SUCCESS) { in mdi_pi_pathname_obp()
4153 (void) strcpy(path, obp_path); in mdi_pi_pathname_obp()
4154 (void) mdi_prop_free(obp_path); in mdi_pi_pathname_obp()
4165 char *obp_path = NULL; in mdi_pi_pathname_obp_set() local
4175 obp_path = kmem_zalloc(MAXPATHLEN, KM_SLEEP); in mdi_pi_pathname_obp_set()
4177 if (ddi_pathname_obp(pdip, obp_path) == NULL) { in mdi_pi_pathname_obp_set()
4178 (void) ddi_pathname(pdip, obp_path); in mdi_pi_pathname_obp_set()
4182 (void) strncat(obp_path, "/", MAXPATHLEN); in mdi_pi_pathname_obp_set()
4183 (void) strncat(obp_path, component, MAXPATHLEN); in mdi_pi_pathname_obp_set()
4185 rc = mdi_prop_update_string(pip, "obp-path", obp_path); in mdi_pi_pathname_obp_set()
4187 if (obp_path) in mdi_pi_pathname_obp_set()
4188 kmem_free(obp_path, MAXPATHLEN); in mdi_pi_pathname_obp_set()