# 2.11BSD#431 - /usr/src/sys/h/reboot.h

##### Macros

    RB_ASKNAME        X
    RB_AUTOBOOT       X
    RB_AUTODEBUG      X
    RB_BOOT           X
    RB_DFLTROOT       X
    RB_DUMP           X
    RB_HALT           X
    RB_INITNAME       X
    RB_NOFSCK         X
    RB_NOSYNC         X
    RB_PANIC          X
    RB_POWRFAIL       X
    RB_RDONLY         X
    RB_SINGLE         X

       1: /*
       2:  * Copyright (c) 1986 Regents of the University of California.
       3:  * All rights reserved.  The Berkeley software License Agreement
       4:  * specifies the terms and conditions for redistribution.
       5:  *
       6:  *	@(#)reboot.h	1.2 (2.11BSD GTE) 1996/5/9
       7:  */
       8:
       9: /*
      10:  * Arguments to reboot system call.
      11:  * These are passed to boot program in r4,
      12:  * and on to init.
      13:  */
      14: #define RB_AUTOBOOT 0   /* flags for system auto-booting itself */
      15:
      16: #define RB_ASKNAME  0x001   /* ask for file name to reboot from */
      17: #define RB_SINGLE   0x002   /* reboot to single user only */
      18: #define RB_NOSYNC   0x004   /* dont sync before reboot */
      19: #define RB_HALT     0x008   /* don't reboot, just halt */
      20: #define RB_INITNAME 0x010   /* name given for /etc/init */
      21: #define RB_DFLTROOT 0x020   /* use compiled-in rootdev */
      22: #define RB_DUMP     0x040   /* take a dump before rebooting */
      23: #define RB_NOFSCK   0x080   /* don't perform fsck's on reboot */
      24: #define RB_POWRFAIL 0x100   /* reboot caused by power failure */
      25: #define RB_RDONLY   0x200   /* mount root fs read-only */
      26: #define RB_AUTODEBUG    0x400   /* init runs autoconfig with "-d" (debug) */
      27:
      28: #define RB_PANIC    0   /* reboot due to panic */
      29: #define RB_BOOT     1   /* reboot due to boot() */

#### Defined macros

RB_ASKNAME defined in line 16; used 7 times

- in /usr/src/sbin/init/init.c line 102
- in /usr/src/sbin/reboot/reboot.c line 66
- in /usr/src/sys/pdpstand/boot.c line 175-178(2), 213, 225, 719

RB_AUTOBOOT defined in line 14; used 1 times

- in /usr/src/sys/sys/subr_prf.c line 278

RB_AUTODEBUG defined in line 26; used 4 times

- in /usr/src/sbin/init/init.c line 121, 759
- in /usr/src/sbin/reboot/reboot.c line 71
- in /usr/src/sys/pdpstand/boot.c line 722

RB_BOOT defined in line 29; never used
RB_DFLTROOT defined in line 21; used 3 times

- in /usr/src/sbin/reboot/reboot.c line 70
- in /usr/src/sys/pdpstand/boot.c line 728
- in /usr/src/sys/sys/init_main.c line 121

RB_DUMP defined in line 22; used 3 times

- in /usr/src/sbin/reboot/reboot.c line 65
- in /usr/src/sys/pdp/machdep2.c line 422
- in /usr/src/sys/sys/subr_prf.c line 278

RB_HALT defined in line 19; used 6 times

- in /usr/src/sbin/reboot/reboot.c line 48-50(2), 64, 85, 102
- in /usr/src/sys/pdp/machdep2.c line 416

RB_INITNAME defined in line 20; never used
RB_NOFSCK defined in line 23; used 7 times

- in /usr/src/sbin/init/init.c line 326
- in /usr/src/sbin/reboot/reboot.c line 50-52(2), 69, 84-89(3)

RB_NOSYNC defined in line 18; used 8 times

- in /usr/src/sbin/reboot/reboot.c line 63, 84(2), 108, 125, 146
- in /usr/src/sys/pdp/machdep2.c line 390
- in /usr/src/sys/sys/subr_prf.c line 281

RB_PANIC defined in line 28; never used
RB_POWRFAIL defined in line 24; used 2 times

- in /usr/src/sbin/init/init.c line 330
- in /usr/src/sys/pdp/genassym.c line 97

RB_RDONLY defined in line 25; used 3 times

- in /usr/src/sbin/reboot/reboot.c line 67
- in /usr/src/sys/pdpstand/boot.c line 725
- in /usr/src/sys/sys/init_main.c line 191

RB_SINGLE defined in line 17; used 13 times

- in /usr/src/sbin/init/init.c line 93, 105-109(2), 121, 132-135(2), 326, 336
- in /usr/src/sbin/reboot/reboot.c line 68
- in /usr/src/sys/pdp/genassym.c line 98
- in /usr/src/sys/pdpstand/boot.c line 175, 225, 731

#### Usage of this include

reboot.h used 8 times

- in /usr/src/sbin/init/init.c line 16
- in /usr/src/sbin/reboot/reboot.c line 26
- in /usr/src/sys/pdp/genassym.c line 18
- in /usr/src/sys/pdp/machdep2.c line 25
- in /usr/src/sys/pdpstand/boot.c line 11
- in /usr/src/sys/sys/init_main.c line 25
- in /usr/src/sys/sys/kern_xxx.c line 12
- in /usr/src/sys/sys/subr_prf.c line 17

Last modified: 1996-05-10 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 599 |