sbin/gpt/biosboot.c
104
if (bootpath == NULL)
sbin/gpt/biosboot.c
106
else if (*bootpath == '/')
sbin/gpt/biosboot.c
107
bp = strdup(bootpath);
sbin/gpt/biosboot.c
109
if (asprintf(&bp, "%s/%s", DEFAULT_BOOTDIR, bootpath) < 0)
sbin/gpt/biosboot.c
173
const char *bootpath, int active)
sbin/gpt/biosboot.c
198
if ((bootcode = read_boot(gpt, bootpath)) == NULL) {
sbin/gpt/biosboot.c
277
char *bootpath = NULL;
sbin/gpt/biosboot.c
285
if (gpt_name_get(gpt, &bootpath) == -1)
sbin/gpt/biosboot.c
322
if (biosboot(ngpt, start, size, entry, label, bootpath, active) == -1)
sbin/gpt/biosboot.c
332
free(bootpath);
sbin/gpt/biosboot.c
94
read_boot(gpt_t gpt, const char *bootpath)
sys/arch/arc/include/bootinfo.h
52
char bootpath[BTINFO_BOOTPATH_LEN];
sys/arch/arc/stand/boot/boot.c
133
const char *bootpath = NULL;
sys/arch/arc/stand/boot/boot.c
166
bootpath = firmware_getenv("OSLoadPartition");
sys/arch/arc/stand/boot/boot.c
167
if (bootpath == NULL)
sys/arch/arc/stand/boot/boot.c
168
bootpath =
sys/arch/arc/stand/boot/boot.c
171
if (bootpath == NULL) {
sys/arch/arc/stand/boot/boot.c
176
DPRINTF("bootpath = %s\n", bootpath);
sys/arch/arc/stand/boot/boot.c
210
strcpy(bootfile, bootpath);
sys/arch/arc/stand/boot/boot.c
218
strcpy(bootfile, bootpath);
sys/arch/arc/stand/boot/boot.c
235
strlcpy(bi_bpath.bootpath, kernel, BTINFO_BOOTPATH_LEN);
sys/arch/bebox/bebox/machdep.c
96
char bootpath[256];
sys/arch/bebox/include/cpu.h
38
extern char bootpath[];
sys/arch/cobalt/include/bootinfo.h
54
char bootpath[BTINFO_BOOTPATH_LEN];
sys/arch/cobalt/stand/boot/boot.c
411
char bootpath[PATH_MAX];
sys/arch/cobalt/stand/boot/boot.c
455
bootpath[0] = '\0';
sys/arch/cobalt/stand/boot/boot.c
457
strcpy(bootpath, dev ? dev : DEFBOOTDEV);
sys/arch/cobalt/stand/boot/boot.c
458
strcat(bootpath, ":");
sys/arch/cobalt/stand/boot/boot.c
459
strcat(bootpath, kernel);
sys/arch/cobalt/stand/boot/boot.c
461
lcd_loadfile(bootpath);
sys/arch/cobalt/stand/boot/boot.c
462
printf("Loading: %s", bootpath);
sys/arch/cobalt/stand/boot/boot.c
466
patch_bootstring(bootpath);
sys/arch/cobalt/stand/boot/boot.c
467
win = (loadfile(bootpath, marks, LOAD_ALL) != -1);
sys/arch/cobalt/stand/boot/boot.c
471
strncpy(bi_bpath.bootpath, kernel, BTINFO_BOOTPATH_LEN);
sys/arch/emips/include/bootinfo.h
58
char bootpath[BTINFO_BOOTPATH_LEN];
sys/arch/emips/stand/common/boot.c
121
strcpy(bootpath, dev);
sys/arch/emips/stand/common/boot.c
122
strcat(bootpath, kernel);
sys/arch/emips/stand/common/boot.c
123
name = getboot(bootpath,options);
sys/arch/emips/stand/common/boot.c
136
strcpy(bootpath, dev);
sys/arch/emips/stand/common/boot.c
137
strcat(bootpath, kernel);
sys/arch/emips/stand/common/boot.c
138
win = (loadit(bootpath, marks) == 0);
sys/arch/emips/stand/common/boot.c
140
name = bootpath;
sys/arch/emips/stand/common/boot.c
147
strncpy(bi_bpath.bootpath, name/*kernel?*/, BTINFO_BOOTPATH_LEN);
sys/arch/emips/stand/common/boot.c
83
char bootpath[PATH_MAX], options[OPT_MAX];
sys/arch/evbarm/mini2440/mini2440_bootinfo.h
69
char bootpath[80];
sys/arch/evbarm/mini2440/mini2440_machdep.c
1079
booted_kernel = bi_path->bootpath;
sys/arch/evbarm/mini2440/mini2440_machdep.c
1100
booted_kernel = bi_path->bootpath;
sys/arch/evbarm/stand/boot2440/devopen.c
110
strncpy(bi_path.bootpath, *file, sizeof(bi_path.bootpath));
sys/arch/evbarm/stand/boot2440/devopen.c
87
strncpy(bi_path.bootpath, bootfile, sizeof(bi_path.bootpath));
sys/arch/evbarm/stand/boot2440/devopen.c
97
strncpy(bi_path.bootpath, bootfile, sizeof(bi_path.bootpath));
sys/arch/evbarm/stand/boot2440/main.c
167
bi_path.bootpath[0] = 0;
sys/arch/evbarm/stand/boot2440/main.c
256
if (bi_path.bootpath[0] != 0)
sys/arch/hppa/include/pdc.h
500
struct device_path bootpath; /* 0x24: boot path */
sys/arch/i386/i386/multiboot.c
507
memcpy(bi.bootpath, cl, MIN(sizeof(bi.bootpath), len));
sys/arch/i386/i386/multiboot.c
509
bi.bootpath[MIN(sizeof(bi.bootpath) - 1, len)] = '\0';
sys/arch/i386/stand/boot/devopen.c
141
strncpy(bibp.bootpath, *file, sizeof(bibp.bootpath));
sys/arch/i386/stand/dosboot/devopen.c
119
strncpy(bibp.bootpath, *file, sizeof(bibp.bootpath));
sys/arch/i386/stand/efiboot/devopen.c
185
strncpy(bibp.bootpath, *file, sizeof(bibp.bootpath));
sys/arch/i386/stand/efiboot/devopen.c
231
strncpy(bibp.bootpath, *file, sizeof(bibp.bootpath));
sys/arch/i386/stand/efiboot/devopen.c
304
strncpy(bibp.bootpath, *file, sizeof(bibp.bootpath));
sys/arch/i386/stand/pxeboot/devopen.c
137
strncpy(bibp.bootpath, filename, sizeof(bibp.bootpath));
sys/arch/ibmnws/include/cpu.h
38
extern char *bootpath;
sys/arch/landisk/include/bootinfo.h
43
char bootpath[80];
sys/arch/landisk/stand/boot/devopen.c
127
strncpy(bibp.bootpath, *file, sizeof(bibp.bootpath));
sys/arch/macppc/include/cpu.h
38
extern char bootpath[];
sys/arch/macppc/stand/bootxx/bootxx.c
319
char bootpath[128];
sys/arch/macppc/stand/bootxx/bootxx.c
327
if (OF_getprop(chosen, "bootpath", bootpath, sizeof(bootpath)) == 1) {
sys/arch/macppc/stand/bootxx/bootxx.c
332
OF_getprop(options, "boot-device", bootpath, sizeof(bootpath));
sys/arch/macppc/stand/bootxx/bootxx.c
341
for (i = 0; i < sizeof(bootpath); i++) {
sys/arch/macppc/stand/bootxx/bootxx.c
342
if (bootpath[i] == ':')
sys/arch/macppc/stand/bootxx/bootxx.c
343
bootpath[i] = 0;
sys/arch/macppc/stand/bootxx/bootxx.c
344
if (bootpath[i] == 0)
sys/arch/macppc/stand/bootxx/bootxx.c
349
putstrn(bootpath, i);
sys/arch/macppc/stand/bootxx/bootxx.c
350
fd = OF_open(bootpath);
sys/arch/macppc/stand/ofwboot/hfs.c
42
char bootpath[128], *cp;
sys/arch/macppc/stand/ofwboot/hfs.c
46
memset(bootpath, 0, sizeof bootpath);
sys/arch/macppc/stand/ofwboot/hfs.c
47
OF_getprop(chosen, "bootpath", bootpath, sizeof bootpath);
sys/arch/macppc/stand/ofwboot/hfs.c
48
cp = strrchr(bootpath, ',');
sys/arch/macppc/stand/ofwboot/hfs.c
53
OF_fd = OF_open(bootpath);
sys/arch/mips/mips/mips_machdep.c
1766
node.sysctl_data = bibp->bootpath;
sys/arch/mips/mips/mips_machdep.c
1767
node.sysctl_size = sizeof(bibp->bootpath);
sys/arch/mipsco/include/bootinfo.h
58
char bootpath[BTINFO_BOOTPATH_LEN];
sys/arch/mipsco/stand/common/boot.c
107
char bootname[PATH_MAX], bootpath[PATH_MAX];
sys/arch/mipsco/stand/common/boot.c
152
strcpy(bootpath, dev);
sys/arch/mipsco/stand/common/boot.c
153
strcat(bootpath, kernel);
sys/arch/mipsco/stand/common/boot.c
154
printf("Loading: %s\n", bootpath);
sys/arch/mipsco/stand/common/boot.c
155
win = (loadfile(bootpath, marks, LOAD_ALL) != -1);
sys/arch/mipsco/stand/common/boot.c
157
name = bootpath;
sys/arch/mipsco/stand/common/boot.c
164
strncpy(bi_bpath.bootpath, kernel, BTINFO_BOOTPATH_LEN);
sys/arch/mmeye/include/bootinfo.h
59
char bootpath[BTINFO_BOOTPATH_LEN];
sys/arch/mmeye/stand/boot/boot.c
188
char bootpath[PATH_MAX];
sys/arch/mmeye/stand/boot/boot.c
227
bootpath[0] = '\0';
sys/arch/mmeye/stand/boot/boot.c
229
strcpy(bootpath, dev ? dev : DEFBOOTDEV);
sys/arch/mmeye/stand/boot/boot.c
230
strcat(bootpath, ":");
sys/arch/mmeye/stand/boot/boot.c
231
strcat(bootpath, kernel);
sys/arch/mmeye/stand/boot/boot.c
233
printf("Loading: %s", bootpath);
sys/arch/mmeye/stand/boot/boot.c
237
win = (loadfile(bootpath, marks, LOAD_ALL) != -1);
sys/arch/mmeye/stand/boot/boot.c
248
strncpy(bi_bpath.bootpath, kernel, BTINFO_BOOTPATH_LEN);
sys/arch/mvmeppc/include/cpu.h
38
extern char *bootpath;
sys/arch/newsmips/include/bootinfo.h
67
char bootpath[BTINFO_BOOTPATH_LEN];
sys/arch/newsmips/stand/boot/boot.c
195
strcpy(bi_bpath.bootpath, file);
sys/arch/ofppc/include/cpu.h
38
extern char bootpath[];
sys/arch/ofppc/ofppc/machdep.c
71
extern char bootpath[256];
sys/arch/pmax/include/bootinfo.h
58
char bootpath[BTINFO_BOOTPATH_LEN];
sys/arch/pmax/stand/common/boot.c
114
char bootname[PATH_MAX], bootpath[PATH_MAX];
sys/arch/pmax/stand/common/boot.c
152
strcpy(bootpath, dev);
sys/arch/pmax/stand/common/boot.c
153
strcat(bootpath, kernel);
sys/arch/pmax/stand/common/boot.c
154
printf("Loading: %s\n", bootpath);
sys/arch/pmax/stand/common/boot.c
155
win = (loadfile(bootpath, marks, LOAD_ALL) != -1);
sys/arch/pmax/stand/common/boot.c
157
name = bootpath;
sys/arch/pmax/stand/common/boot.c
164
strncpy(bi_bpath.bootpath, kernel, BTINFO_BOOTPATH_LEN);
sys/arch/pmax/stand/smallnet/smallnet.c
91
strncpy(bi_bpath.bootpath, name, BTINFO_BOOTPATH_LEN);
sys/arch/powerpc/booke/booke_machdep.c
162
char bootpath[256];
sys/arch/powerpc/oea/ofw_autoconf.c
112
if (bootpath[0] != '/' && bootpath[0] != '\0') {
sys/arch/powerpc/oea/ofw_autoconf.c
119
cp1 = strchr(bootpath, ':');
sys/arch/powerpc/oea/ofw_autoconf.c
120
cp2 = strchr(bootpath, ',');
sys/arch/powerpc/oea/ofw_autoconf.c
130
len = OF_getprop(aliases, bootpath, aliasbuf,
sys/arch/powerpc/oea/ofw_autoconf.c
135
memcpy(bootpath, aliasbuf, len);
sys/arch/powerpc/oea/ofw_autoconf.c
136
strcpy(&bootpath[len], tmpbuf);
sys/arch/powerpc/oea/ofw_autoconf.c
150
strcpy(cbootpath, bootpath);
sys/arch/powerpc/oea/ofw_autoconf.c
164
printf("bootpath: %s\n", bootpath);
sys/arch/powerpc/oea/ofw_autoconf.c
167
strcpy(cbootpath, bootpath);
sys/arch/powerpc/oea/ofw_autoconf.c
239
static char *bp = bootpath + 1, *cp = cbootpath;
sys/arch/powerpc/oea/ofw_autoconf.c
76
extern char bootpath[256];
sys/arch/powerpc/oea/ofwoea_machdep.c
116
char bootpath[256] = "";
sys/arch/powerpc/oea/ofwoea_machdep.c
160
strcpy(bootpath, args);
sys/arch/powerpc/oea/ofwoea_machdep.c
161
args = bootpath;
sys/arch/powerpc/oea/ofwoea_machdep.c
171
if (bootpath[0] == 0) {
sys/arch/powerpc/oea/ofwoea_machdep.c
175
len = OF_getprop(chs, "bootpath", bootpath, sizeof(bootpath) - 1);
sys/arch/powerpc/oea/ofwoea_machdep.c
177
bootpath[len] = 0;
sys/arch/prep/include/cpu.h
38
extern char bootpath[];
sys/arch/prep/pnpbus/nvram_pnpbus.c
194
strncpy(bootpath, prep_nvram_get_var("fw-boot-device"), 256);
sys/arch/prep/pnpbus/nvram_pnpbus.c
68
extern char bootpath[256];
sys/arch/prep/prep/autoconf.c
327
cp = strchr(bootpath, ':');
sys/arch/prep/prep/autoconf.c
332
len = strlen(bootpath);
sys/arch/prep/prep/autoconf.c
334
printf("Modified bootpath: %s\n", bootpath);
sys/arch/prep/prep/autoconf.c
346
if (strncmp(prop_string_cstring_nocopy(str), bootpath,
sys/arch/prep/prep/autoconf.c
65
extern char bootpath[256];
sys/arch/prep/prep/machdep.c
94
char bootpath[256];
sys/arch/rs6000/include/cpu.h
38
extern char bootpath[];
sys/arch/rs6000/rs6000/autoconf.c
52
extern char bootpath[256];
sys/arch/rs6000/rs6000/machdep.c
99
char bootpath[256];
sys/arch/sandpoint/include/bootinfo.h
74
char bootpath[80];
sys/arch/sandpoint/include/cpu.h
38
extern char *bootpath;
sys/arch/sandpoint/sandpoint/autoconf.c
201
booted_kernel = bi_path->bootpath;
sys/arch/sandpoint/stand/altboot/dev_net.c
86
snprintf(bi_path.bootpath, sizeof(bi_path.bootpath), "%s", bootfile);
sys/arch/sandpoint/stand/altboot/dsk.c
507
snprintf(bi_path.bootpath, sizeof(bi_path.bootpath), "%s", name);
sys/arch/sandpoint/stand/altboot/main.c
327
printf("\"%s\" not found\n", bi_path.bootpath);
sys/arch/sandpoint/stand/altboot/main.c
330
printf("loading \"%s\" ", bi_path.bootpath);
sys/arch/sgimips/include/bootinfo.h
52
char bootpath[BTINFO_BOOTPATH_LEN];
sys/arch/sgimips/sgimips/machdep.c
242
char *bootpath = NULL;
sys/arch/sgimips/sgimips/machdep.c
309
bootpath = bi_path->bootpath;
sys/arch/sgimips/sgimips/machdep.c
401
if (bootpath != NULL)
sys/arch/sgimips/sgimips/machdep.c
402
makebootdev(bootpath);
sys/arch/sgimips/stand/common/boot.c
125
const char *bootpath = NULL;
sys/arch/sgimips/stand/common/boot.c
177
bootpath = arcbios_GetEnvironmentVariable("OSLoadPartition");
sys/arch/sgimips/stand/common/boot.c
179
if (bootpath == NULL) {
sys/arch/sgimips/stand/common/boot.c
210
strcpy(bootfile, bootpath);
sys/arch/sgimips/stand/common/boot.c
218
strcpy(bootfile, bootpath);
sys/arch/sgimips/stand/common/boot.c
234
strlcpy(bi_bpath.bootpath, bootfile, BTINFO_BOOTPATH_LEN);
sys/arch/sgimips/stand/common/iris_boot.c
126
strlcpy(bi_bpath.bootpath, kernelname, BTINFO_BOOTPATH_LEN);
sys/arch/sgimips/stand/common/iris_parse.c
45
char bootpath[1 + 64];
sys/arch/sgimips/stand/common/iris_parse.c
48
char *ep = strcpy(bootpath, argv[1]);
sys/arch/sgimips/stand/common/iris_parse.c
49
ep = strrchr(bootpath, '/');
sys/arch/sgimips/stand/common/iris_parse.c
55
i = ep - bootpath;
sys/arch/sgimips/stand/common/iris_parse.c
56
bootpath[i - 1] = '\0';
sys/arch/sgimips/stand/common/iris_parse.c
58
ep = strchr(bootpath, '(');
sys/arch/sparc/sparc/autoconf.c
1028
struct bootpath *bp;
sys/arch/sparc/sparc/autoconf.c
1030
bp = nbootpath == 0 ? NULL : &bootpath[nbootpath-1];
sys/arch/sparc/sparc/autoconf.c
1205
bootpath_store(1, bootpath);
sys/arch/sparc/sparc/autoconf.c
136
struct bootpath bootpath[8];
sys/arch/sparc/sparc/autoconf.c
139
static void bootpath_fake(struct bootpath *, const char *);
sys/arch/sparc/sparc/autoconf.c
140
static void bootpath_print(struct bootpath *);
sys/arch/sparc/sparc/autoconf.c
141
static struct bootpath *bootpath_store(int, struct bootpath *);
sys/arch/sparc/sparc/autoconf.c
1540
static int instance_match(device_t, void *, struct bootpath *);
sys/arch/sparc/sparc/autoconf.c
1541
static void nail_bootdev(device_t, struct bootpath *);
sys/arch/sparc/sparc/autoconf.c
1647
instance_match(device_t dev, void *aux, struct bootpath *bp)
sys/arch/sparc/sparc/autoconf.c
1745
nail_bootdev(device_t dev, struct bootpath *bp)
sys/arch/sparc/sparc/autoconf.c
1774
struct bootpath *bp = bootpath_store(0, NULL);
sys/arch/sparc/sparc/autoconf.c
1814
strcpy(bootpath[nbootpath].name, "fd");
sys/arch/sparc/sparc/autoconf.c
530
struct bootpath *bp;
sys/arch/sparc/sparc/autoconf.c
536
memset(bootpath, 0, sizeof(bootpath));
sys/arch/sparc/sparc/autoconf.c
537
bp = bootpath;
sys/arch/sparc/sparc/autoconf.c
566
if (CPU_ISSUN4M && bp == bootpath
sys/arch/sparc/sparc/autoconf.c
569
strcpy(bootpath[0].name, "iommu");
sys/arch/sparc/sparc/autoconf.c
570
bootpath[0].val[0] = 0;
sys/arch/sparc/sparc/autoconf.c
571
bootpath[0].val[1] = 0x10000000;
sys/arch/sparc/sparc/autoconf.c
572
bootpath[0].val[2] = 0;
sys/arch/sparc/sparc/autoconf.c
575
strcpy(bootpath[1].name, "sbus");
sys/arch/sparc/sparc/autoconf.c
578
bootpath[1].val[0] = 0;
sys/arch/sparc/sparc/autoconf.c
579
bootpath[1].val[1] = 0x10001000;
sys/arch/sparc/sparc/autoconf.c
580
bootpath[1].val[2] = 0;
sys/arch/sparc/sparc/autoconf.c
582
bp = &bootpath[2];
sys/arch/sparc/sparc/autoconf.c
585
bp = &bootpath[1];
sys/arch/sparc/sparc/autoconf.c
611
bootpath_print(bootpath);
sys/arch/sparc/sparc/autoconf.c
652
bootpath_fake(struct bootpath *bp, const char *cp)
sys/arch/sparc/sparc/autoconf.c
836
bootpath_print(struct bootpath *bp)
sys/arch/sparc/sparc/autoconf.c
855
struct bootpath *
sys/arch/sparc/sparc/autoconf.c
856
bootpath_store(int storep, struct bootpath *bp)
sys/arch/sparc/sparc/autoconf.c
858
static struct bootpath *save;
sys/arch/sparc/sparc/autoconf.c
859
struct bootpath *retval;
sys/arch/sparc/stand/ofwboot/promlib.c
74
static char bootpath[PROM_MAX_PATH];
sys/arch/sparc/stand/ofwboot/promlib.c
76
if (_prom_getprop(openfirmware_chosen(), "bootpath", bootpath,
sys/arch/sparc/stand/ofwboot/promlib.c
77
sizeof(bootpath)) < 0) {
sys/arch/sparc/stand/ofwboot/promlib.c
81
return bootpath;
sys/arch/sparc64/sparc64/machdep.c
308
char bootpath[256];
sys/arch/sparc64/sparc64/machdep.c
324
snprintf(bootpath, sizeof(bootpath), "%s:%s",
sys/arch/sparc64/sparc64/machdep.c
326
cp = bootpath;
sys/arch/sun3/dev/fd.c
373
struct bootpath *fa_bootpath;
sys/arch/x86/include/bootinfo.h
61
char bootpath[80];
sys/arch/x86/x86/x86_machdep.c
1318
return bibp ? bibp->bootpath : NULL;
sys/arch/x86/x86/x86_machdep.c
1335
node.sysctl_data = bibp->bootpath;
sys/arch/x86/x86/x86_machdep.c
1336
node.sysctl_size = sizeof(bibp->bootpath);
usr.sbin/sysinst/arch/atari/md.c
141
char bootpath[MAXPATHLEN];
usr.sbin/sysinst/arch/atari/md.c
156
snprintf(bootpath, sizeof(bootpath), "/usr/mdec/%s/boot.atari",
usr.sbin/sysinst/arch/atari/md.c
158
rv = cp_to_target(bootpath, "/");
usr.sbin/sysinst/arch/luna68k/md.c
257
char bootpath[MAXPATHLEN];
usr.sbin/sysinst/arch/luna68k/md.c
279
snprintf(bootpath, sizeof(bootpath), "%s/%s", mntdir, "boot");
usr.sbin/sysinst/arch/luna68k/md.c
280
if (stat(bootpath, &sb) == 0 && S_ISREG(sb.st_mode))