Lines Matching defs:linkname
151 * Given a `linkname' of the form drv(ppa), parse it into `driver' and `ppa'.
157 * linkname.
163 char linkname[MAXLINKNAMELEN];
169 len = strlcpy(linkname, linknamep, MAXLINKNAMELEN);
174 if (getppa(linkname, len, &lppa) != 0)
177 /* strip the ppa off of the linkname, if present */
178 for (tp = &linkname[len - 1]; tp >= linkname && isdigit(*tp); tp--)
187 if (!isalpha(linkname[0]))
189 for (tp = linkname + 1; *tp != '\0'; tp++) {
195 (void) strlcpy(driver, linkname, dsize);
207 * Given a linkname that can be specified using a zonename prefix retrieve
208 * the optional linkname and/or zone ID value. If no zonename prefix was
209 * specified we set the optional linkname and set optional zone ID return
234 /* If there are no other strings, return given name as linkname */