Linux Kernel
3.7.1
|
#include "lockdep_states.h"
Go to the source code of this file.
Macros | |
#define | LOCKDEP_STATE(__STATE) |
#define | __LOCKF(__STATE) LOCKF_##__STATE = (1 << LOCK_##__STATE), |
#define | LOCKDEP_STATE(__STATE) |
#define | LOCKF_ENABLED_IRQ (LOCKF_ENABLED_HARDIRQ | LOCKF_ENABLED_SOFTIRQ) |
#define | LOCKF_USED_IN_IRQ (LOCKF_USED_IN_HARDIRQ | LOCKF_USED_IN_SOFTIRQ) |
#define | LOCKF_ENABLED_IRQ_READ (LOCKF_ENABLED_HARDIRQ_READ | LOCKF_ENABLED_SOFTIRQ_READ) |
#define | LOCKF_USED_IN_IRQ_READ (LOCKF_USED_IN_HARDIRQ_READ | LOCKF_USED_IN_SOFTIRQ_READ) |
#define | MAX_LOCKDEP_ENTRIES 16384UL |
#define | MAX_LOCKDEP_CHAINS_BITS 15 |
#define | MAX_LOCKDEP_CHAINS (1UL << MAX_LOCKDEP_CHAINS_BITS) |
#define | MAX_LOCKDEP_CHAIN_HLOCKS (MAX_LOCKDEP_CHAINS*5) |
#define | MAX_STACK_TRACE_ENTRIES 262144UL |
#define | LOCK_USAGE_CHARS (1+LOCK_USAGE_STATES/2) |
#define | __debug_atomic_inc(ptr) do { } while (0) |
#define | debug_atomic_inc(ptr) do { } while (0) |
#define | debug_atomic_dec(ptr) do { } while (0) |
#define | debug_atomic_read(ptr) 0 |
Enumerations | |
enum | lock_usage_bit { LOCK_USED, LOCK_USAGE_STATES } |
enum | |
Functions | |
void | get_usage_chars (struct lock_class *class, char usage[LOCK_USAGE_CHARS]) |
const char * | __get_key_name (struct lockdep_subclass_key *key, char *str) |
struct lock_class * | lock_chain_get_class (struct lock_chain *chain, int i) |
Variables | |
struct list_head | all_lock_classes |
struct lock_chain | lock_chains [] |
unsigned long | nr_lock_classes |
unsigned long | nr_list_entries |
unsigned long | nr_lock_chains |
int | nr_chain_hlocks |
unsigned long | nr_stack_trace_entries |
unsigned int | nr_hardirq_chains |
unsigned int | nr_softirq_chains |
unsigned int | nr_process_chains |
unsigned int | max_lockdep_depth |
unsigned int | max_recursion_depth |
unsigned int | max_bfs_queue_depth |
#define __debug_atomic_inc | ( | ptr | ) | do { } while (0) |
Definition at line 166 of file lockdep_internals.h.
#define __LOCKF | ( | __STATE | ) | LOCKF_##__STATE = (1 << LOCK_##__STATE), |
Definition at line 27 of file lockdep_internals.h.
#define debug_atomic_dec | ( | ptr | ) | do { } while (0) |
Definition at line 168 of file lockdep_internals.h.
#define debug_atomic_inc | ( | ptr | ) | do { } while (0) |
Definition at line 167 of file lockdep_internals.h.
#define debug_atomic_read | ( | ptr | ) | 0 |
Definition at line 169 of file lockdep_internals.h.
#define LOCK_USAGE_CHARS (1+LOCK_USAGE_STATES/2) |
Definition at line 73 of file lockdep_internals.h.
#define LOCKDEP_STATE | ( | __STATE | ) |
Definition at line 30 of file lockdep_internals.h.
#define LOCKDEP_STATE | ( | __STATE | ) |
Definition at line 30 of file lockdep_internals.h.
#define LOCKF_ENABLED_IRQ (LOCKF_ENABLED_HARDIRQ | LOCKF_ENABLED_SOFTIRQ) |
Definition at line 40 of file lockdep_internals.h.
#define LOCKF_ENABLED_IRQ_READ (LOCKF_ENABLED_HARDIRQ_READ | LOCKF_ENABLED_SOFTIRQ_READ) |
Definition at line 43 of file lockdep_internals.h.
#define LOCKF_USED_IN_IRQ (LOCKF_USED_IN_HARDIRQ | LOCKF_USED_IN_SOFTIRQ) |
Definition at line 41 of file lockdep_internals.h.
#define LOCKF_USED_IN_IRQ_READ (LOCKF_USED_IN_HARDIRQ_READ | LOCKF_USED_IN_SOFTIRQ_READ) |
Definition at line 45 of file lockdep_internals.h.
#define MAX_LOCKDEP_CHAIN_HLOCKS (MAX_LOCKDEP_CHAINS*5) |
Definition at line 62 of file lockdep_internals.h.
#define MAX_LOCKDEP_CHAINS (1UL << MAX_LOCKDEP_CHAINS_BITS) |
Definition at line 60 of file lockdep_internals.h.
#define MAX_LOCKDEP_CHAINS_BITS 15 |
Definition at line 59 of file lockdep_internals.h.
#define MAX_LOCKDEP_ENTRIES 16384UL |
Definition at line 57 of file lockdep_internals.h.
#define MAX_STACK_TRACE_ENTRIES 262144UL |
Definition at line 68 of file lockdep_internals.h.
anonymous enum |
Definition at line 29 of file lockdep_internals.h.
enum lock_usage_bit |
Definition at line 12 of file lockdep_internals.h.
struct lock_chain lock_chains[] |
unsigned int max_bfs_queue_depth |
unsigned int max_recursion_depth |
int nr_chain_hlocks |
unsigned long nr_lock_chains |