Lines Matching defs:pathname
51 * Given an OBP pathname, do the best we can to fully expand
52 * the OBP pathname, in place in the callers buffer.
59 prom_pathname(char *pathname)
63 char *to = pathname;
74 if ((uintptr_t)pathname > (uint32_t)-1) {
75 opathname = pathname;
76 pathname = promplat_alloc(OBP_MAXPATHLEN);
77 if (pathname == NULL) {
80 (void) prom_strcpy(pathname, opathname);
81 to = pathname;
87 promplat_free(pathname, OBP_MAXPATHLEN);
111 (void) prom_strcpy(opathname, pathname);
112 promplat_free(pathname, OBP_MAXPATHLEN);
113 to = pathname = opathname;
155 * Strip any options strings from an OBP pathname.