Home | History | Annotate | Download | only in libefi

Lines Matching refs:devspec

44 static int	efi_parsedev(struct efi_devdesc **dev, const char *devspec, const char **path);
48 * path in (devspec). If it contains an explicit device specification,
52 efi_getdev(void **vdev, const char *devspec, const char **path)
61 if ((devspec == NULL) ||
62 (devspec[0] == '/') ||
63 (strchr(devspec, ':') == NULL)) {
67 *path = devspec;
72 * Try to parse the device name off the beginning of the devspec
74 return(efi_parsedev(dev, devspec, path));
79 * at the beginning of (devspec). Return a pointer to the remaining
82 * In all cases, the beginning of (devspec) is compared to the names
92 efi_parsedev(struct efi_devdesc **dev, const char *devspec, const char **path)
102 if (strlen(devspec) < 2)
107 if (!strncmp(devspec, devsw[i].dv_name, strlen(devsw[i].dv_name))) {
117 np = (devspec + strlen(dv->dv_name));