Home
last modified time | relevance | path

Searched refs:ioparam (Results 1 – 11 of 11) sorted by relevance

/illumos-gate/usr/src/cmd/format/
H A Dprompts.c48 u_ioparam_t ioparam; in get_mlba() local
50 ioparam.io_bounds.lower = (1024 * 16) + 68; in get_mlba()
51 ioparam.io_bounds.upper = UINT_MAX64; in get_mlba()
54 ':', &ioparam, NULL, DATA_INPUT)); in get_mlba()
63 u_ioparam_t ioparam; in get_ncyl() local
65 ioparam.io_bounds.lower = 1; in get_ncyl()
66 ioparam.io_bounds.upper = MAX_CYLS; in get_ncyl()
68 ':', &ioparam, NULL, DATA_INPUT)); in get_ncyl()
77 u_ioparam_t ioparam; in get_acyl() local
80 ioparam.io_bounds.lower = 2; in get_acyl()
[all …]
H A Dmenu_analyze.c255 u_ioparam_t ioparam; in a_setup() local
262 ioparam.io_charlist = confirm_list; in a_setup()
264 &ioparam, &deflt, DATA_INPUT); in a_setup()
269 ioparam.io_bounds.lower = 0; in a_setup()
272 ioparam.io_bounds.upper = datasects() - 1; in a_setup()
274 ioparam.io_bounds.upper = physsects() - 1; in a_setup()
276 ioparam.io_bounds.upper = cur_parts->etoc->efi_last_lba; in a_setup()
281 &ioparam, (int *)&scan_lower, DATA_INPUT); in a_setup()
282 ioparam.io_bounds.lower = scan_lower; in a_setup()
287 &ioparam, (int *)&scan_upper, DATA_INPUT); in a_setup()
[all …]
H A Dpartition.c123 u_ioparam_t ioparam; in change_partition() local
153 ioparam.io_slist = ptag_choices; in change_partition()
154 tag = input(FIO_SLIST, msg, ':', &ioparam, &deflt, DATA_INPUT); in change_partition()
158 ioparam.io_slist = pflag_choices; in change_partition()
159 flag = input(FIO_SLIST, msg, ':', &ioparam, &deflt, DATA_INPUT); in change_partition()
161 ioparam.io_bounds.lower = cur_parts->etoc->efi_first_u_lba; in change_partition()
162 ioparam.io_bounds.upper = cur_parts->etoc->efi_last_u_lba; in change_partition()
170 efi_deflt.end_sector = ioparam.io_bounds.upper - in change_partition()
173 &ioparam, (int *)&efi_deflt, DATA_INPUT); in change_partition()
175 ioparam.io_bounds.lower = 0; in change_partition()
[all …]
H A Dmenu_defect.c258 u_ioparam_t ioparam; in d_add() local
269 ioparam.io_bounds.lower = 0; in d_add()
270 ioparam.io_bounds.upper = 1; in d_add()
272 &ioparam, &deflt, DATA_INPUT); in d_add()
281 ioparam.io_bounds.lower = 0; in d_add()
283 ioparam.io_bounds.upper = physsects() - 1; in d_add()
285 ioparam.io_bounds.upper = cur_parts->etoc->efi_last_lba; in d_add()
288 &ioparam, NULL, DATA_INPUT); in d_add()
298 ioparam.io_bounds.lower = 0; in d_add()
299 ioparam.io_bounds.upper = pcyl - 1; in d_add()
[all …]
H A Dmodify_partition.c61 u_ioparam_t ioparam; in p_modify() local
135 ioparam.io_charlist = sel_list; in p_modify()
136 sel_type = input(FIO_MSTR, tmpstr2, '?', &ioparam, in p_modify()
204 ioparam.io_charlist = confirm_list; in p_modify()
207 '?', &ioparam, &inpt_dflt, DATA_INPUT)) { in p_modify()
217 ioparam.io_charlist = partn_list; in p_modify()
219 &ioparam, &free_hog, DATA_INPUT); in p_modify()
249 ioparam.io_charlist = confirm_list; in p_modify()
251 &ioparam, &inpt_dflt, DATA_INPUT)) { in p_modify()
260 ioparam.io_charlist = partn_list; in p_modify()
[all …]
H A Dmenu_command.c119 u_ioparam_t ioparam; in c_disk() local
154 ioparam.io_bounds.lower = 0; in c_disk()
155 ioparam.io_bounds.upper = i - 1; in c_disk()
259 ioparam.io_bounds.lower = 0; in c_disk()
260 ioparam.io_bounds.upper = ndisks - 1; in c_disk()
262 &ioparam, defltptr, DATA_INPUT); in c_disk()
365 u_ioparam_t ioparam; in c_type() local
417 ioparam.io_bounds.lower = 0; in c_type()
418 ioparam.io_bounds.upper = i; in c_type()
423 &ioparam, defltptr, DATA_INPUT); in c_type()
[all …]
H A Dmenu.c127 u_ioparam_t ioparam; in run_menu() local
146 ioparam.io_charlist = list; in run_menu()
147 i = input(FIO_MSTR, prompt, '>', &ioparam, NULL, CMD_INPUT); in run_menu()
H A Dauto_sense.c782 u_ioparam_t ioparam; in auto_sense() local
792 ioparam.io_charlist = confirm_list; in auto_sense()
793 if (input(FIO_MSTR, FORMAT_MSG, '?', &ioparam, in auto_sense()
796 } else if (input(FIO_MSTR, GENERIC_MSG, '?', &ioparam, in auto_sense()
1136 u_ioparam_t ioparam; in generic_disk_sense() local
1141 ioparam.io_bounds.lower = 1; in generic_disk_sense()
1142 ioparam.io_bounds.upper = 2; in generic_disk_sense()
1152 "choices ", ':', &ioparam, in generic_disk_sense()
1179 u_ioparam_t ioparam; in generic_disk_sense() local
1261 ioparam.io_charlist = confirm_list; in generic_disk_sense()
[all …]
H A Dmenu_partition.c188 u_ioparam_t ioparam; in p_select() local
220 ioparam.io_bounds.lower = 0; in p_select()
221 ioparam.io_bounds.upper = i - 1; in p_select()
226 &ioparam, defltptr, DATA_INPUT); in p_select()
H A Dmisc.c157 u_ioparam_t ioparam; in check() local
167 ioparam.io_charlist = confirm_list; in check()
168 answer = input(FIO_MSTR, question, '?', &ioparam, NULL, DATA_INPUT); in check()
H A Dmenu_scsi.c513 u_ioparam_t ioparam; in do_format() local
549 ioparam.io_charlist = confirm_list; in do_format()
551 '?', &ioparam, &deflt, DATA_INPUT); in do_format()