Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
rcu-string.h File Reference

Go to the source code of this file.

Data Structures

struct  rcu_string
 

Macros

#define printk_in_rcu(fmt,...)
 
#define printk_ratelimited_in_rcu(fmt,...)
 
#define rcu_str_deref(rcu_str)
 

Macro Definition Documentation

#define printk_in_rcu (   fmt,
  ... 
)
Value:
do { \
rcu_read_lock(); \
printk(fmt, __VA_ARGS__); \
rcu_read_unlock(); \
} while (0)

Definition at line 41 of file rcu-string.h.

#define printk_ratelimited_in_rcu (   fmt,
  ... 
)
Value:
do { \
rcu_read_lock(); \
printk_ratelimited(fmt, __VA_ARGS__); \
rcu_read_unlock(); \
} while (0)

Definition at line 47 of file rcu-string.h.

#define rcu_str_deref (   rcu_str)
Value:
({ \
__str->str; \
})

Definition at line 53 of file rcu-string.h.