Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
sched.h File Reference
#include <xen/interface/event_channel.h>

Go to the source code of this file.

Data Structures

struct  sched_shutdown
 
struct  sched_poll
 
struct  sched_remote_shutdown
 
struct  sched_watchdog
 

Macros

#define SCHEDOP_yield   0
 
#define SCHEDOP_block   1
 
#define SCHEDOP_shutdown   2
 
#define SCHEDOP_poll   3
 
#define SCHEDOP_remote_shutdown   4
 
#define SCHEDOP_shutdown_code   5
 
#define SCHEDOP_watchdog   6
 
#define SHUTDOWN_poweroff   0 /* Domain exited normally. Clean up and kill. */
 
#define SHUTDOWN_reboot   1 /* Clean up, kill, and then restart. */
 
#define SHUTDOWN_suspend   2 /* Clean up, save suspend info, kill. */
 
#define SHUTDOWN_crash   3 /* Tell controller we've crashed. */
 
#define SHUTDOWN_watchdog   4 /* Restart because watchdog time expired. */
 

Functions

 DEFINE_GUEST_HANDLE_STRUCT (sched_shutdown)
 
 DEFINE_GUEST_HANDLE_STRUCT (sched_poll)
 

Macro Definition Documentation

#define SCHEDOP_block   1

Definition at line 42 of file sched.h.

#define SCHEDOP_poll   3

Definition at line 59 of file sched.h.

#define SCHEDOP_remote_shutdown   4

Definition at line 73 of file sched.h.

#define SCHEDOP_shutdown   2

Definition at line 48 of file sched.h.

#define SCHEDOP_shutdown_code   5

Definition at line 84 of file sched.h.

#define SCHEDOP_watchdog   6

Definition at line 94 of file sched.h.

#define SCHEDOP_yield   0

Definition at line 33 of file sched.h.

#define SHUTDOWN_crash   3 /* Tell controller we've crashed. */

Definition at line 108 of file sched.h.

#define SHUTDOWN_poweroff   0 /* Domain exited normally. Clean up and kill. */

Definition at line 105 of file sched.h.

#define SHUTDOWN_reboot   1 /* Clean up, kill, and then restart. */

Definition at line 106 of file sched.h.

#define SHUTDOWN_suspend   2 /* Clean up, save suspend info, kill. */

Definition at line 107 of file sched.h.

#define SHUTDOWN_watchdog   4 /* Restart because watchdog time expired. */

Definition at line 109 of file sched.h.

Function Documentation

DEFINE_GUEST_HANDLE_STRUCT ( sched_shutdown  )
DEFINE_GUEST_HANDLE_STRUCT ( sched_poll  )