Lines Matching refs:search_disk
1602 struct disk_info *search_disk; in add_device_to_disklist() local
1783 search_disk = (struct disk_info *)zalloc(sizeof (struct disk_info)); in add_device_to_disklist()
1785 disk_list = search_disk; in add_device_to_disklist()
1790 dptr->disk_next = search_disk; in add_device_to_disklist()
1795 search_disk->disk_dkinfo = dkinfo; in add_device_to_disklist()
1797 search_disk->label_type = L_TYPE_EFI; in add_device_to_disklist()
1799 search_disk->label_type = L_TYPE_SOLARIS; in add_device_to_disklist()
1804 search_disk->disk_name = alloc_string(devname); in add_device_to_disklist()
1805 search_disk->disk_path = alloc_string(devpath); in add_device_to_disklist()
1810 search_disk->disk_lbasize = cur_blksz; in add_device_to_disklist()
1817 search_disk->devfs_name = get_physical_name(devpath); in add_device_to_disklist()
1895 search_disk->disk_ctlr = search_ctlr; in add_device_to_disklist()
1898 search_disk->disk_flags |= DSK_RESERVED; in add_device_to_disklist()
1900 search_disk->disk_flags |= DSK_UNAVAILABLE; in add_device_to_disklist()
1904 search_disk->disk_flags &= ~(DSK_RESERVED | DSK_UNAVAILABLE); in add_device_to_disklist()
1912 if (search_disk->label_type == L_TYPE_SOLARIS) { in add_device_to_disklist()
1915 status = read_efi_label(search_file, &efi_info, search_disk); in add_device_to_disklist()
1928 search_disk->disk_name); in add_device_to_disklist()
1931 switch (search_disk->label_type) { in add_device_to_disklist()
1940 search_disk->disk_flags |= in add_device_to_disklist()
1953 search_disk->label_type = L_TYPE_EFI; in add_device_to_disklist()
1955 search_disk->disk_flags |= in add_device_to_disklist()
1974 if (search_disk->label_type == L_TYPE_SOLARIS) { in add_device_to_disklist()
1987 search_disk->disk_flags |= DSK_LABEL; in add_device_to_disklist()
1989 if (search_disk->label_type == L_TYPE_EFI) { in add_device_to_disklist()
2019 search_disk->disk_type = search_dtype; in add_device_to_disklist()
2028 search_disk->disk_parts = search_parts; in add_device_to_disklist()
2037 search_disk->v_volume, LEN_DKL_VVOL); in add_device_to_disklist()
2086 search_disk); in add_device_to_disklist()
2124 search_disk->disk_type = search_dtype; in add_device_to_disklist()
2198 search_disk->v_volume, LEN_DKL_VVOL); in add_device_to_disklist()
2201 bzero(search_disk->v_volume, LEN_DKL_VVOL); in add_device_to_disklist()
2208 search_disk->disk_parts = search_parts; in add_device_to_disklist()