Changeset View
Changeset View
Standalone View
Standalone View
sys/kern/kern_shutdown.c
Show First 20 Lines • Show All 161 Lines • ▼ Show 20 Lines | static SYSCTL_NODE(_kern, OID_AUTO, shutdown, CTLFLAG_RW, 0, | ||||
"Shutdown environment"); | "Shutdown environment"); | ||||
#ifndef DIAGNOSTIC | #ifndef DIAGNOSTIC | ||||
static int show_busybufs; | static int show_busybufs; | ||||
#else | #else | ||||
static int show_busybufs = 1; | static int show_busybufs = 1; | ||||
#endif | #endif | ||||
SYSCTL_INT(_kern_shutdown, OID_AUTO, show_busybufs, CTLFLAG_RW, | SYSCTL_INT(_kern_shutdown, OID_AUTO, show_busybufs, CTLFLAG_RW, | ||||
&show_busybufs, 0, ""); | &show_busybufs, 0, | ||||
"Show busy buffers during shutdown"); | |||||
kaktus: This should be four spaces and doc sting in a new line. | |||||
int suspend_blocked = 0; | int suspend_blocked = 0; | ||||
SYSCTL_INT(_kern, OID_AUTO, suspend_blocked, CTLFLAG_RW, | SYSCTL_INT(_kern, OID_AUTO, suspend_blocked, CTLFLAG_RW, | ||||
&suspend_blocked, 0, "Block suspend due to a pending shutdown"); | &suspend_blocked, 0, "Block suspend due to a pending shutdown"); | ||||
#ifdef EKCD | #ifdef EKCD | ||||
FEATURE(ekcd, "Encrypted kernel crash dumps support"); | FEATURE(ekcd, "Encrypted kernel crash dumps support"); | ||||
▲ Show 20 Lines • Show All 1,577 Lines • Show Last 20 Lines |
This should be four spaces and doc sting in a new line.