Lines Matching refs:active
69 int reverse = (entry->menu->active == entry->num); in bootmenu_print_entry()
107 if (menu->active > 0) in bootmenu_choice_entry()
108 --menu->active; in bootmenu_choice_entry()
112 if (menu->active < menu->count - 1) in bootmenu_choice_entry()
113 ++menu->active; in bootmenu_choice_entry()
118 for (i = 0; i < menu->active; ++i) in bootmenu_choice_entry()
335 menu->active = 0; in bootmenu_create()
340 menu->active = (int)simple_strtol(default_str, NULL, 10); in bootmenu_create()
406 if ((menu->active >= menu->count)||(menu->active < 0)) { //ensure active menuitem is inside menu in bootmenu_create()
407 printf("active menuitem (%d) is outside menu (0..%d)\n",menu->active,menu->count-1); in bootmenu_create()
408 menu->active=0; in bootmenu_create()