Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
sysrq.c File Reference
#include <linux/sched.h>
#include <linux/interrupt.h>
#include <linux/mm.h>
#include <linux/fs.h>
#include <linux/mount.h>
#include <linux/kdev_t.h>
#include <linux/major.h>
#include <linux/reboot.h>
#include <linux/sysrq.h>
#include <linux/kbd_kern.h>
#include <linux/proc_fs.h>
#include <linux/nmi.h>
#include <linux/quotaops.h>
#include <linux/perf_event.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/suspend.h>
#include <linux/writeback.h>
#include <linux/swap.h>
#include <linux/spinlock.h>
#include <linux/vt_kern.h>
#include <linux/workqueue.h>
#include <linux/hrtimer.h>
#include <linux/oom.h>
#include <linux/slab.h>
#include <linux/input.h>
#include <linux/uaccess.h>
#include <asm/ptrace.h>
#include <asm/irq_regs.h>

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define sysrq_SAK_op   (*(struct sysrq_key_op *)NULL)
 
#define sysrq_unraw_op   (*(struct sysrq_key_op *)NULL)
 
#define sysrq_showlocks_op   (*(struct sysrq_key_op *)NULL)
 
#define sysrq_ftrace_dump_op   (*(struct sysrq_key_op *)NULL)
 

Functions

 __setup ("sysrq_always_enabled", sysrq_always_enabled_setup)
 
struct sysrq_key_op__sysrq_get_key_op (int key)
 
void __handle_sysrq (int key, bool check_mask)
 
void handle_sysrq (int key)
 
 EXPORT_SYMBOL (handle_sysrq)
 
int sysrq_toggle_support (int enable_mask)
 
int register_sysrq_key (int key, struct sysrq_key_op *op_p)
 
 EXPORT_SYMBOL (register_sysrq_key)
 
int unregister_sysrq_key (int key, struct sysrq_key_op *op_p)
 
 EXPORT_SYMBOL (unregister_sysrq_key)
 
 module_init (sysrq_init)
 

Macro Definition Documentation

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 15 of file sysrq.c.

#define sysrq_ftrace_dump_op   (*(struct sysrq_key_op *)NULL)

Definition at line 302 of file sysrq.c.

#define sysrq_SAK_op   (*(struct sysrq_key_op *)NULL)

Definition at line 107 of file sysrq.c.

#define sysrq_showlocks_op   (*(struct sysrq_key_op *)NULL)

Definition at line 199 of file sysrq.c.

#define sysrq_unraw_op   (*(struct sysrq_key_op *)NULL)

Definition at line 123 of file sysrq.c.

Function Documentation

void __handle_sysrq ( int  key,
bool  check_mask 
)

Definition at line 499 of file sysrq.c.

__setup ( "sysrq_always_enabled"  ,
sysrq_always_enabled_setup   
)
struct sysrq_key_op* __sysrq_get_key_op ( int  key)
read

Definition at line 479 of file sysrq.c.

EXPORT_SYMBOL ( handle_sysrq  )
EXPORT_SYMBOL ( register_sysrq_key  )
EXPORT_SYMBOL ( unregister_sysrq_key  )
void handle_sysrq ( int  key)

Definition at line 551 of file sysrq.c.

module_init ( sysrq_init  )
int register_sysrq_key ( int  key,
struct sysrq_key_op op_p 
)

Definition at line 850 of file sysrq.c.

int sysrq_toggle_support ( int  enable_mask)

Definition at line 817 of file sysrq.c.

int unregister_sysrq_key ( int  key,
struct sysrq_key_op op_p 
)

Definition at line 856 of file sysrq.c.