HomeSort by: relevance | last modified time | path
    Searched defs:bootpath (Results 1 - 25 of 36) sorted by relevancy

1 2

  /src/sys/arch/sgimips/stand/common/
iris_parse.c 45 char bootpath[1 + 64]; local in function:parse
48 char *ep = strcpy(bootpath, argv[1]);
49 ep = strrchr(bootpath, '/');
55 i = ep - bootpath;
56 bootpath[i - 1] = '\0';
58 ep = strchr(bootpath, '(');
boot.c 125 const char *bootpath = NULL; local in function:main
157 * install. The bootpath will therefore be partition 0 of whatever
177 bootpath = arcbios_GetEnvironmentVariable("OSLoadPartition");
179 if (bootpath == NULL) {
204 * contains the bootpath and ignore anything passed through
210 strcpy(bootfile, bootpath);
218 strcpy(bootfile, bootpath);
234 strlcpy(bi_bpath.bootpath, bootfile, BTINFO_BOOTPATH_LEN);
  /src/sys/arch/macppc/stand/ofwboot/
hfs.c 42 char bootpath[128], *cp; local in function:hfs_open
46 memset(bootpath, 0, sizeof bootpath);
47 OF_getprop(chosen, "bootpath", bootpath, sizeof bootpath);
48 cp = strrchr(bootpath, ',');
53 OF_fd = OF_open(bootpath);
  /src/sys/arch/mipsco/stand/common/
boot.c 107 char bootname[PATH_MAX], bootpath[PATH_MAX]; local in function:main
152 strcpy(bootpath, dev);
153 strcat(bootpath, kernel);
154 printf("Loading: %s\n", bootpath);
155 win = (loadfile(bootpath, marks, LOAD_ALL) != -1);
157 name = bootpath;
164 strncpy(bi_bpath.bootpath, kernel, BTINFO_BOOTPATH_LEN);
  /src/sys/arch/pmax/stand/common/
boot.c 114 char bootname[PATH_MAX], bootpath[PATH_MAX]; local in function:main
152 strcpy(bootpath, dev);
153 strcat(bootpath, kernel);
154 printf("Loading: %s\n", bootpath);
155 win = (loadfile(bootpath, marks, LOAD_ALL) != -1);
157 name = bootpath;
164 strncpy(bi_bpath.bootpath, kernel, BTINFO_BOOTPATH_LEN);
190 * bootpath including the kernel name. This code to do this
  /src/sys/arch/arc/include/
bootinfo.h 52 char bootpath[BTINFO_BOOTPATH_LEN]; member in struct:btinfo_bootpath
  /src/sys/arch/arc/stand/boot/
boot.c 133 const char *bootpath = NULL; local in function:main
166 bootpath = firmware_getenv("OSLoadPartition");
167 if (bootpath == NULL)
168 bootpath =
171 if (bootpath == NULL) {
176 DPRINTF("bootpath = %s\n", bootpath);
204 * contains the bootpath and ignore anything passed through
210 strcpy(bootfile, bootpath);
218 strcpy(bootfile, bootpath);
    [all...]
  /src/sys/arch/emips/include/
bootinfo.h 58 char bootpath[BTINFO_BOOTPATH_LEN]; member in struct:btinfo_bootpath
  /src/sys/arch/mipsco/include/
bootinfo.h 58 char bootpath[BTINFO_BOOTPATH_LEN]; member in struct:btinfo_bootpath
  /src/sys/arch/pmax/include/
bootinfo.h 58 char bootpath[BTINFO_BOOTPATH_LEN]; member in struct:btinfo_bootpath
  /src/sys/arch/sgimips/include/
bootinfo.h 52 char bootpath[BTINFO_BOOTPATH_LEN]; member in struct:btinfo_bootpath
  /src/sys/arch/sparc/stand/ofwboot/
promlib.c 74 static char bootpath[PROM_MAX_PATH]; local in function:openfirmware_bootpath
76 if (_prom_getprop(openfirmware_chosen(), "bootpath", bootpath,
77 sizeof(bootpath)) < 0) {
81 return bootpath;
  /src/sys/arch/cobalt/include/
bootinfo.h 54 char bootpath[BTINFO_BOOTPATH_LEN]; member in struct:btinfo_bootpath
  /src/sys/arch/landisk/include/
bootinfo.h 43 char bootpath[80]; member in struct:btinfo_bootpath
  /src/sys/arch/mmeye/include/
bootinfo.h 59 char bootpath[BTINFO_BOOTPATH_LEN]; member in struct:btinfo_bootpath
  /src/sys/arch/mmeye/stand/boot/
boot.c 188 char bootpath[PATH_MAX]; local in function:main
227 bootpath[0] = '\0';
229 strcpy(bootpath, dev ? dev : DEFBOOTDEV);
230 strcat(bootpath, ":");
231 strcat(bootpath, kernel);
233 printf("Loading: %s", bootpath);
237 win = (loadfile(bootpath, marks, LOAD_ALL) != -1);
248 strncpy(bi_bpath.bootpath, kernel, BTINFO_BOOTPATH_LEN);
  /src/sys/arch/newsmips/include/
bootinfo.h 67 char bootpath[BTINFO_BOOTPATH_LEN]; member in struct:btinfo_bootpath
  /src/usr.sbin/sysinst/arch/atari/
md.c 141 char bootpath[MAXPATHLEN]; local in function:md_post_newfs
156 snprintf(bootpath, sizeof(bootpath), "/usr/mdec/%s/boot.atari",
158 rv = cp_to_target(bootpath, "/");
  /src/sys/arch/bebox/bebox/
machdep.c 96 char bootpath[256]; variable in typeref:typename:char[256]
  /src/sys/arch/emips/stand/common/
boot.c 83 char bootpath[PATH_MAX], options[OPT_MAX]; local in function:main
121 strcpy(bootpath, dev);
122 strcat(bootpath, kernel);
123 name = getboot(bootpath,options);
136 strcpy(bootpath, dev);
137 strcat(bootpath, kernel);
138 win = (loadit(bootpath, marks) == 0);
140 name = bootpath;
147 strncpy(bi_bpath.bootpath, name/*kernel?*/, BTINFO_BOOTPATH_LEN);
254 * Make bootpath canonical, provides defaults when missin
    [all...]
  /src/sys/arch/evbarm/mini2440/
mini2440_bootinfo.h 69 char bootpath[80]; member in struct:btinfo_bootpath
  /src/sys/arch/sparc/include/
autoconf.h 165 struct bootpath { struct
  /src/usr.sbin/sysinst/arch/luna68k/
md.c 257 char bootpath[MAXPATHLEN]; local in function:md_update
279 snprintf(bootpath, sizeof(bootpath), "%s/%s", mntdir, "boot");
280 if (stat(bootpath, &sb) == 0 && S_ISREG(sb.st_mode))
  /src/sbin/gpt/
biosboot.c 92 read_boot(gpt_t gpt, const char *bootpath)
102 if (bootpath == NULL)
104 else if (*bootpath == '/')
105 bp = strdup(bootpath);
107 if (asprintf(&bp, "%s/%s", DEFAULT_BOOTDIR, bootpath) < 0)
112 gpt_warn(gpt, "Can't allocate memory for bootpath");
171 const char *bootpath, int active)
196 if ((bootcode = read_boot(gpt, bootpath)) == NULL) {
275 char *bootpath = NULL; local in function:cmd_biosboot
283 if (gpt_name_get(gpt, &bootpath) == -1
    [all...]
  /src/sys/arch/cobalt/stand/boot/
boot.c 411 char bootpath[PATH_MAX]; local in function:main
455 bootpath[0] = '\0';
457 strcpy(bootpath, dev ? dev : DEFBOOTDEV);
458 strcat(bootpath, ":");
459 strcat(bootpath, kernel);
461 lcd_loadfile(bootpath);
462 printf("Loading: %s", bootpath);
466 patch_bootstring(bootpath);
467 win = (loadfile(bootpath, marks, LOAD_ALL) != -1);
471 strncpy(bi_bpath.bootpath, kernel, BTINFO_BOOTPATH_LEN)
    [all...]

Completed in 16 milliseconds

1 2