Lines Matching refs:menu
382 struct menu *next_menu(struct menu *menu) in next_menu() argument
384 if (menu->list) return menu->list; in next_menu()
386 if (menu->next) { in next_menu()
387 menu = menu->next; in next_menu()
390 } while ((menu = menu->parent)); in next_menu()
392 return menu; in next_menu()
401 struct menu *menu; in conf_write() local
465 for (menu = rootmenu.list; menu; menu = next_menu(menu)) in conf_write()
466 if (menu->sym) menu->sym->flags |= SYMBOL_FORCEWRITE; in conf_write()
474 menu = rootmenu.list; in conf_write()
475 while (menu) { in conf_write()
476 sym = menu->sym; in conf_write()
478 if (!menu_is_visible(menu)) in conf_write()
480 str = menu_get_prompt(menu); in conf_write()
541 if (menu->list) { in conf_write()
542 menu = menu->list; in conf_write()
545 if (menu->next) in conf_write()
546 menu = menu->next; in conf_write()
547 else while ((menu = menu->parent)) { in conf_write()
548 if (menu->next) { in conf_write()
549 menu = menu->next; in conf_write()
554 menu = next_menu(menu); in conf_write()