/freebsd-current/stand/i386/libi386/ |
H A D | devicename.c | 35 * path in (devspec). If it contains an explicit device specification, 39 i386_getdev(void **vdev, const char *devspec, const char **path) argument 48 if ((devspec == NULL) || 49 (devspec[0] == '/') || 50 (strchr(devspec, ':') == NULL)) { 54 *path = devspec; 59 * Try to parse the device name off the beginning of the devspec 61 return(devparse(dev, devspec, path));
|
H A D | libi386.h | 79 int i386_getdev(void **vdev, const char *devspec, const char **path);
|
/freebsd-current/stand/userboot/userboot/ |
H A D | devicename.c | 36 * path in (devspec). If it contains an explicit device specification, 40 userboot_getdev(void **vdev, const char *devspec, const char **path) argument 49 if ((devspec == NULL) || 50 (devspec[0] == '/') || 51 (strchr(devspec, ':') == NULL)) { 55 *path = devspec; 60 * Try to parse the device name off the beginning of the devspec 62 return (devparse(dev, devspec, path));
|
/freebsd-current/stand/efi/libefi/ |
H A D | devicename.c | 41 * path in (devspec). If it contains an explicit device specification, 45 efi_getdev(void **vdev, const char *devspec, const char **path) argument 54 if (devspec == NULL || *devspec == '/' || !strchr(devspec, ':')) { 57 *path = devspec; 61 return (devparse(dev, devspec, path));
|
/freebsd-current/stand/uboot/ |
H A D | devicename.c | 34 static int uboot_parsedev(struct uboot_devdesc **dev, const char *devspec, 39 * path in (devspec). If it contains an explicit device specification, 43 uboot_getdev(void **vdev, const char *devspec, const char **path) argument 52 if ((devspec == NULL) || (devspec[0] == '/') || 53 (strchr(devspec, ':') == NULL)) { 57 *path = devspec; 62 * Try to parse the device name off the beginning of the devspec. 64 return (uboot_parsedev(dev, devspec, path)); 69 * at the beginning of (devspec) 82 uboot_parsedev(struct uboot_devdesc **dev, const char *devspec, const char **path) argument [all...] |
H A D | libuboot.h | 50 int uboot_getdev(void **vdev, const char *devspec, const char **path);
|
/freebsd-current/stand/libofw/ |
H A D | devicename.c | 34 * path in (devspec). If it contains an explicit device specification, 38 ofw_getdev(void **vdev, const char *devspec, const char **path) argument 47 if (devspec == NULL || strpbrk(devspec, ":@") == NULL) { 50 *path = devspec; 55 * Try to parse the device name off the beginning of the devspec 57 return (devparse(dev, devspec, path)); 93 ofw_common_parsedev(struct devdesc **dev, const char *devspec, const char **path, argument 99 if (ofw_path_to_handle(devspec, ofwtype, &rem_path) == -1) 106 strlcpy(idev->d_path, devspec, mi [all...] |
H A D | libofw.h | 45 extern int ofw_getdev(void **vdev, const char *devspec, const char **path); 63 int ofw_common_parsedev(struct devdesc **dev, const char *devspec, const char **path,
|
H A D | ofw_disk.c | 216 ofwd_match(struct devsw *devsw, const char *devspec) argument 220 return (ofw_path_to_handle(devspec, devsw->dv_name, &path) != -1); 232 ofwd_parsedev(struct devdesc **dev, const char *devspec, const char **path) argument 234 return (ofw_common_parsedev(dev, devspec, path, ofwdisk.dv_name));
|
H A D | ofw_net.c | 306 ofwnd_parsedev(struct devdesc **dev, const char *devspec, const char **path) argument 308 return (ofw_common_parsedev(dev, devspec, path, ofw_netdev.dv_name)); 312 ofwnd_match(struct devsw *devsw, const char *devspec) argument 316 return (ofw_path_to_handle(devspec, devsw->dv_name, &path) != -1);
|
/freebsd-current/stand/libsa/ |
H A D | dev.c | 66 /* NB: devspec points to the remainder of the device name after dv_name */ 68 default_parsedev(struct devdesc **dev, const char *devspec, argument 80 cp = (char *)devspec; /* strtol interface, alas */ 82 if (*devspec != '\0' && *devspec != ':') { 84 unit = strtol(devspec, &cp, 0); 85 if (errno != 0 || cp == devspec) { 105 /* NB: devspec points to the whole device spec, and possible trailing path */ 107 devparse(struct devdesc **dev, const char *devspec, const char **path) argument 115 if (strlen(devspec) < [all...] |
/freebsd-current/stand/kboot/kboot/ |
H A D | hostdisk.c | 47 static bool hostdisk_match(struct devsw *devsw, const char *devspec); 48 static int hostdisk_parsedev(struct devdesc **idev, const char *devspec, const char **path); 426 hostdisk_match(struct devsw *devsw, const char *devspec) argument 432 colon = strchr(devspec, ':'); 435 cp = strdup(devspec); 436 cp[colon - devspec] = '\0'; 443 hostdisk_parsedev(struct devdesc **idev, const char *devspec, const char **path) argument 452 cp = strchr(devspec, ':'); 458 len = cp - devspec; 459 fn = strdup(devspec); [all...] |
H A D | main.c | 41 int kboot_getdev(void **vdev, const char *devspec, const char **path); 104 kboot_getdev(void **vdev, const char *devspec, const char **path) argument 113 if (devspec == NULL || strchr(devspec, ':') == NULL) { 116 *path = devspec; 121 * Try to parse the device name off the beginning of the devspec 123 return (devparse(dev, devspec, path));
|
/freebsd-current/stand/efi/include/ |
H A D | efilib.h | 85 int efi_getdev(void **vdev, const char *devspec, const char **path);
|
/freebsd-current/stand/common/ |
H A D | disk.c | 413 disk_parsedev(struct devdesc **idev, const char *devspec, const char **path) argument 420 np = devspec + 4; /* Skip the leading 'disk' */
|
/freebsd-current/stand/libsa/zfs/ |
H A D | zfs.c | 64 static int zfs_parsedev(struct devdesc **idev, const char *devspec, 1612 zfs_parsedev(struct devdesc **idev, const char *devspec, const char **path) argument 1623 np = devspec + 3; /* Skip the leading 'zfs' */
|