Home
last modified time | relevance | path

Searched refs:menu_cmds (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm.c174 char *menu_cmds[] = { variable
4738 if ((strcmp(cmd, menu_cmds[which]) != 0) && in check_cmd()
4739 (strcmp(cmd, menu_cmds[which + 1]) != 0)) { in check_cmd()
4741 fcn, cmd, menu_cmds[which])); in check_cmd()
4766 if (strcmp(cmd, menu_cmds[KERNEL_CMD]) != 0 && in kernel_parser()
4767 strcmp(cmd, menu_cmds[KERNEL_DOLLAR_CMD]) != 0) { in kernel_parser()
4841 if (strcmp(cmd, menu_cmds[MODULE_CMD]) != 0 && in module_parser()
4842 strcmp(cmd, menu_cmds[MODULE_DOLLAR_CMD]) != 0) { in module_parser()
4969 if (cmd && strcmp(cmd, menu_cmds[TITLE_CMD]) == 0) { in line_parser()
5004 if (strcmp(cmd, menu_cmds[ROOT_CMD]) == 0) { in line_parser()
[all …]
H A Dbootadm_upgrade.c415 line->cmd = s_strdup(menu_cmds[KERNEL_DOLLAR_CMD]); in cvt_kernel_line()
570 line->cmd = s_strdup(menu_cmds[MODULE_DOLLAR_CMD]); in cvt_module_line()
671 if (strcmp(line->cmd, menu_cmds[ROOT_CMD]) in find_matching_entry()
697 if (strcmp(line->cmd, menu_cmds[FINDROOT_CMD]) in find_matching_entry()
773 if (strcmp(line->cmd, menu_cmds[TITLE_CMD]) == 0) { in bam_add_findroot()
775 newlp->cmd = s_strdup(menu_cmds[FINDROOT_CMD]); in bam_add_findroot()
790 if (strcmp(line->cmd, menu_cmds[ROOT_CMD]) == 0) { in bam_add_findroot()
882 if (strcmp(line->cmd, menu_cmds[KERNEL_CMD]) == 0) { in bam_add_dboot()
898 if (strcmp(line->cmd, menu_cmds[MODULE_CMD]) == 0) { in bam_add_dboot()
H A Dbootadm_hyper.c855 menu_cmds[MODULE_DOLLAR_CMD]) == 0) { in cvt_to_hyper()
858 menu_cmds[KERNEL_DOLLAR_CMD]) == 0) && in cvt_to_hyper()
1000 return (set_global(mp, menu_cmds[DEFAULT_CMD], newdef)); in cvt_to_hyper()
1086 menu_cmds[MODULE_DOLLAR_CMD]) == 0) { in cvt_to_metal()
1094 menu_cmds[KERNEL_DOLLAR_CMD]) == 0) && in cvt_to_metal()
1269 return (set_global(mp, menu_cmds[DEFAULT_CMD], newdef)); in cvt_to_metal()
H A Dbootadm.h141 extern char *menu_cmds[];