Home
last modified time | relevance | path

Searched refs:label_type (Results 1 – 15 of 15) sorted by relevance

/illumos-gate/usr/src/cmd/format/
H A Dmenu.c266 if (cur_disk->label_type == L_TYPE_EFI) in not_efi()
276 if ((cur_disk->label_type == L_TYPE_EFI) && expert_mode) in disp_expert_change_expert_efi()
278 if (cur_disk->label_type != L_TYPE_EFI) in disp_expert_change_expert_efi()
288 if (cur_disk->label_type != L_TYPE_EFI) in disp_expand_efi()
300 if ((cur_disk->label_type != L_TYPE_EFI) || (!expert_mode)) in disp_all_change_expert_efi()
H A Dmenu_analyze.c271 (cur_disk->label_type == L_TYPE_SOLARIS)) { in a_setup()
273 } else if (cur_disk->label_type == L_TYPE_SOLARIS) { in a_setup()
275 } else if (cur_disk->label_type == L_TYPE_EFI) { in a_setup()
319 if ((scan_entire) && (cur_disk->label_type == L_TYPE_SOLARIS)) { in a_setup()
321 } else if ((scan_entire) && (cur_disk->label_type == L_TYPE_EFI)) { in a_setup()
H A Dmain.c390 cur_label = cur_disk->label_type; in init_globals()
457 (cur_disk->label_type == L_TYPE_SOLARIS)) { in init_globals()
459 } else if (cur_disk->label_type == L_TYPE_SOLARIS) { in init_globals()
461 } else if (cur_disk->label_type == L_TYPE_EFI) { in init_globals()
586 cur_disk->label_type == L_TYPE_EFI) { in init_globals()
H A Dmenu_command.c308 (disk->label_type != L_TYPE_EFI)) { in c_disk()
318 if ((cur_disk->label_type == L_TYPE_EFI) && in c_disk()
408 if (cur_disk->label_type == L_TYPE_EFI) { in c_type()
436 switch (cur_disk->label_type) { in c_type()
1125 if (cur_disk->label_type == L_TYPE_SOLARIS) { in c_format()
1130 } else if (cur_disk->label_type == L_TYPE_EFI) { in c_format()
1270 if (cur_disk->label_type == L_TYPE_SOLARIS) { in c_repair()
1456 if (cur_disk->label_type == L_TYPE_SOLARIS) { in c_show()
1651 cur_disk->label_type = L_TYPE_SOLARIS; in c_label()
1727 cur_disk->label_type = L_TYPE_EFI; in c_label()
[all …]
H A Dhardware_structs.h52 int label_type; /* EFI or non-EFI disk */ member
H A Dstartup.c1489 if (disk->label_type == L_TYPE_SOLARIS) in do_search()
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()
1912 if (search_disk->label_type == L_TYPE_SOLARIS) { in add_device_to_disklist()
1931 switch (search_disk->label_type) { in add_device_to_disklist()
1953 search_disk->label_type = L_TYPE_EFI; in add_device_to_disklist()
1974 if (search_disk->label_type == L_TYPE_SOLARIS) { in add_device_to_disklist()
1989 if (search_disk->label_type == L_TYPE_EFI) { in add_device_to_disklist()
H A Dmenu_defect.c282 if (cur_disk->label_type == L_TYPE_SOLARIS) { in d_add()
H A Dio.c2064 if ((type != NULL) && (disk->label_type == L_TYPE_SOLARIS)) { in pr_diskline()
2069 } else if ((type != NULL) && (disk->label_type == L_TYPE_EFI)) { in pr_diskline()
/illumos-gate/usr/src/cmd/fs.d/ufs/newfs/
H A Dnewfs.c136 static int label_type; /* see types below */ variable
416 if (label_type == LABEL_TYPE_VTOC) { in main()
435 if (label_type == LABEL_TYPE_EFI || label_type == LABEL_TYPE_OTHER) { in main()
731 if (label_type == LABEL_TYPE_VTOC) { in getdiskbydev()
838 label_type = LABEL_TYPE_VTOC; in get_device_size()
844 label_type = LABEL_TYPE_EFI; in get_device_size()
879 label_type = LABEL_TYPE_OTHER; in get_device_size()
883 if (label_type == LABEL_TYPE_EFI) { in get_device_size()
886 } else if (label_type == LABEL_TYPE_VTOC) { in get_device_size()
/illumos-gate/usr/src/cmd/zinject/
H A Dtranslate.c353 translate_device(const char *pool, const char *device, err_type_t label_type, in translate_device() argument
390 } else if (label_type != TYPE_INVAL) { in translate_device()
396 switch (label_type) { in translate_device()
H A Dzinject.h61 err_type_t label_type, zinject_record_t *record);
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dtn_ipopt.c129 tsol_get_option_v4(mblk_t *mp, tsol_ip_label_t *label_type, uchar_t **buffer) in tsol_get_option_v4() argument
137 *label_type = OPT_NONE; in tsol_get_option_v4()
183 *label_type = OPT_CIPSO; in tsol_get_option_v4()
209 tsol_get_option_v6(mblk_t *mp, tsol_ip_label_t *label_type, uchar_t **buffer) in tsol_get_option_v6() argument
219 *label_type = OPT_NONE; in tsol_get_option_v6()
261 *label_type = OPT_CIPSO; in tsol_get_option_v6()
H A Dtnet.c689 tsol_ip_label_t label_type; in tsol_get_pkt_label() local
706 if (!tsol_get_option_v4(mp, &label_type, &opt_ptr)) in tsol_get_pkt_label()
712 if (!tsol_get_option_v6(mp, &label_type, &opt_ptr)) in tsol_get_pkt_label()
716 switch (label_type) { in tsol_get_pkt_label()
1461 tsol_ip_label_t label_type; in tsol_ip_forward() local
1490 if (!tsol_get_option_v4(mp, &label_type, &opt_ptr)) in tsol_ip_forward()
1511 if (!tsol_get_option_v6(mp, &label_type, &opt_ptr)) in tsol_ip_forward()
1620 if (label_type == OPT_CIPSO) { in tsol_ip_forward()
1671 ASSERT(label_type == OPT_NONE); in tsol_ip_forward()
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dutilities.c2357 static int label_type; variable
2381 if (label_type == LABEL_TYPE_VTOC) { in getdisksize()
2440 label_type = LABEL_TYPE_VTOC; in get_device_size()
2446 label_type = LABEL_TYPE_EFI; in get_device_size()
2477 label_type = LABEL_TYPE_OTHER; in get_device_size()
2481 if (label_type == LABEL_TYPE_EFI) { in get_device_size()
2484 } else if (label_type == LABEL_TYPE_VTOC) { in get_device_size()
/illumos-gate/usr/src/cmd/fs.d/ufs/mkfs/
H A Dmkfs.c547 int label_type; variable
1009 if (label_type == LABEL_TYPE_EFI) { in main()
1129 if (label_type == LABEL_TYPE_EFI || in main()
1130 label_type == LABEL_TYPE_OTHER) { in main()
1168 "use_efi_dflts = %d\n", label_type, isremovable, ishotpluggable, in main()
2412 label_type = LABEL_TYPE_VTOC; in get_max_size()
2417 label_type = LABEL_TYPE_EFI; in get_max_size()
2427 label_type = LABEL_TYPE_OTHER; in get_max_size()
2444 if (label_type == LABEL_TYPE_EFI) { in get_max_size()
2447 } else if (label_type == LABEL_TYPE_VTOC) { in get_max_size()