Lines Matching defs:maindev
898 struct devinfo_storage_minor *maindev = NULL;
955 (((strcmp (slice, whole_disk) == 0) && (maindev == NULL)))) {
960 maindev = m;
961 g_queue_push_head (mq, maindev);
971 if (maindev == NULL) {
982 hal_device_property_set_int (parent, "block.minor", minor(maindev->dev));
983 hal_device_property_set_string (parent, "block.device", maindev->devlink);
984 raw = dsk_to_rdsk (maindev->devlink);
994 doslink_len = strlen (maindev->devlink) + sizeof (":NNN") + 1;
997 snprintf(dospath, sizeof (dospath), "%s:%d", maindev->slice, i);
998 snprintf(doslink, doslink_len, "%s:%d", maindev->devlink, i);
999 m = devinfo_storage_new_minor(maindev_path, dospath, doslink, maindev->dev, i);
1006 maindev_is_d0 = (strcmp (maindev->slice, "d0") == 0);