Home
last modified time | relevance | path

Searched refs:devpaths (Results 1 – 8 of 8) sorted by relevance

/titanic_50/usr/src/cmd/consadm/
H A Dconsadm.c657 char **devpaths; in fallbackdaemon() local
712 if ((devpaths = calloc(cachesize, sizeof (char *))) == NULL) in fallbackdaemon()
734 if ((devpaths[nfds] = in fallbackdaemon()
738 (void) strcpy(devpaths[nfds], ptr); in fallbackdaemon()
763 if ((devpaths[nfds] = malloc(strlen(ptr) + 1)) == NULL) in fallbackdaemon()
766 (void) strcpy(devpaths[nfds], ptr); in fallbackdaemon()
802 unsetaux((char *)devpaths[index]); in fallbackdaemon()
805 devpaths[index]); in fallbackdaemon()
808 CONSADM, devpaths[index]); in fallbackdaemon()
809 free(devpaths[index]); in fallbackdaemon()
[all …]
/titanic_50/usr/src/lib/libdiskmgt/common/
H A Dalias.c96 if (ap->devpaths != NULL) { in alias_get_attributes()
100 fd = open(ap->devpaths->devpath, O_RDONLY|O_NDELAY); in alias_get_attributes()
H A Dpartition.c794 if (diskp->aliases != NULL && diskp->aliases->devpaths != NULL) { in open_disk()
797 (void) strlcpy(opath, diskp->aliases->devpaths->devpath, len); in open_disk()
799 return (open(diskp->aliases->devpaths->devpath, O_RDONLY|O_NDELAY)); in open_disk()
805 (void) strlcpy(part_dev, diskp->aliases->devpaths->devpath, in open_disk()
H A Dslice.c645 for (cnt = 0, devp = desc->p.disk->aliases->devpaths; devp != NULL; in get_fixed_assocs()
667 for (devp = desc->p.disk->aliases->devpaths; devp != NULL; in get_fixed_assocs()
751 for (devp = ap->devpaths; devp != NULL; devp = devp->next) { in make_fixed_descriptors()
827 devp = ap->devpaths; in match_fixed_name()
H A Dfindevs.c1304 ap->orig_paths = ap->devpaths; in fix_cluster_devpath()
1305 ap->devpaths = NULL; in fix_cluster_devpath()
1687 aliasp->devpaths = NULL; in new_alias()
1752 for (alistp = ap->devpaths; alistp != NULL; alistp = alistp->next) { in new_devpath()
1775 if (ap->devpaths == NULL) { in new_devpath()
1776 ap->devpaths = newdp; in new_devpath()
1781 dp = ap->devpaths; in new_devpath()
H A Ddisks_private.h54 slice_t *devpaths; member
H A Ddrive.c634 if (diskp->aliases != NULL && diskp->aliases->devpaths != NULL) { in drive_open_disk()
636 (void) strlcpy(opath, diskp->aliases->devpaths->devpath, len); in drive_open_disk()
638 return (open(diskp->aliases->devpaths->devpath, O_RDONLY|O_NDELAY)); in drive_open_disk()
H A Dcache.c163 dp = aliasp->devpaths; in cache_free_alias()