Home
last modified time | relevance | path

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

12

/linux/include/linux/
H A Dlockdep.h26 static inline void lockdep_copy_map(struct lockdep_map *to, in lockdep_copy_map()
27 struct lockdep_map *from) in lockdep_copy_map()
90 extern void lockdep_reset_lock(struct lockdep_map *lock);
128 extern void lockdep_init_map_type(struct lockdep_map *lock, const char *name,
132 lockdep_init_map_waits(struct lockdep_map *lock, const char *name, in lockdep_init_map_waits()
139 lockdep_init_map_wait(struct lockdep_map *lock, const char *name, in lockdep_init_map_wait()
145 static inline void lockdep_init_map(struct lockdep_map *lock, const char *name, in lockdep_init_map()
207 static inline int lockdep_match_key(struct lockdep_map *lock, in lockdep_match_key()
227 extern void lock_acquire(struct lockdep_map *lock, unsigned int subclass,
229 struct lockdep_map *nest_lock, unsigned long ip);
[all …]
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;
270 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 Drcupdate.h300 extern struct lockdep_map rcu_lock_map;
301 extern struct lockdep_map rcu_bh_lock_map;
302 extern struct lockdep_map rcu_sched_lock_map;
303 extern struct lockdep_map rcu_callback_map;
307 static inline void rcu_lock_acquire(struct lockdep_map *map) in rcu_lock_acquire()
312 static inline void rcu_try_lock_acquire(struct lockdep_map *map) in rcu_try_lock_acquire()
317 static inline void rcu_lock_release(struct lockdep_map *map) in rcu_lock_release()
H A Dworkqueue.h234 .lockdep_map = STATIC_LOCKDEP_MAP_INIT(n, k),
288 lockdep_init_map(&(_work)->lockdep_map, "(work_completion)"#_work, (_key), 0); \
561 struct lockdep_map *lockdep_map, ...);
579 #define alloc_ordered_workqueue_lockdep_map(fmt, flags, lockdep_map, args...) \ argument
581 1, lockdep_map, ##args))
H A Dsrcu.h196 static inline void srcu_lock_acquire(struct lockdep_map *map) in srcu_lock_acquire()
202 static inline void srcu_lock_release(struct lockdep_map *map) in srcu_lock_release()
208 static inline void srcu_lock_sync(struct lockdep_map *map) in srcu_lock_sync()
H A Drtnetlink.h107 int rtnl_net_lock_cmp_fn(const struct lockdep_map *a, const struct lockdep_map *b);
H A Dlocal_lock_internal.h16 struct lockdep_map dep_map; in context_lock_struct()
25 struct lockdep_map dep_map; in context_lock_struct()
H A Dsrcutiny.h30 struct lockdep_map dep_map;
H A Dblkdev.h219 struct lockdep_map lockdep_map; member
519 struct lockdep_map io_lockdep_map;
522 struct lockdep_map q_lockdep_map;
H A Dsrcutree.h109 struct lockdep_map dep_map;
H A Dmaple_tree.h264 struct lockdep_map *ma_external_lock;
H A Dspinlock.h227 typecheck(struct lockdep_map *, &(nest_lock)->dep_map);\
H A Djbd2.h1276 struct lockdep_map j_trans_commit_map;
/linux/kernel/locking/
H A Drtmutex_api.c42 struct lockdep_map *nest_lock, in __rt_mutex_lock_common()
82 void __sched _rt_mutex_lock_nest_lock(struct rt_mutex *lock, struct lockdep_map *nest_lock) in _rt_mutex_lock_nest_lock()
554 struct lockdep_map *nest_lock, in __mutex_lock_common()
585 struct lockdep_map *nest_lock) in _mutex_lock_nest_lock()
599 struct lockdep_map *nest_lock) in _mutex_lock_killable()
618 struct lockdep_map *nest_lock) in _mutex_trylock_nest_lock()
H A Dlockdep.c750 static void print_lockdep_cache(struct lockdep_map *lock) in print_lockdep_cache()
903 look_up_lock_class(const struct lockdep_map *lock, unsigned int subclass) in look_up_lock_class()
937 sizeof(struct lockdep_map)); in look_up_lock_class()
966 static __always_inline bool lock_class_cache_is_valid(const struct lockdep_map *lock, in lock_class_cache_is_valid()
999 static bool assign_lock_key(struct lockdep_map *lock) in assign_lock_key()
1329 register_lock_class(struct lockdep_map *lock, unsigned int subclass, int force) in register_lock_class()
4981 void lockdep_init_map_type(struct lockdep_map *lock, const char *name, in lockdep_init_map_type()
5050 void lockdep_set_lock_cmp_fn(struct lockdep_map *lock, lock_cmp_fn cmp_fn, in lockdep_set_lock_cmp_fn()
5114 static int __lock_is_held(const struct lockdep_map *lock, int read);
5124 static int __lock_acquire(struct lockdep_map *lock, unsigned int subclass, in __lock_acquire()
[all …]
/linux/fs/btrfs/
H A Dfs.h956 struct lockdep_map btrfs_trans_num_writers_map;
957 struct lockdep_map btrfs_trans_num_extwriters_map;
958 struct lockdep_map btrfs_state_change_map[4];
959 struct lockdep_map btrfs_trans_pending_ordered_map;
960 struct lockdep_map btrfs_ordered_extent_map;
/linux/kernel/
H A Dworkqueue.c383 struct lockdep_map __lockdep_map;
384 struct lockdep_map *lockdep_map; member
3301 * work->lockdep_map, make a copy and use that here. in process_one_work()
3303 struct lockdep_map lockdep_map; in process_one_work() local
3305 lockdep_copy_map(&lockdep_map, &work->lockdep_map); in process_one_work()
3371 lock_map_acquire(pwq->wq->lockdep_map); in process_one_work()
3372 lock_map_acquire(&lockdep_map); in process_one_work()
6087 alloc_workqueue_lockdep_map(const char * fmt,unsigned int flags,int max_active,struct lockdep_map * lockdep_map,...) alloc_workqueue_lockdep_map() argument
[all...]
H A Dsoftirq.c154 struct lockdep_map bh_lock_map = {
/linux/drivers/block/zram/
H A Dzram_drv.h123 struct lockdep_map table_lock_map;
/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()
/linux/drivers/dma-buf/
H A Ddma-fence.c274 static struct lockdep_map dma_fence_lockdep_map = {
/linux/fs/
H A Dpipe.c81 static int pipe_lock_cmp_fn(const struct lockdep_map *a, in pipe_lock_cmp_fn()
82 const struct lockdep_map *b) in pipe_lock_cmp_fn()
/linux/drivers/md/bcache/
H A Dbtree.c563 static int btree_lock_cmp_fn(const struct lockdep_map *_a, in btree_lock_cmp_fn()
564 const struct lockdep_map *_b) in btree_lock_cmp_fn()
572 static void btree_lock_print_fn(const struct lockdep_map *map) in btree_lock_print_fn()

12