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

Go to the source code of this file.

Data Structures

struct  lock_class_key
 

Macros

#define lock_acquire(l, s, t, r, c, n, i)   do { } while (0)
 
#define lock_release(l, n, i)   do { } while (0)
 
#define lock_set_class(l, n, k, s, i)   do { } while (0)
 
#define lock_set_subclass(l, s, i)   do { } while (0)
 
#define lockdep_set_current_reclaim_state(g)   do { } while (0)
 
#define lockdep_clear_current_reclaim_state()   do { } while (0)
 
#define lockdep_trace_alloc(g)   do { } while (0)
 
#define lockdep_init()   do { } while (0)
 
#define lockdep_info()   do { } while (0)
 
#define lockdep_init_map(lock, name, key, sub)   do { (void)(name); (void)(key); } while (0)
 
#define lockdep_set_class(lock, key)   do { (void)(key); } while (0)
 
#define lockdep_set_class_and_name(lock, key, name)   do { (void)(key); (void)(name); } while (0)
 
#define lockdep_set_class_and_subclass(lock, key, sub)   do { (void)(key); } while (0)
 
#define lockdep_set_subclass(lock, sub)   do { } while (0)
 
#define lockdep_set_novalidate_class(lock)   do { } while (0)
 
#define INIT_LOCKDEP
 
#define lockdep_reset()   do { debug_locks = 1; } while (0)
 
#define lockdep_free_key_range(start, size)   do { } while (0)
 
#define lockdep_sys_exit()   do { } while (0)
 
#define lockdep_depth(tsk)   (0)
 
#define lockdep_assert_held(l)   do { } while (0)
 
#define lockdep_recursing(tsk)   (0)
 
#define lock_contended(lockdep_map, ip)   do {} while (0)
 
#define lock_acquired(lockdep_map, ip)   do {} while (0)
 
#define LOCK_CONTENDED(_lock, try, lock)   lock(_lock)
 
#define LOCK_CONTENDED_FLAGS(_lock, try, lock, lockfl, flags)   lockfl((_lock), (flags))
 
#define SINGLE_DEPTH_NESTING   1
 
#define spin_acquire(l, s, t, i)   do { } while (0)
 
#define spin_release(l, n, i)   do { } while (0)
 
#define rwlock_acquire(l, s, t, i)   do { } while (0)
 
#define rwlock_acquire_read(l, s, t, i)   do { } while (0)
 
#define rwlock_release(l, n, i)   do { } while (0)
 
#define mutex_acquire(l, s, t, i)   do { } while (0)
 
#define mutex_acquire_nest(l, s, t, n, i)   do { } while (0)
 
#define mutex_release(l, n, i)   do { } while (0)
 
#define rwsem_acquire(l, s, t, i)   do { } while (0)
 
#define rwsem_acquire_read(l, s, t, i)   do { } while (0)
 
#define rwsem_release(l, n, i)   do { } while (0)
 
#define lock_map_acquire(l)   do { } while (0)
 
#define lock_map_acquire_read(l)   do { } while (0)
 
#define lock_map_release(l)   do { } while (0)
 
#define might_lock(lock)   do { } while (0)
 
#define might_lock_read(lock)   do { } while (0)
 

Variables

int prove_locking
 
int lock_stat
 

Macro Definition Documentation

#define INIT_LOCKDEP

Definition at line 402 of file lockdep.h.

#define lock_acquire (   l,
  s,
  t,
  r,
  c,
  n,
  i 
)    do { } while (0)

Definition at line 376 of file lockdep.h.

#define lock_acquired (   lockdep_map,
  ip 
)    do {} while (0)

Definition at line 436 of file lockdep.h.

#define lock_contended (   lockdep_map,
  ip 
)    do {} while (0)

Definition at line 435 of file lockdep.h.

#define LOCK_CONTENDED (   _lock,
  try,
  lock 
)    lock(_lock)

Definition at line 438 of file lockdep.h.

#define LOCK_CONTENDED_FLAGS (   _lock,
  try,
  lock,
  lockfl,
  flags 
)    lockfl((_lock), (flags))

Definition at line 455 of file lockdep.h.

#define lock_map_acquire (   l)    do { } while (0)

Definition at line 549 of file lockdep.h.

#define lock_map_acquire_read (   l)    do { } while (0)

Definition at line 550 of file lockdep.h.

#define lock_map_release (   l)    do { } while (0)

Definition at line 551 of file lockdep.h.

#define lock_release (   l,
  n,
  i 
)    do { } while (0)

Definition at line 377 of file lockdep.h.

#define lock_set_class (   l,
  n,
  k,
  s,
  i 
)    do { } while (0)

Definition at line 378 of file lockdep.h.

#define lock_set_subclass (   l,
  s,
  i 
)    do { } while (0)

Definition at line 379 of file lockdep.h.

#define lockdep_assert_held (   l)    do { } while (0)

Definition at line 413 of file lockdep.h.

#define lockdep_clear_current_reclaim_state (   void)    do { } while (0)

Definition at line 381 of file lockdep.h.

#define lockdep_depth (   tsk)    (0)

Definition at line 411 of file lockdep.h.

#define lockdep_free_key_range (   start,
  size 
)    do { } while (0)

Definition at line 404 of file lockdep.h.

#define lockdep_info (   void)    do { } while (0)

Definition at line 384 of file lockdep.h.

#define lockdep_init (   void)    do { } while (0)

Definition at line 383 of file lockdep.h.

#define lockdep_init_map (   lock,
  name,
  key,
  sub 
)    do { (void)(name); (void)(key); } while (0)

Definition at line 385 of file lockdep.h.

#define lockdep_recursing (   tsk)    (0)

Definition at line 415 of file lockdep.h.

#define lockdep_reset (   void)    do { debug_locks = 1; } while (0)

Definition at line 403 of file lockdep.h.

#define lockdep_set_class (   lock,
  key 
)    do { (void)(key); } while (0)

Definition at line 387 of file lockdep.h.

#define lockdep_set_class_and_name (   lock,
  key,
  name 
)    do { (void)(key); (void)(name); } while (0)

Definition at line 388 of file lockdep.h.

#define lockdep_set_class_and_subclass (   lock,
  key,
  sub 
)    do { (void)(key); } while (0)

Definition at line 390 of file lockdep.h.

#define lockdep_set_current_reclaim_state (   g)    do { } while (0)

Definition at line 380 of file lockdep.h.

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

Definition at line 394 of file lockdep.h.

#define lockdep_set_subclass (   lock,
  sub 
)    do { } while (0)

Definition at line 392 of file lockdep.h.

#define lockdep_sys_exit (   void)    do { } while (0)

Definition at line 405 of file lockdep.h.

#define lockdep_trace_alloc (   g)    do { } while (0)

Definition at line 382 of file lockdep.h.

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

Definition at line 568 of file lockdep.h.

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

Definition at line 569 of file lockdep.h.

#define mutex_acquire (   l,
  s,
  t,
  i 
)    do { } while (0)

Definition at line 519 of file lockdep.h.

#define mutex_acquire_nest (   l,
  s,
  t,
  n,
  i 
)    do { } while (0)

Definition at line 520 of file lockdep.h.

#define mutex_release (   l,
  n,
  i 
)    do { } while (0)

Definition at line 521 of file lockdep.h.

#define rwlock_acquire (   l,
  s,
  t,
  i 
)    do { } while (0)

Definition at line 504 of file lockdep.h.

#define rwlock_acquire_read (   l,
  s,
  t,
  i 
)    do { } while (0)

Definition at line 505 of file lockdep.h.

#define rwlock_release (   l,
  n,
  i 
)    do { } while (0)

Definition at line 506 of file lockdep.h.

#define rwsem_acquire (   l,
  s,
  t,
  i 
)    do { } while (0)

Definition at line 534 of file lockdep.h.

#define rwsem_acquire_read (   l,
  s,
  t,
  i 
)    do { } while (0)

Definition at line 535 of file lockdep.h.

#define rwsem_release (   l,
  n,
  i 
)    do { } while (0)

Definition at line 536 of file lockdep.h.

#define SINGLE_DEPTH_NESTING   1

Definition at line 473 of file lockdep.h.

#define spin_acquire (   l,
  s,
  t,
  i 
)    do { } while (0)

Definition at line 490 of file lockdep.h.

#define spin_release (   l,
  n,
  i 
)    do { } while (0)

Definition at line 491 of file lockdep.h.

Variable Documentation

int prove_locking