lock_class
static struct lock_class_key lock_class;
i915_gem_object_init(obj, &i915_gem_object_dmabuf_ops, &lock_class,
static struct lock_class_key lock_class;
i915_gem_object_init(obj, ops, &lock_class, 0);
static struct lock_class_key lock_class;
i915_gem_object_init(obj, &i915_gem_shmem_ops, &lock_class, flags);
static struct lock_class_key lock_class;
i915_gem_object_init(obj, &i915_gem_object_stolen_ops, &lock_class, flags);
static struct lock_class_key lock_class;
i915_gem_object_init(obj, &i915_gem_ttm_obj_ops, &lock_class, flags);
static struct lock_class_key __maybe_unused lock_class;
i915_gem_object_init(obj, &i915_gem_userptr_ops, &lock_class,
static struct lock_class_key lock_class;
i915_gem_object_init(obj, &huge_ops, &lock_class, 0);
static struct lock_class_key lock_class;
i915_gem_object_init(obj, &huge_page_ops, &lock_class, 0);
static struct lock_class_key lock_class;
i915_gem_object_init(obj, &fake_ops_single, &lock_class, 0);
i915_gem_object_init(obj, &fake_ops, &lock_class, 0);
static struct lock_class_key lock_class;
i915_gem_object_init(obj, &intel_vgpu_gem_ops, &lock_class, 0);
static struct lock_class_key lock_class;
i915_gem_object_init(obj, &fake_ops, &lock_class, 0);
static struct lock_class_key lock_class;
i915_gem_object_init(obj, &mock_region_obj_ops, &lock_class, flags);
void __irq_set_lockdep_class(unsigned int irq, struct lock_class_key *lock_class,
irq_set_lockdep_class(unsigned int irq, struct lock_class_key *lock_class,
__irq_set_lockdep_class(irq, lock_class, request_class);
struct lock_class_key lock_class; /* key->sem lock class */
struct lock_class *class;
struct lock_class *links_to;
void lock_stats(struct lock_class *class, struct lock_class_stats *stats);
void clear_lock_stats(struct lock_class *class);
struct lock_class *class_cache[NR_LOCKDEP_CACHING_CLASSES];
void __irq_set_lockdep_class(unsigned int irq, struct lock_class_key *lock_class,
lockdep_set_class(&desc->lock, lock_class);
struct lock_class *class;
static bool class_lock_list_valid(struct lock_class *c, struct list_head *h)
static bool in_any_zapped_class_list(struct lock_class *class)
struct lock_class *class;
static struct lock_class *
struct lock_class *class;
static int add_lock_to_list(struct lock_class *this,
struct lock_class *links_to, struct list_head *head,
void *lock_class = lock->class;
return lock_class + offset;
struct lock_class *class)
offsetof(struct lock_class, locks_after));
offsetof(struct lock_class, locks_before));
struct lock_class *source = hlock_class(src);
struct lock_class *target = hlock_class(tgt);
struct lock_class *parent = prt->class;
unsigned long lockdep_count_forward_deps(struct lock_class *class)
unsigned long lockdep_count_backward_deps(struct lock_class *class)
struct lock_class lock_classes[MAX_LOCKDEP_KEYS];
static inline struct lock_class *hlock_class(struct held_lock *hlock)
static void print_lock_class_header(struct lock_class *class, int depth)
struct lock_class *prev_class,
struct lock_class *next_class)
struct lock_class *safe_class = safe_entry->class;
struct lock_class *unsafe_class = unsafe_entry->class;
struct lock_class *middle_class = prev_class;
struct lock_class *next = hlock_class(nxt);
struct lock_class *prev = hlock_class(prv);
void lock_stats(struct lock_class *class, struct lock_class_stats *stats)
struct lock_class *class = hlock_class(prev);
struct lock_class *class;
struct lock_class *class = hlock_class(prev);
void clear_lock_stats(struct lock_class *class)
static struct lock_class_stats *get_lock_stats(struct lock_class *class)
struct lock_class *lock_chain_get_class(struct lock_chain *chain, int i)
struct lock_class *class = hlock_class(hlock);
struct lock_class *class = hlock_class(lock);
static int HARDIRQ_verbose(struct lock_class *class)
static int SOFTIRQ_verbose(struct lock_class *class)
static int (*state_verbose_f[])(struct lock_class *class) = {
struct lock_class *class)
struct lock_class *class = hlock_class(prev);
static int class_filter(struct lock_class *class)
struct lock_class *class = lock->class_cache[0];
struct lock_class *class = NULL;
static int verbose(struct lock_class *class)
const struct lock_class *class = lock->class_cache[0];
struct lock_class *class;
struct lock_class *class = look_up_lock_class(lock, subclass);
struct lock_class *class)
struct lock_class *class)
static void zap_class(struct pending_free *pf, struct lock_class *class)
static void reinit_class(struct lock_class *class)
struct lock_class *class;
struct lock_class *class;
struct lock_class *class;
struct lock_class *class;
static char get_usage_char(struct lock_class *class, enum lock_usage_bit bit)
void get_usage_chars(struct lock_class *class, char usage[LOCK_USAGE_CHARS])
static void __print_lock_name(struct held_lock *hlock, struct lock_class *class)
static void print_lock_name(struct held_lock *hlock, struct lock_class *class)
struct lock_class *lock = hlock_class(hlock);
static int very_verbose(struct lock_class *class)
static int count_matching_names(struct lock_class *new_class)
struct lock_class *class;
static noinstr struct lock_class *
struct lock_class *class;
extern void get_usage_chars(struct lock_class *class,
struct lock_class *lock_chain_get_class(struct lock_chain *chain, int i);
extern struct lock_class lock_classes[MAX_LOCKDEP_KEYS];
extern unsigned long lockdep_count_forward_deps(struct lock_class *);
extern unsigned long lockdep_count_backward_deps(struct lock_class *);
lockdep_count_forward_deps(struct lock_class *class)
lockdep_count_backward_deps(struct lock_class *class)
static inline void debug_class_ops_inc(struct lock_class *class)
static inline unsigned long debug_class_ops_read(struct lock_class *class)
struct lock_class *class;
struct lock_class *class;
struct lock_class *class;
struct lock_class *class = v;
struct lock_class *class;
static void print_name(struct seq_file *m, struct lock_class *class)
struct lock_class *class;
struct lock_class *class;
struct lock_class *class = v;
memset(&ktype->lock_class, 0, sizeof(ktype->lock_class));
lockdep_set_class(&key->sem, &type->lock_class);