Searched refs:maindev (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/hal/hald/solaris/
H A Ddevinfo_storage.c822 struct devinfo_storage_minor *maindev = NULL; local
879 (((strcmp (slice, whole_disk) == 0) && (maindev == NULL)))) {
884 maindev = m;
885 g_queue_push_head (mq, maindev);
895 if (maindev == NULL) {
906 hal_device_property_set_int (parent, "block.minor", minor(maindev->dev));
907 hal_device_property_set_string (parent, "block.device", maindev->devlink);
908 raw = dsk_to_rdsk (maindev->devlink);
918 doslink_len = strlen (maindev->devlink) + sizeof (":NNN") + 1;
921 snprintf(dospath, sizeof (dospath), "%s:%d", maindev
[all...]

Completed in 57 milliseconds