Searched refs:lockdep_map (Results 1 - 41 of 41) sorted by relevance

/linux-4.1.27/tools/lib/lockdep/include/liblockdep/
H A Dcommon.h29 struct lockdep_map { struct
39 void lockdep_init_map(struct lockdep_map *lock, const char *name,
41 void lock_acquire(struct lockdep_map *lock, unsigned int subclass,
43 struct lockdep_map *nest_lock, unsigned long ip);
44 void lock_release(struct lockdep_map *lock, int nested,
H A Dmutex.h9 struct lockdep_map dep_map;
H A Drwlock.h9 struct lockdep_map dep_map;
/linux-4.1.27/include/trace/events/
H A Dlock.h14 TP_PROTO(struct lockdep_map *lock, unsigned int subclass,
16 struct lockdep_map *next_lock, unsigned long ip),
40 TP_PROTO(struct lockdep_map *lock, unsigned long ip),
59 TP_PROTO(struct lockdep_map *lock, unsigned long ip),
68 TP_PROTO(struct lockdep_map *lock, unsigned long ip),
75 TP_PROTO(struct lockdep_map *lock, unsigned long ip),
/linux-4.1.27/include/linux/
H A Dlockdep.h13 struct lockdep_map;
36 * cached in the instance of lockdep_map
39 * are cached in lockdep_map. This optimization is mainly targeting
150 struct lockdep_map { struct
160 static inline void lockdep_copy_map(struct lockdep_map *to, lockdep_copy_map()
161 struct lockdep_map *from) lockdep_copy_map()
231 struct lockdep_map *instance;
232 struct lockdep_map *nest_lock;
266 extern void lockdep_reset_lock(struct lockdep_map *lock);
279 extern void lockdep_init_map(struct lockdep_map *lock, const char *name,
283 * To initialize a lockdep_map statically use this macro.
312 static inline int lockdep_match_key(struct lockdep_map *lock, lockdep_match_key()
332 extern void lock_acquire(struct lockdep_map *lock, unsigned int subclass,
334 struct lockdep_map *nest_lock, unsigned long ip);
336 extern void lock_release(struct lockdep_map *lock, int nested,
341 extern int lock_is_held(struct lockdep_map *lock);
343 extern void lock_set_class(struct lockdep_map *lock, const char *name,
347 static inline void lock_set_subclass(struct lockdep_map *lock, lock_set_subclass()
427 extern void lock_contended(struct lockdep_map *lock, unsigned long ip);
428 extern void lock_acquired(struct lockdep_map *lock, unsigned long ip);
441 #define lock_contended(lockdep_map, ip) do {} while (0)
442 #define lock_acquired(lockdep_map, ip) do {} while (0)
519 typecheck(struct lockdep_map *, &(lock)->dep_map); \
525 typecheck(struct lockdep_map *, &(lock)->dep_map); \
H A Drwlock_types.h21 struct lockdep_map dep_map;
H A Dspinlock_types.h30 struct lockdep_map dep_map;
72 struct lockdep_map dep_map;
H A Dtimer.h32 struct lockdep_map lockdep_map; member in struct:timer_list
40 * NB: because we have to copy the lockdep_map, setting the lockdep_map key
42 * the copy of the lockdep_map later! We use the pointer to and the string
43 * "<file>:<line>" as the key resp. the name of the lockdep_map.
46 .lockdep_map = STATIC_LOCKDEP_MAP_INIT(_kn, &_kn),
H A Dmutex.h65 struct lockdep_map dep_map;
139 extern void _mutex_lock_nest_lock(struct mutex *lock, struct lockdep_map *nest_lock);
152 typecheck(struct lockdep_map *, &(nest_lock)->dep_map); \
H A Drwsem.h40 struct lockdep_map dep_map;
156 extern void _down_write_nest_lock(struct rw_semaphore *sem, struct lockdep_map *nest_lock);
160 typecheck(struct lockdep_map *, &(nest_lock)->dep_map); \
H A Drwsem-spinlock.h28 struct lockdep_map dep_map;
H A Dlglock.h40 struct lockdep_map lock_dep_map;
H A Dworkqueue.h105 struct lockdep_map lockdep_map; member in struct:work_struct
147 * NB: because we have to copy the lockdep_map, setting _key
149 * copy of the lockdep_map!
152 .lockdep_map = STATIC_LOCKDEP_MAP_INIT(n, k),
209 lockdep_init_map(&(_work)->lockdep_map, #_work, &__key, 0); \ work_static()
H A Dspinlock_api_smp.h28 _raw_spin_lock_nest_lock(raw_spinlock_t *lock, struct lockdep_map *map)
H A Drcupdate.h449 static inline void rcu_lock_acquire(struct lockdep_map *map) rcu_lock_acquire()
454 static inline void rcu_lock_release(struct lockdep_map *map) rcu_lock_release()
459 extern struct lockdep_map rcu_lock_map;
460 extern struct lockdep_map rcu_bh_lock_map;
461 extern struct lockdep_map rcu_sched_lock_map;
462 extern struct lockdep_map rcu_callback_map;
H A Dspinlock.h198 typecheck(struct lockdep_map *, &(nest_lock)->dep_map);\
H A Dsrcu.h61 struct lockdep_map dep_map;
H A Dtty_ldisc.h144 struct lockdep_map dep_map;
H A Dseqlock.h49 struct lockdep_map dep_map;
H A Dww_mutex.h37 struct lockdep_map dep_map;
H A Dkernfs.h110 struct lockdep_map dep_map;
H A Djbd.h329 struct lockdep_map h_lockdep_map;
H A Djbd2.h451 struct lockdep_map h_lockdep_map;
H A Dfs.h1273 struct lockdep_map lock_map[SB_FREEZE_LEVELS];
/linux-4.1.27/kernel/locking/
H A Drwsem.c126 void _down_write_nest_lock(struct rw_semaphore *sem, struct lockdep_map *nest) _down_write_nest_lock()
H A Dlockdep.c540 static void print_lockdep_cache(struct lockdep_map *lock) print_lockdep_cache()
666 look_up_lock_class(struct lockdep_map *lock, unsigned int subclass) look_up_lock_class()
710 sizeof(struct lockdep_map)); look_up_lock_class()
742 register_lock_class(struct lockdep_map *lock, unsigned int subclass, int force) register_lock_class()
1767 struct lockdep_map *next_instance, int read) check_deadlock()
2101 static int validate_chain(struct task_struct *curr, struct lockdep_map *lock, validate_chain()
2156 struct lockdep_map *lock, struct held_lock *hlock, validate_chain()
2965 void lockdep_init_map(struct lockdep_map *lock, const char *name, lockdep_init_map()
3062 static int __lock_is_held(struct lockdep_map *lock);
3068 static int __lock_acquire(struct lockdep_map *lock, unsigned int subclass, __lock_acquire()
3070 struct lockdep_map *nest_lock, unsigned long ip, __lock_acquire()
3235 print_unlock_imbalance_bug(struct task_struct *curr, struct lockdep_map *lock, print_unlock_imbalance_bug()
3266 static int check_unlock(struct task_struct *curr, struct lockdep_map *lock, check_unlock()
3283 static int match_held_lock(struct held_lock *hlock, struct lockdep_map *lock) match_held_lock()
3319 __lock_set_class(struct lockdep_map *lock, const char *name, __lock_set_class()
3386 struct lockdep_map *lock, unsigned long ip) lock_release_non_nested()
3469 struct lockdep_map *lock, unsigned long ip) lock_release_nested()
3513 __lock_release(struct lockdep_map *lock, int nested, unsigned long ip) __lock_release()
3531 static int __lock_is_held(struct lockdep_map *lock) __lock_is_held()
3586 void lock_set_class(struct lockdep_map *lock, const char *name, lock_set_class()
3609 void lock_acquire(struct lockdep_map *lock, unsigned int subclass, lock_acquire()
3611 struct lockdep_map *nest_lock, unsigned long ip) lock_acquire()
3630 void lock_release(struct lockdep_map *lock, int nested, lock_release()
3648 int lock_is_held(struct lockdep_map *lock) lock_is_held()
3680 print_lock_contention_bug(struct task_struct *curr, struct lockdep_map *lock, print_lock_contention_bug()
3709 __lock_contended(struct lockdep_map *lock, unsigned long ip) __lock_contended()
3761 __lock_acquired(struct lockdep_map *lock, unsigned long ip) __lock_acquired()
3821 void lock_contended(struct lockdep_map *lock, unsigned long ip) lock_contended()
3841 void lock_acquired(struct lockdep_map *lock, unsigned long ip) lock_acquired()
3965 void lockdep_reset_lock(struct lockdep_map *lock) lockdep_reset_lock()
H A Dspinlock.c389 struct lockdep_map *nest_lock) _raw_spin_lock_nest_lock()
H A Dmutex.c506 struct lockdep_map *nest_lock, unsigned long ip, __mutex_lock_common()
627 _mutex_lock_nest_lock(struct mutex *lock, struct lockdep_map *nest) _mutex_lock_nest_lock()
/linux-4.1.27/kernel/time/
H A Dtimer.c678 lockdep_init_map(&timer->lockdep_map, name, key, 0); do_init_timer()
1088 lock_map_acquire(&timer->lockdep_map); del_timer_sync()
1089 lock_map_release(&timer->lockdep_map); del_timer_sync()
1139 * timer->lockdep_map, make a copy and use that here. call_timer_fn()
1141 struct lockdep_map lockdep_map; call_timer_fn() local
1143 lockdep_copy_map(&lockdep_map, &timer->lockdep_map); call_timer_fn()
1150 lock_map_acquire(&lockdep_map); call_timer_fn()
1156 lock_map_release(&lockdep_map); call_timer_fn()
/linux-4.1.27/kernel/rcu/
H A Dupdate.c172 struct lockdep_map rcu_lock_map =
177 struct lockdep_map rcu_bh_lock_map =
182 struct lockdep_map rcu_sched_lock_map =
187 struct lockdep_map rcu_callback_map =
/linux-4.1.27/kernel/
H A Dworkqueue.c262 struct lockdep_map lockdep_map; member in struct:workqueue_struct
2012 * work->lockdep_map, make a copy and use that here.
2014 struct lockdep_map lockdep_map; variable in typeref:struct:lockdep_map
2016 lockdep_copy_map(&lockdep_map, &work->lockdep_map);
2073 lock_map_acquire_read(&pwq->wq->lockdep_map);
2074 lock_map_acquire(&lockdep_map); variable
2082 lock_map_release(&lockdep_map); variable
2083 lock_map_release(&pwq->wq->lockdep_map);
2526 lock_map_acquire(&wq->lockdep_map); flush_workqueue()
2527 lock_map_release(&wq->lockdep_map); flush_workqueue()
2756 lock_map_acquire(&pwq->wq->lockdep_map); start_flush_work()
2758 lock_map_acquire_read(&pwq->wq->lockdep_map); start_flush_work()
2759 lock_map_release(&pwq->wq->lockdep_map); start_flush_work()
2782 lock_map_acquire(&work->lockdep_map); flush_work()
2783 lock_map_release(&work->lockdep_map); flush_work()
3892 lockdep_init_map(&wq->lockdep_map, lock_name, key, 0); __alloc_workqueue_key()
H A Dcpu.c73 struct lockdep_map dep_map;
/linux-4.1.27/tools/perf/
H A Dbuiltin-lock.c47 * so address of lockdep_map should be dealed as 64bit.
50 void *addr; /* address of lockdep_map, used as ID */
/linux-4.1.27/tools/lib/lockdep/
H A Dpreload.c20 struct lockdep_map dep_map; /* Since all locks are dynamic, we need
/linux-4.1.27/fs/ocfs2/
H A Docfs2.h208 struct lockdep_map l_lockdep_map;
/linux-4.1.27/drivers/net/wireless/iwlwifi/
H A Diwl-trans.h632 struct lockdep_map sync_cmd_lockdep_map;
/linux-4.1.27/mm/
H A Dmemory_hotplug.c63 struct lockdep_map dep_map;
H A Dmemcontrol.c1744 static struct lockdep_map memcg_oom_lock_dep_map = {
/linux-4.1.27/include/net/
H A Dsock.h122 struct lockdep_map dep_map;
/linux-4.1.27/kernel/printk/
H A Dprintk.c82 static struct lockdep_map console_lock_dep_map = {
/linux-4.1.27/drivers/staging/lustre/lustre/include/
H A Dcl_object.h1631 struct lockdep_map dep_map;

Completed in 1823 milliseconds