Home
last modified time | relevance | path

Searched refs:bootstr (Results 1 – 25 of 106) sorted by relevance

12345

/netbsd-src/sbin/reboot/
H A Dreboot.c76 char *bootstr, **av; in main() local
129 bootstr = malloc(len + 1); in main()
130 *bootstr = '\0'; /* for first strcat */ in main()
132 strcat(bootstr, *av); in main()
133 strcat(bootstr, " "); in main()
135 bootstr[len - 1] = '\0'; /* to kill last space */ in main()
138 bootstr = NULL; in main()
144 reboot(howto, bootstr); in main()
161 if (bootstr) in main()
163 bootstr); in main()
[all …]
/netbsd-src/sys/kern/
H A Dkern_reboot.c53 kern_reboot(int howto, char *bootstr) in kern_reboot() argument
91 cpu_reboot(howto, bootstr); in kern_reboot()
103 char *bootstr, bs[128]; in sys_reboot() local
113 (error = copyinstr(SCARG(uap, bootstr), bs, sizeof(bs), 0)) == 0) in sys_reboot()
114 bootstr = bs; in sys_reboot()
116 bootstr = NULL; in sys_reboot()
120 kern_reboot(SCARG(uap, opt), bootstr); in sys_reboot()
/netbsd-src/sys/arch/dreamcast/dreamcast/
H A Dmachdep.c200 cpu_reboot(int howto, char *bootstr) in cpu_reboot() argument
216 if ((howto & RB_STRING) && bootstr != NULL) { in cpu_reboot()
217 printf("loading a new kernel: %s\n", bootstr); in cpu_reboot()
218 kloader_reboot_setup(bootstr); in cpu_reboot()
249 else if ((howto & RB_STRING) && bootstr != NULL) { in cpu_reboot()
/netbsd-src/sys/arch/sun3/sun3x/
H A Dmachdep.c376 static char bootstr[128]; in cpu_reboot() local
421 strncpy(bootstr, user_boot_string, sizeof(bootstr)); in cpu_reboot()
428 p = bootstr; in cpu_reboot()
444 sunmon_reboot(bootstr); in cpu_reboot()
/netbsd-src/sys/arch/landisk/landisk/
H A Dmachdep.c294 cpu_reboot(int howto, char *bootstr) in cpu_reboot() argument
304 if ((howto & RB_STRING) && (bootstr != NULL)) { in cpu_reboot()
305 kloader_reboot_setup(bootstr); in cpu_reboot()
/netbsd-src/sys/arch/arm/ofw/
H A Dofwgencfg_machdep.c124 cpu_reboot(int howto, char *bootstr) in cpu_reboot() argument
127 ofw_boot(howto, bootstr); in cpu_reboot()
/netbsd-src/sbin/shutdown/
H A Dshutdown.c97 static char *bootstr; variable
127 bootstr = optarg; in main()
410 if (bootstr) in die_you_gravy_sucking_pig_dog()
411 *arg++ = bootstr; in die_you_gravy_sucking_pig_dog()
600 "Usage: %s [-Ddfhknprvxz] [-b bootstr] time [message ... | -]\n",
/netbsd-src/sys/arch/evbsh3/evbsh3/
H A Dmachdep.c181 cpu_reboot(int howto, char *bootstr) in cpu_reboot() argument
192 if ((howto & RB_STRING) && (bootstr != NULL)) { in cpu_reboot()
193 kloader_reboot_setup(bootstr); in cpu_reboot()
/netbsd-src/sys/arch/hpcmips/hpcmips/
H A Dmachdep.c493 cpu_reboot(int howto, char *bootstr) in cpu_reboot() argument
518 kloader_reboot_setup(bootstr); in cpu_reboot()
556 (*platform.reboot)(howto, bootstr); in cpu_reboot()
/netbsd-src/sys/arch/hpcarm/hpcarm/
H A Dhpc_machdep.c125 cpu_reboot(int howto, char *bootstr) in cpu_reboot() argument
154 kloader_reboot_setup(bootstr); in cpu_reboot()
/netbsd-src/sys/compat/sunos/
H A Dsunos_misc.c1020 char *bootstr; in sunos_sys_reboot() local
1045 error = copyinstr(SCARG(uap, bootstr), bs, sizeof(bs), 0); in sunos_sys_reboot()
1048 bootstr = NULL; in sunos_sys_reboot()
1050 bootstr = bs; in sunos_sys_reboot()
1052 bootstr = NULL; in sunos_sys_reboot()
1055 SCARG(&ua, bootstr) = bootstr; in sunos_sys_reboot()
/netbsd-src/sys/arch/shark/shark/
H A Dshark_machdep.c176 cpu_reboot(int howto, char *bootstr) in cpu_reboot() argument
179 ofw_boot(howto, bootstr); in cpu_reboot()
/netbsd-src/sys/compat/sunos32/
H A Dsunos32_misc.c1264 char *bootstr; in sunos32_sys_reboot() local
1288 bootstr = SCARG_P32(uap, bootstr); in sunos32_sys_reboot()
1290 bootstr = NULL; in sunos32_sys_reboot()
1293 SCARG(&ua, bootstr) = bootstr; in sunos32_sys_reboot()
/netbsd-src/sys/arch/arm/arm32/
H A Darm32_reboot.c171 cpu_reboot(int howto, char *bootstr) in cpu_reboot() argument
/netbsd-src/sys/arch/aarch64/aarch64/
H A Daarch64_reboot.c213 cpu_reboot(int howto, char *bootstr) in cpu_reboot() argument
/netbsd-src/sys/arch/pmax/pmax/
H A Dmachdep.c414 cpu_reboot(int howto, char *bootstr) in cpu_reboot() argument
463 prom_halt(howto & RB_HALT, bootstr); in cpu_reboot()
H A Dpromcall.c199 prom_halt(int howto, char *bootstr) in prom_halt() argument
/netbsd-src/sys/arch/hpcmips/vr/
H A Dvr.c479 vr_reboot(int howto, char *bootstr) in vr_reboot() argument
500 vr_reboot(howto&~RB_HALT, bootstr); in vr_reboot()
/netbsd-src/sys/arch/hpcsh/hpcsh/
H A Dmachdep.c365 cpu_reboot(int howto, char *bootstr) in cpu_reboot() argument
386 kloader_reboot_setup(bootstr); in cpu_reboot()
/netbsd-src/sys/arch/evbmips/atheros/
H A Dmachdep.c313 cpu_reboot(int howto, char *bootstr) in cpu_reboot() argument
/netbsd-src/sys/arch/playstation2/playstation2/
H A Dmachdep.c174 cpu_reboot(int howto, char *bootstr) in cpu_reboot() argument
/netbsd-src/sys/arch/evbarm/mmnet/
H A Dmmnet_machdep.c161 cpu_reboot(int howto, char *bootstr) in cpu_reboot() argument
/netbsd-src/sys/arch/shark/ofw/
H A Dofw.c321 ofw_boot(int howto, char *bootstr) in ofw_boot() argument
387 if (bootstr && *bootstr) { in ofw_boot()
388 if (strlen(bootstr) > sizeof str - 5) in ofw_boot()
391 strcpy(str, bootstr); in ofw_boot()
/netbsd-src/sys/arch/evbmips/rasoc/
H A Dmachdep.c221 cpu_reboot(int howto, char *bootstr) in cpu_reboot() argument
/netbsd-src/sys/arch/evbmips/malta/
H A Dmachdep.c319 cpu_reboot(int howto, char *bootstr) in cpu_reboot() argument

12345