Searched refs:maindev (Results 1 – 1 of 1) sorted by relevance
/illumos-gate/usr/src/cmd/hal/hald/solaris/ |
H A D | devinfo_storage.c | 822 struct devinfo_storage_minor *maindev = NULL; in devinfo_storage_minors() local 879 (((strcmp (slice, whole_disk) == 0) && (maindev == NULL)))) { in devinfo_storage_minors() 884 maindev = m; in devinfo_storage_minors() 885 g_queue_push_head (mq, maindev); in devinfo_storage_minors() 895 if (maindev == NULL) { in devinfo_storage_minors() 906 hal_device_property_set_int (parent, "block.minor", minor(maindev->dev)); in devinfo_storage_minors() 907 hal_device_property_set_string (parent, "block.device", maindev->devlink); in devinfo_storage_minors() 908 raw = dsk_to_rdsk (maindev->devlink); in devinfo_storage_minors() 918 doslink_len = strlen (maindev->devlink) + sizeof (":NNN") + 1; in devinfo_storage_minors() 921 snprintf(dospath, sizeof (dospath), "%s:%d", maindev->slice, i); in devinfo_storage_minors() [all …]
|