Lines Matching refs:entry

37    entry failing to boot.  */
40 grub_err_t (*grub_gfxmenu_try_hook) (int entry, grub_menu_t menu,
65 /* Get a menu entry by its index in the entry list. */
120 /* Get the first entry number from the value of the environment variable NAME,
121 which is a space-separated list of non-negative integers. The entry number
122 which is returned is stripped from the value of NAME. If no entry number
129 int entry;
137 entry = (int) grub_strtoul (val, &tail, 0);
150 entry = -1;
155 return entry;
158 /* Run a menu entry. */
160 grub_menu_execute_entry(grub_menu_entry_t entry, int auto_boot)
169 if (entry->restricted)
170 err = grub_auth_check_authentication (entry->users);
184 if (entry->submenu)
195 for (ptr = entry->title; *ptr; ptr++)
224 for (ptr = entry->title; *ptr; ptr++)
252 grub_script_execute_sourcecode (entry->sourcecode, entry->argc, entry->args);
261 if (entry->submenu)
287 grub_menu_entry_t entry,
294 callback->notify_booting (entry, callback_data);
296 grub_menu_execute_entry (entry, 1);
305 entry = grub_menu_get_entry (menu, fallback_entry);
306 callback->notify_fallback (entry, callback_data);
307 grub_menu_execute_entry (entry, 1);
308 /* If the function call to execute the entry returns at all, then this is
321 menu_set_chosen_entry (int entry)
325 cur->set_chosen_entry (entry, cur->data);
350 menu_init (int entry, grub_menu_t menu, int nested)
368 err = grub_gfxmenu_try_hook (entry, menu, nested);
392 err = grub_menu_try_text (term, entry, menu, nested);
439 /* Get the entry number from the variable NAME. */
444 int entry;
452 entry = (int) grub_strtoul (val, 0, 0);
456 /* See if the variable matches the title of a menu entry. */
466 entry = i;
473 entry = -1;
479 entry = -1;
484 return entry;
489 /* Show the menu and handle menu entry selection. Returns the menu entry
490 index that should be executed or -1 if no entry should be executed (e.g.,
493 entry to be executed is a result of an automatic default selection because
505 the first entry. */
652 grub_menu_entry_t entry;
654 for (i = 0, entry = menu->entry_list; i < menu->size;
655 i++, entry = entry->next)
656 if (entry->hotkey == c)
671 /* Callback invoked immediately before a menu entry is executed. */
673 notify_booting (grub_menu_entry_t entry,
677 grub_printf_ (N_("Booting \'%s\'"), entry->title);
681 /* Callback invoked when a default menu entry executed because of a timeout
683 entry, ENTRY. */
685 notify_fallback (grub_menu_entry_t entry,
689 grub_printf_ (N_("Falling back to \'%s\'"), entry->title);
694 /* Callback invoked when a menu entry has failed and there is no remaining
695 fallback entry to attempt. */