Home
last modified time | relevance | path

Searched refs:minorpath (Results 1 – 3 of 3) sorted by relevance

/titanic_50/usr/src/cmd/stmsboot/
H A Dstmsboot_util.c1177 char *minorpath = NULL; in find_link() local
1191 ((minorpath = calloc(1, MAXPATHLEN)) == NULL) || in find_link()
1207 (void) snprintf(minorpath, MAXPATHLEN, "%s:c", devfspath); in find_link()
1210 if (di_devlink_walk(hdl, linkname, minorpath, DI_PRIMARY_LINK, in find_link()
1214 minorpath, strerror(errno)); in find_link()
1226 bzero(minorpath, MAXPATHLEN); in find_link()
1228 bcopy(cbresult, minorpath, strlen(cbresult) - 1); in find_link()
1230 linkname = strrchr(minorpath, '/'); in find_link()
/titanic_50/usr/src/lib/fm/topo/modules/common/disk/
H A Ddisk_common.c617 char *minorpath; in dev_di_node_add() local
819 if ((minorpath = topo_mod_alloc(mod, mlen)) == NULL) in dev_di_node_add()
821 (void) snprintf(minorpath, mlen, "%s%s", in dev_di_node_add()
825 minorpath, DI_PRIMARY_LINK, cbp, in dev_di_node_add()
827 topo_mod_free(mod, minorpath, mlen); in dev_di_node_add()
/titanic_50/usr/src/lib/cfgadm_plugins/sata/common/
H A Dcfga_sata.c1141 char *minorpath; in sata_check_target_node() local
1144 minorpath = di_devfs_minor_path(di_minor_next(node, DI_MINOR_NIL)); in sata_check_target_node()
1145 if (minorpath != NULL) { in sata_check_target_node()
1146 if (strstr(minorpath, arg) != NULL) { in sata_check_target_node()
1147 cp = strrchr(minorpath, (int)*MINOR_SEP); in sata_check_target_node()
1151 free(minorpath); in sata_check_target_node()
1154 free(minorpath); in sata_check_target_node()