Lines Matching defs:devspec
46 * path in (devspec). If it contains an explicit device specification,
50 efi_getdev(void **vdev, const char *devspec, const char **path)
59 if (devspec == NULL || *devspec == '/' || !strchr(devspec, ':')) {
62 *path = devspec;
66 /* Parse the device name off the beginning of the devspec. */
67 return (efi_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
84 efi_parsedev(struct devdesc **dev, const char *devspec, const char **path)
93 if (strlen(devspec) < 2)
99 if (!strncmp(devspec, dv->dv_name, strlen(dv->dv_name)))
105 np = devspec + strlen(dv->dv_name);