Searched refs:menu (Results 1 - 25 of 29) sorted by relevance

12

/illumos-gate/usr/src/cmd/format/
H A Dmenu.c33 #include "menu.h"
39 static int (*find_enabled_menu_item())(struct menu_item *menu, int item);
51 * This routine takes a menu struct and concatenates the
52 * command names into an array of strings describing the menu.
53 * All menus have a 'quit' command at the bottom to exit the menu.
56 create_menu_list(menu)
57 struct menu_item *menu;
70 * Count the number of active commands in the menu and allocate
73 for (mptr = menu; mptr->menu_cmd != NULL; mptr++) {
80 * Fill in the array with the names of the menu command
[all...]
H A Dmenu.h39 * This structure defines a menu entry. It consists of a command
41 * if the menu entry is enabled at this particular state in the program.
58 char **create_menu_list(struct menu_item *menu);
H A DMakefile32 menu.o menu_analyze.o menu_cache.o menu_command.o menu_defect.o \
H A Dmenu_scsi.c28 * This file contains functions implementing the scsi menu commands.
40 #include "menu.h"
87 * Menu data for the SCSI menu display
133 * SCSI menu commands for minimum recognition
156 * Manage the SCSI menu.
159 * so we cannot use the standard format menu-handling functions.
166 char **menu; local
179 * using this menu.
184 "It is recommended that you do not use this menu for normal disk\n"
195 * Build and display the menu
[all...]
/illumos-gate/usr/src/lib/libeti/
H A DMakefile32 SUBDIRS= form menu panel
33 HDRSUBDIRS= form menu panel
63 @cd menu; pwd; $(MAKE) $(TARGET)
/illumos-gate/usr/src/tools/cscope-fast/
H A Dmouse.c88 (void) printf("\033#2"); /* switch to menu 2 */
102 /* remove the mouse menu */
111 /* download a mouse menu */
114 downloadmenu(MOUSEMENU *menu) argument
124 (void) printf("\033M0@%s@%s@", menu[0].text,
125 menu[0].value);
126 for (i = 1; menu[i].text != NULL; ++i) {
127 (void) printf("\033M@%s@%s@", menu[i].text,
128 menu[i].value);
137 for (i = 0; menu[
[all...]
H A Dmouse.h65 extern void downloadmenu(MOUSEMENU *menu);
H A DMakefile31 find.o edit.o exec.o help.o history.o input.o menu.o alloc.o \
/illumos-gate/usr/src/boot/sys/boot/forth/
H A DMakefile10 menu.4th.8 \
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm_loader.c32 * Loader menu management.
59 #define MENU BOOT_DIR "/menu.lst"
75 static error_t list_setting(struct menu_lst *menu, char *, char *);
83 "update_entry", OPT_REQ, update_entry, 0, /* menu */
85 "list_setting", OPT_OPTIONAL, list_setting, 1, /* menu */
86 "disable_hypervisor", OPT_ABSENT, disable_hyper, 0, /* menu */
87 "enable_hypervisor", OPT_ABSENT, enable_hyper, 0, /* menu */
161 count_widths(struct hdr_info *hdr, struct menu_lst *menu) argument
170 STAILQ_FOREACH(entry, menu, next) {
182 struct menu_lst *menu)
181 print_menu_nodes(boolean_t parsable, struct hdr_info *hdr, struct menu_lst *menu) argument
216 print_nodes(boolean_t parsable, struct menu_lst *menu) argument
230 menu_read(struct menu_lst *menu, char *menu_path) argument
319 menu_free(struct menu_lst *menu) argument
346 struct menu_lst menu = {0}; local
563 set_option(struct menu_lst *menu, char *dummy, char *opt) argument
928 list_entry(struct menu_lst *menu, char *menu_root, char *opt) argument
979 update_entry(struct menu_lst *menu, char *menu_root, char *osdev) argument
1013 update_temp(struct menu_lst *menu, char *dummy, char *opt) argument
1133 list_setting(struct menu_lst *menu, char *which, char *setting) argument
1200 disable_hyper(struct menu_lst *menu, char *osroot, char *opt) argument
1211 enable_hyper(struct menu_lst *menu, char *osroot, char *opt) argument
[all...]
H A Dbootadm.c115 #define GRUB_MENU "/boot/grub/menu.lst"
116 #define MENU_TMP "/boot/grub/menu.lst.tmp"
152 #define LU_MENU_CKSUM "/etc/lu/menu.cksum"
291 "update_entry", OPT_REQ, update_entry, 0, /* menu */
293 "upgrade", OPT_ABSENT, upgrade_menu, 0, /* menu */
294 "list_setting", OPT_OPTIONAL, list_setting, 1, /* menu */
295 "disable_hypervisor", OPT_ABSENT, cvt_to_metal, 0, /* menu */
296 "enable_hypervisor", OPT_ABSENT, cvt_to_hyper, 0, /* menu */
451 (void) fprintf(stderr, "\t%s set-menu [-R altroot] key=value\n", prog);
452 (void) fprintf(stderr, "\t%s list-menu [
1285 menu_t *menu; local
[all...]
/illumos-gate/usr/src/cmd/boot/scripts/
H A Dboot-archive-update.ksh34 # on x86 get rid of transient reboot entry in the GRUB menu
37 if [ -f /stubboot/boot/grub/menu.lst ]; then
H A Dupdate_grub.ksh123 cp "$ALT_ROOT"/boot/grub/menu.lst "$ALT_ROOT"/stubboot/boot/grub
142 echo "create GRUB menu in "$ALT_ROOT"/stubboot"
143 "$ALT_ROOT"/sbin/bootadm update-menu $zfsarg\
146 echo "Creating GRUB menu in ${ALT_ROOT:-/}"
147 $ALT_ROOT/sbin/bootadm update-menu -R ${ALT_ROOT:-/} \
/illumos-gate/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_impl.h47 * Macros for processing the GRUB menu.
49 #define GRUB_MENU "/boot/grub/menu.lst"
111 * Data struct for the boot argument constructed from a GRUB menu entry
127 /* GRUB menu per-line classification */
138 * Data structures for menu.lst contents
143 int gl_line_num; /* Line number in menu.lst */
144 int gl_entry_num; /* menu boot entry #. */
189 /* GRUB menu parse functions */
210 * GRUB menu parse/access funcions.
212 * Callers must call grub_menu_init() to to obtain a handle to the menu befor
[all...]
H A Dlibgrub_fs.c32 * system where the GRUB menu resides.
245 grub_menu_t *menu; local
250 menu = barg->gb_entry->ge_menu;
253 if (get_zfs_root(zfh, &menu->gm_fs, &barg->gb_root) != 0 ||
/illumos-gate/usr/src/lib/libeti/menu/
H A DMakefile44 HDRS= menu.h
/illumos-gate/usr/src/grub/
H A DMakefile22 GRUB_MENU = menu.lst
/illumos-gate/usr/src/grub/grub-0.97/util/
H A Dgrub-image.in67 test ! -f menu.lst || cp -p menu.lst $bootdir/boot/grub
/illumos-gate/usr/src/lib/libeti/menu/common/
H A Dllib-lmenu34 #include "menu.h"
37 MENU *menu;
44 MENU *new_menu(ITEM **i) {return menu;}
/illumos-gate/usr/src/lib/libbe/common/
H A Dbe_utils.c126 * need pool name, menu.lst has entries from our pool only
597 * Description: Appends an entry for a BE into the menu.lst.
599 * be_name - pointer to name of BE to add boot menu entry for.
601 * boot_pool - Used if the pool containing the grub menu is
670 "the default BE in the grub menu.\n"), be_root_pool);
689 * Iterate through menu first to make sure the BE doesn't already
690 * have an entry in the menu.
692 * Additionally while iterating through the menu, if we have an
694 * track of that BE's menu entry. We will then use the lines from
801 * If an entry for this BE was already in the menu, the
915 char menu[MAXPATHLEN]; local
[all...]
/illumos-gate/usr/src/boot/sys/boot/sparc64/loader/
H A DMakefile102 FILES+= loader.rc menu.rc
/illumos-gate/usr/src/boot/sys/boot/arm/uboot/
H A DMakefile154 # Put sample menu.rc on disk but don't enable it by default.
155 FILES+= menu.rc
156 FILESNAME_menu.rc= menu.rc.sample
/illumos-gate/usr/src/lib/libeti/menu/inc/
H A Dprivate.h36 #include <menu.h>
42 /* Menu macros to access menu structure */
142 /* Default menu macros */
/illumos-gate/usr/src/boot/sys/boot/i386/loader/
H A DMakefile129 FORTH += menu.rc
/illumos-gate/usr/src/boot/sys/boot/i386/boot0/
H A Dboot0.S164 .set _MNUOPT, 0x10 # Saved menu entries
513 putx: btsw %dx,_MNUOPT(%bp) # Enable menu option
588 * Various menu strings. 'item' goes after 'prompt' to save space.

Completed in 100 milliseconds

12