Lines Matching refs:active
38 int active; /* active menu entry */ member
65 int reverse = (entry->menu->active == entry->num); in bootmenu_print_entry()
233 if (menu->active > 0) in bootmenu_choice_entry()
234 --menu->active; in bootmenu_choice_entry()
238 if (menu->active < menu->count - 1) in bootmenu_choice_entry()
239 ++menu->active; in bootmenu_choice_entry()
244 for (i = 0; i < menu->active; ++i) in bootmenu_choice_entry()
295 menu->active = 0; in bootmenu_create()
300 menu->active = (int)simple_strtol(default_str, NULL, 10); in bootmenu_create()
386 if ((menu->active >= menu->count)||(menu->active < 0)) { //ensure active menuitem is inside menu in bootmenu_create()
387 printf("active menuitem (%d) is outside menu (0..%d)\n",menu->active,menu->count-1); in bootmenu_create()
388 menu->active=0; in bootmenu_create()