Lines Matching refs:cp
175 char *cp;
207 cp = v.vfs_special + strlen(ROOT_METADEVICE);
209 *mdname = (char *)malloc(strlen(cp) + 1);
215 (void) strcpy(*mdname, cp);
452 char *cp;
458 cp = md_device + len;
460 if ((slashp = strstr(cp, "/")) == NULL)
462 numlen = slashp - cp;
466 (void) strlcpy(mdname, cp, numlen + 1);
473 cp = slashp + 1;
474 /* cp now pointing at dsk/... */
475 if ((slashp = strstr(cp, "/")) == NULL)