Displaying 5 results from an estimated 5 matches for "n_bd".
Did you mean:
_bd
2019 May 24
3
[PATCH] (vesa)menu.c32: Add support for BLS
...} else {
+ /* We should never get here */
+ return 0;
+ }
+
+ return strcmp(a, b);
+}
+
+static int parse_bls1_dir(const char *dirname)
+{
+ DIR *d = NULL;
+ char *filename = NULL;
+ struct dirent *de = NULL;
+ struct blsdata *nbd = NULL, **bdx = NULL;
+ int i, n_bdx = 0, n_bd = 0;
+ int rv = -1, fn_len, dn_len;
+ struct menu *m = current_menu;
+
+ if (!*dirname)
+ return -1;
+
+ dprintf("Opening bls entries directory %s ", dirname);
+
+ d = opendir(dirname);
+ dprintf("%s\n", d ? "ok" : "failed"...
2019 Jul 09
0
[PATCH] core: Add support for BLS Type 1 entries
...c:display_directory
+ *
+ * returns the number of files that were successfully parsed,
+ * or -1 on error
+ */
+static int parse_bls1_dir(const char *dirname)
+{
+ DIR *d = NULL;
+ char *filename = NULL;
+ struct dirent *de = NULL;
+ struct blsdata *nbd = NULL, **bdx = NULL;
+ int i, n_bdx = 0, n_bd = 0;
+ int rv = 0, fn_len, dn_len;
+ struct menu *m = current_menu;
+ const char *tmp = NULL;
+
+ dprintf("Opening bls entries directory %s ", dirname);
+
+ d = opendir(dirname);
+ dprintf("%s\n", d ? "ok" : "failed");
+ if (!d...
2019 May 25
2
[PATCH] (vesa)menu.c32: Add support for BLS
...> > +}
>
> <snip>
>
> > +static int parse_bls1_dir(const char *dirname)
> > +{
> > + DIR *d = NULL;
> > + char *filename = NULL;
> > + struct dirent *de = NULL;
> > + struct blsdata *nbd = NULL, **bdx = NULL;
> > + int i, n_bdx = 0, n_bd = 0;
> > + int rv = -1, fn_len, dn_len;
> > + struct menu *m = current_menu;
> > +
> > + if (!*dirname)
> > + return -1;
> > +
> > + dprintf("Opening bls entries directory %s ", dirname);
> > +
> > + d...
2019 May 25
0
[PATCH] (vesa)menu.c32: Add support for BLS
...+ return (bd->linux_ || bd->efi) ? 0 : -1;
> +}
<snip>
> +static int parse_bls1_dir(const char *dirname)
> +{
> + DIR *d = NULL;
> + char *filename = NULL;
> + struct dirent *de = NULL;
> + struct blsdata *nbd = NULL, **bdx = NULL;
> + int i, n_bdx = 0, n_bd = 0;
> + int rv = -1, fn_len, dn_len;
> + struct menu *m = current_menu;
> +
> + if (!*dirname)
> + return -1;
> +
> + dprintf("Opening bls entries directory %s ", dirname);
> +
> + d = opendir(dirname);
> + dprintf("%...
2019 May 27
0
[PATCH] (vesa)menu.c32: Add support for BLS
...>
> > > +static int parse_bls1_dir(const char *dirname)
> > > +{
> > > + DIR *d = NULL;
> > > + char *filename = NULL;
> > > + struct dirent *de = NULL;
> > > + struct blsdata *nbd = NULL, **bdx = NULL;
> > > + int i, n_bdx = 0, n_bd = 0;
> > > + int rv = -1, fn_len, dn_len;
> > > + struct menu *m = current_menu;
> > > +
> > > + if (!*dirname)
> > > + return -1;
> > > +
> > > + dprintf("Opening bls entries directory %s ", dirn...