Home
last modified time | relevance | path

Searched refs:lockdep_map (Results 1 – 25 of 46) sorted by relevance

12

/linux/include/linux/
H A Dlockdep_types.h89 struct lockdep_map;
90 typedef int (*lock_cmp_fn)(const struct lockdep_map *a,
91 const struct lockdep_map *b);
92 typedef void (*lock_print_fn)(const struct lockdep_map *map);
186 struct lockdep_map { struct
223 struct lockdep_map *instance;
224 struct lockdep_map *nest_lock;
269 struct lockdep_map { }; struct
H A Dtimer_types.h19 struct lockdep_map lockdep_map; member
H A Dworkqueue_types.h21 struct lockdep_map lockdep_map; member
H A Dspinlock_types.h25 struct lockdep_map dep_map;
54 struct lockdep_map dep_map;
H A Dworkqueue.h228 * NB: because we have to copy the lockdep_map, setting _key
230 * copy of the lockdep_map!
233 .lockdep_map = STATIC_LOCKDEP_MAP_INIT(n, k),
287 lockdep_init_map(&(_work)->lockdep_map, "(work_completion)"#_work, (_key), 0); \
517 * alloc_workqueue_lockdep_map - allocate a workqueue with user-defined lockdep_map
521 * @lockdep_map: user-defined lockdep_map
524 * Same as alloc_workqueue but with the a user-define lockdep_map. Useful for
525 * workqueues created with the same purpose and to avoid leaking a lockdep_map
533 struct lockdep_map *lockdep_ma
551 alloc_ordered_workqueue_lockdep_map(fmt,flags,lockdep_map,args...) global() argument
[all...]
H A Dsrcu.h185 static inline void srcu_lock_acquire(struct lockdep_map *map) in srcu_lock_acquire()
191 static inline void srcu_lock_release(struct lockdep_map *map) in srcu_lock_release()
197 static inline void srcu_lock_sync(struct lockdep_map *map) in srcu_lock_sync()
H A Dww_mutex.h68 struct lockdep_map dep_map;
70 * @first_lock_dep_map: fake lockdep_map for first locked ww_mutex.
72 * lockdep requires the lockdep_map for the first locked ww_mutex
78 struct lockdep_map first_lock_dep_map;
H A Dseqlock_types.h36 struct lockdep_map dep_map;
H A Drtnetlink.h107 int rtnl_net_lock_cmp_fn(const struct lockdep_map *a, const struct lockdep_map *b);
H A Dspinlock_types_raw.h21 struct lockdep_map dep_map;
H A Dsrcutiny.h28 struct lockdep_map dep_map;
H A Dspinlock_api_smp.h26 _raw_spin_lock_nest_lock(raw_spinlock_t *lock, struct lockdep_map *map)
H A Dsrcutree.h108 struct lockdep_map dep_map;
H A Dmmu_notifier.h259 extern struct lockdep_map __mmu_notifier_invalidate_range_start_map;
H A Dspinlock.h225 typecheck(struct lockdep_map *, &(nest_lock)->dep_map);\
/linux/include/trace/events/
H A Dlock.h26 TP_PROTO(struct lockdep_map *lock, unsigned int subclass,
28 struct lockdep_map *next_lock, unsigned long ip),
52 TP_PROTO(struct lockdep_map *lock, unsigned long ip),
71 TP_PROTO(struct lockdep_map *lock, unsigned long ip),
80 TP_PROTO(struct lockdep_map *lock, unsigned long ip),
87 TP_PROTO(struct lockdep_map *lock, unsigned long ip),
/linux/kernel/locking/
H A Dlockdep.c750 static void print_lockdep_cache(struct lockdep_map *lock) in print_lockdep_cache()
887 look_up_lock_class(const struct lockdep_map *lock, unsigned int subclass) in look_up_lock_class()
921 sizeof(struct lockdep_map)); in look_up_lock_class()
955 static bool assign_lock_key(struct lockdep_map *lock) in assign_lock_key()
1285 register_lock_class(struct lockdep_map *lock, unsigned int subclass, int force) in register_lock_class()
4937 void lockdep_init_map_type(struct lockdep_map *lock, const char *name, in lockdep_init_map_type()
5006 void lockdep_set_lock_cmp_fn(struct lockdep_map *lock, lock_cmp_fn cmp_fn, in lockdep_set_lock_cmp_fn()
5067 static int __lock_is_held(const struct lockdep_map *lock, int read);
5077 static int __lock_acquire(struct lockdep_map *lock, unsigned int subclass, in __lock_acquire()
5079 struct lockdep_map *nest_lock, unsigned long ip, in __lock_acquire()
[all …]
H A Dww_rt_mutex.c41 struct lockdep_map __maybe_unused *nest_lock = NULL; in __ww_rt_mutex_lock()
/linux/kernel/rcu/
H A Dupdate.c286 struct lockdep_map rcu_lock_map = {
295 struct lockdep_map rcu_bh_lock_map = {
304 struct lockdep_map rcu_sched_lock_map = {
314 struct lockdep_map rcu_callback_map =
/linux/include/net/
H A Dnetdev_lock.h99 static inline int netdev_lock_cmp_fn(const struct lockdep_map *a, in netdev_lock_cmp_fn()
100 const struct lockdep_map *b) in netdev_lock_cmp_fn()
/linux/fs/btrfs/
H A Dfs.h943 struct lockdep_map btrfs_trans_num_writers_map;
944 struct lockdep_map btrfs_trans_num_extwriters_map;
945 struct lockdep_map btrfs_state_change_map[4];
946 struct lockdep_map btrfs_trans_pending_ordered_map;
947 struct lockdep_map btrfs_ordered_extent_map;
/linux/kernel/
H A Dworkqueue.c372 struct lockdep_map __lockdep_map;
373 struct lockdep_map *lockdep_map; member
3191 struct lockdep_map lockdep_map; in process_one_work() local
3193 lockdep_copy_map(&lockdep_map, &work->lockdep_map); in process_one_work()
3250 lock_map_acquire(pwq->wq->lockdep_map); in process_one_work()
3251 lock_map_acquire(&lockdep_map); in process_one_work()
3282 lock_map_release(&lockdep_map); in process_one_work()
3284 lock_map_release(pwq->wq->lockdep_map); in process_one_work()
3866 init_completion_map(&barr->done, &target->lockdep_map); in insert_wq_barrier()
3984 if (unlikely(!wq->lockdep_map)) in touch_wq_lockdep_map()
[all …]
/linux/drivers/gpu/drm/xe/
H A Dxe_pm.c80 static struct lockdep_map xe_pm_runtime_d3cold_map = {
84 static struct lockdep_map xe_pm_runtime_nod3cold_map = {
88 static struct lockdep_map xe_pm_block_lockdep_map = {
/linux/fs/xfs/libxfs/
H A Dxfs_rtgroup.c289 const struct lockdep_map *m1, in xfs_rtginode_ilock_cmp_fn()
290 const struct lockdep_map *m2) in xfs_rtginode_ilock_cmp_fn()
306 const struct lockdep_map *m) in xfs_rtginode_ilock_print_fn()
/linux/net/unix/
H A Daf_unix.c126 static int unix_table_lock_cmp_fn(const struct lockdep_map *a, in unix_table_lock_cmp_fn()
127 const struct lockdep_map *b) in unix_table_lock_cmp_fn()
132 static int unix_state_lock_cmp_fn(const struct lockdep_map *_a, in unix_state_lock_cmp_fn()
133 const struct lockdep_map *_b) in unix_state_lock_cmp_fn()
179 static int unix_recvq_lock_cmp_fn(const struct lockdep_map *_a, in unix_recvq_lock_cmp_fn()
180 const struct lockdep_map *_b) in unix_recvq_lock_cmp_fn()

12