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

Go to the source code of this file.

Macros

#define spin_lock_mutex(lock, flags)   do { spin_lock(lock); (void)(flags); } while (0)
 
#define spin_unlock_mutex(lock, flags)   do { spin_unlock(lock); (void)(flags); } while (0)
 
#define mutex_remove_waiter(lock, waiter, ti)   __list_del((waiter)->list.prev, (waiter)->list.next)
 
#define debug_mutex_wake_waiter(lock, waiter)   do { } while (0)
 
#define debug_mutex_free_waiter(waiter)   do { } while (0)
 
#define debug_mutex_add_waiter(lock, waiter, ti)   do { } while (0)
 
#define debug_mutex_unlock(lock)   do { } while (0)
 
#define debug_mutex_init(lock, name, key)   do { } while (0)
 

Macro Definition Documentation

#define debug_mutex_add_waiter (   lock,
  waiter,
  ti 
)    do { } while (0)

Definition at line 41 of file mutex.h.

#define debug_mutex_free_waiter (   waiter)    do { } while (0)

Definition at line 40 of file mutex.h.

#define debug_mutex_init (   lock,
  name,
  key 
)    do { } while (0)

Definition at line 43 of file mutex.h.

#define debug_mutex_unlock (   lock)    do { } while (0)

Definition at line 42 of file mutex.h.

#define debug_mutex_wake_waiter (   lock,
  waiter 
)    do { } while (0)

Definition at line 39 of file mutex.h.

#define mutex_remove_waiter (   lock,
  waiter,
  ti 
)    __list_del((waiter)->list.prev, (waiter)->list.next)

Definition at line 16 of file mutex.h.

#define spin_lock_mutex (   lock,
  flags 
)    do { spin_lock(lock); (void)(flags); } while (0)

Definition at line 12 of file mutex.h.

#define spin_unlock_mutex (   lock,
  flags 
)    do { spin_unlock(lock); (void)(flags); } while (0)

Definition at line 14 of file mutex.h.