Lines Matching refs:menu_t
265 static error_t read_globals(menu_t *, char *, char *, int);
267 static menu_t *menu_read(char *);
268 static error_t menu_write(char *, menu_t *);
270 static void menu_free(menu_t *);
273 static error_t list_entry(menu_t *, char *, char *);
274 static error_t list_setting(menu_t *, char *, char *);
275 static error_t delete_all_entries(menu_t *, char *, char *);
276 static error_t update_entry(menu_t *mp, char *menu_root, char *opt);
277 static error_t update_temp(menu_t *mp, char *dummy, char *opt);
284 static error_t set_option(menu_t *, char *, char *);
285 static error_t set_kernel(menu_t *, menu_cmd_t, char *, char *, size_t);
286 static error_t get_kernel(menu_t *, menu_cmd_t, char *, size_t);
1017 list_setting(menu_t *mp, char *which, char *setting) in list_setting()
1320 menu_t *menu; in bam_menu()
1323 error_t (*f)(menu_t *mp, char *menu_path, char *opt); in bam_menu()
4661 append_line(menu_t *mp, line_t *lp) in append_line()
4673 unlink_line(menu_t *mp, line_t *lp) in unlink_line()
4687 boot_entry_new(menu_t *mp, line_t *start, line_t *end) in boot_entry_new()
4876 line_parser(menu_t *mp, char *str, int *lineNum, int *entryNum) in line_parser()
5054 update_numbering(menu_t *mp) in update_numbering()
5150 static menu_t *
5155 menu_t *mp; in menu_read()
5158 mp = s_calloc(1, sizeof (menu_t)); in menu_read()
5193 selector(menu_t *mp, char *opt, int *entry, char **title) in selector()
5247 list_entry(menu_t *mp, char *menu_path, char *opt) in list_entry()
5316 add_boot_entry(menu_t *mp, in add_boot_entry()
5420 delete_boot_entry(menu_t *mp, int entryNum, int quiet) in delete_boot_entry()
5496 delete_all_entries(menu_t *mp, char *dummy, char *opt) in delete_all_entries()
8282 bam_add_line(menu_t *mp, entry_t *entry, line_t *prev, line_t *lp)
8322 menu_t *mp,
8469 update_boot_entry(menu_t *mp, char *title, char *findroot, char *root,
8709 update_entry(menu_t *mp, char *menu_root, char *osdev)
8849 save_default_entry(menu_t *mp, const char *which)
8877 restore_default_entry(menu_t *mp, const char *which, line_t *lp)
8915 update_temp(menu_t *mp, char *dummy, char *opt)
9175 set_global(menu_t *mp, char *globalcmd, int val)
9403 menu_t *mp,
9760 get_kernel(menu_t *mp, menu_cmd_t optnum, char *buf, size_t bufsize)
9768 set_kernel(menu_t *mp, menu_cmd_t optnum, char *path, char *buf, size_t bufsize)
9779 set_option(menu_t *mp, char *dummy, char *opt)
9855 read_globals(menu_t *mp, char *menu_path, char *globalcmd, int quiet)
9906 menu_write(char *root, menu_t *mp)
9952 menu_free(menu_t *mp)