Lines Matching refs:npt
201 char *npt = NULL; in get_emcpower_pname() local
206 npt = strstr(np, emcp); in get_emcpower_pname()
207 while ((i < strlen(npt)) && (isdigit(npt[i]))) in get_emcpower_pname()
209 npt[i] = '\0'; in get_emcpower_pname()
210 (void) snprintf(name, MAXNAMELEN, "/dev/rdsk/%sp0", npt); in get_emcpower_pname()
224 char *npt; in get_sname() local
243 npt = strrchr(np, 'p'); in get_sname()
245 if (npt != NULL) { in get_sname()
246 *npt = '\0'; in get_sname()
268 char *npt; in get_pname() local
292 npt = strrchr(np, 's'); in get_pname()
294 if (isdigit(*++npt)) { in get_pname()
295 *--npt = '\0'; in get_pname()