Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
jump_label.h File Reference
#include <linux/types.h>
#include <linux/compiler.h>
#include <linux/workqueue.h>
#include <linux/atomic.h>

Go to the source code of this file.

Data Structures

struct  static_key
 
struct  static_key_deferred
 

Macros

#define STATIC_KEY_INIT_TRUE
 
#define STATIC_KEY_INIT_FALSE
 
#define STATIC_KEY_INIT   STATIC_KEY_INIT_FALSE
 
#define jump_label_enabled   static_key_enabled
 

Enumerations

enum  jump_label_type { JUMP_LABEL_DISABLE = 0, JUMP_LABEL_ENABLE }
 

Macro Definition Documentation

#define jump_label_enabled   static_key_enabled

Definition at line 204 of file jump_label.h.

#define STATIC_KEY_INIT   STATIC_KEY_INIT_FALSE

Definition at line 203 of file jump_label.h.

#define STATIC_KEY_INIT_FALSE
Value:
((struct static_key) \
{ .enabled = ATOMIC_INIT(0) })

Definition at line 198 of file jump_label.h.

#define STATIC_KEY_INIT_TRUE
Value:
((struct static_key) \
{ .enabled = ATOMIC_INIT(1) })

Definition at line 196 of file jump_label.h.

Enumeration Type Documentation

Enumerator:
JUMP_LABEL_DISABLE 
JUMP_LABEL_ENABLE 

Definition at line 74 of file jump_label.h.