Lines Matching defs:devspec
37 const char *devspec, const char **path);
41 * path in (devspec). If it contains an explicit device specification,
45 beri_arch_getdev(void **vdev, const char *devspec, const char **path)
54 if ((devspec == NULL) ||
55 (devspec[0] == '/') ||
56 (strchr(devspec, ':') == NULL)) {
60 *path = devspec;
65 * Try to parse the device name off the beginning of the devspec
67 return(beri_arch_parsedev(dev, devspec, path));
72 * at the beginning of (devspec). Return a pointer to the remaining
75 * In all cases, the beginning of (devspec) is compared to the names
85 beri_arch_parsedev(struct disk_devdesc **dev, const char *devspec,
95 if (strlen(devspec) < 2)
100 if (!strncmp(devspec, devsw[i]->dv_name, strlen(devsw[i]->dv_name))) {
109 np = (devspec + strlen(dv->dv_name));