Lines Matching defs:entry

64 	int entry;
164 struct menu_entry *entry;
170 STAILQ_FOREACH(entry, menu, next) {
171 size_t bootfs_len = strlen(entry->bootfs);
184 struct menu_entry *entry;
193 STAILQ_FOREACH(entry, menu, next) {
197 if (strcmp(be_node->be_root_ds, entry->bootfs) == 0)
203 entry->bootfs, entry->title);
209 hdr->cols[2].width, entry->bootfs,
210 hdr->cols[3].width, entry->title);
246 * menu.lst entry is on two lines, one for title, one for bootfs
308 mp->entry = i++;
321 struct menu_entry *entry;
322 STAILQ_FOREACH(entry, menu, next) {
324 free(entry->title);
325 free(entry->bootfs);
326 free(entry);
569 struct menu_entry *entry;
587 bam_error(_("invalid boot entry number: %s\n"), val);
590 STAILQ_FOREACH(entry, menu, next) {
591 if (entry->entry == optval)
594 if (entry == NULL) {
595 bam_error(_("invalid boot entry number: %s\n"), val);
603 entry->title) != 0) {
663 bam_mount_be(struct menu_entry *entry, char **dir)
693 if (strcmp(be_node->be_root_ds, entry->bootfs) == 0)
747 * display details of menu entry or single property
750 list_menu_entry(struct menu_entry *entry, char *setting)
758 mounted = bam_mount_be(entry, &dir);
764 bam_error(_("%s is not mounted\n"), entry->title);
777 entry->bootfs);
808 (void) printf("\nTitle: %s\n", entry->title);
810 (void) printf("%s\n", entry->title);
840 (void) printf("Bootfs: %s\n", entry->bootfs);
842 (void) printf("%s\n", entry->bootfs);
931 struct menu_entry *entry;
946 if (strncmp(opt, "entry", i) == 0) {
955 STAILQ_FOREACH(entry, menu, next) {
957 if (strcmp(title, entry->title) == 0)
959 } else if (entry->entry == e)
963 if (entry == NULL) {
964 bam_error(_("no matching entry found\n"));
968 return (list_menu_entry(entry, ""));
972 * For now this is just stub entry to support grub interface, the
1135 int entry = -1;
1145 * "" - list default entry
1146 * number - use for entry number
1153 entry = strtol(which, &rest, 10);
1155 bam_error(_("invalid boot entry number: %s\n"),
1163 /* find default entry */
1164 if (entry == -1) {
1171 entry++;
1186 if (m->entry == entry)
1190 bam_error(_("no matching entry found\n"));