Lines Matching refs:search_label
1610 struct dk_label search_label; in add_device_to_disklist() local
1913 status = read_label(search_file, &search_label); in add_device_to_disklist()
1933 if (auto_sense(search_file, 0, &search_label) != NULL) { in add_device_to_disklist()
1975 if (!checklabel(&search_label)) { in add_device_to_disklist()
1979 if (trim_id(search_label.dkl_asciilabel)) { in add_device_to_disklist()
2057 if (dtype_match(&search_label, search_dtype)) in add_device_to_disklist()
2083 if (strncmp(search_label.dkl_asciilabel, "DEFAULT", in add_device_to_disklist()
2093 zalloc(strlen(search_label.dkl_asciilabel) + 1); in add_device_to_disklist()
2095 search_label.dkl_asciilabel); in add_device_to_disklist()
2097 search_dtype->dtype_pcyl = search_label.dkl_pcyl; in add_device_to_disklist()
2098 search_dtype->dtype_ncyl = search_label.dkl_ncyl; in add_device_to_disklist()
2099 search_dtype->dtype_acyl = search_label.dkl_acyl; in add_device_to_disklist()
2100 search_dtype->dtype_nhead = search_label.dkl_nhead; in add_device_to_disklist()
2101 search_dtype->dtype_nsect = search_label.dkl_nsect; in add_device_to_disklist()
2102 search_dtype->dtype_rpm = search_label.dkl_rpm; in add_device_to_disklist()
2138 if (parts_match(&search_label, search_parts)) { in add_device_to_disklist()
2175 search_label.dkl_map[i]; in add_device_to_disklist()
2179 search_label.dkl_vtoc.v_part[i].p_start / in add_device_to_disklist()
2180 ((blkaddr32_t)(search_label.dkl_nhead * in add_device_to_disklist()
2181 search_label.dkl_nsect)); in add_device_to_disklist()
2183 search_label.dkl_vtoc.v_part[i].p_size; in add_device_to_disklist()
2196 if (search_label.dkl_vtoc.v_version == V_VERSION) { in add_device_to_disklist()
2197 bcopy(search_label.dkl_vtoc.v_volume, in add_device_to_disklist()
2199 search_parts->vtoc = search_label.dkl_vtoc; in add_device_to_disklist()