Lines Matching refs:bname
1089 if (np->bname != NULL)
1090 Free(np->bname);
1979 char *bname;
1983 if ((bname = blkname(rname)) != NULL) {
1984 if (np->bname)
1985 Free(np->bname);
1986 np->bname = bname;
2001 char *bname = np->bname;
2006 assert(bname != NULL);
2011 if ((strncmp(bname, "/dev/dsk/", strlen("/dev/dsk/")) == 0) &&
2012 (strchr((p = bname + strlen("/dev/dsk/")), '/') == NULL)) {
2019 if ((strncmp(bname, "/dev/ap/dsk/", strlen("/dev/ap/dsk/")) == 0) &&
2020 (strchr((p = bname + strlen("/dev/ap/dsk/")), '/') == NULL)) {
2027 if ((strncmp(bname, "/dev/did/dsk/", strlen("/dev/did/dsk/")) == 0) &&
2028 (strchr((p = bname + strlen("/dev/did/dsk/")), '/') == NULL)) {
2039 np->cname = Strdup(bname);
2044 p = strrchr(bname, '/');
2136 if (np->bname != NULL)
2137 Free(np->bname);
2138 np->bname = Strdup(rname);
2146 (void) snprintf(np->bname, l, "/dev/%s%u%s", onmb, d, snm);
2151 if ((p = strstr(np->bname, "/rdsk/")) != NULL) {
2287 if ((*np)->bname != NULL)
2288 Free((*np)->bname);
2434 if (strcmp(np->bname, uname) == 0)
2488 np->bname = Strdup(uname);
3209 return (mdsyserror(ep, dnp->errnum, np->bname));