Lines Matching refs:lockdep_map
26 static inline void lockdep_copy_map(struct lockdep_map *to, in lockdep_copy_map()
27 struct lockdep_map *from) in lockdep_copy_map()
106 struct lockdep_map *instance;
107 struct lockdep_map *nest_lock;
147 extern void lockdep_reset_lock(struct lockdep_map *lock);
185 extern void lockdep_init_map_type(struct lockdep_map *lock, const char *name,
189 lockdep_init_map_waits(struct lockdep_map *lock, const char *name, in lockdep_init_map_waits()
196 lockdep_init_map_wait(struct lockdep_map *lock, const char *name, in lockdep_init_map_wait()
202 static inline void lockdep_init_map(struct lockdep_map *lock, const char *name, in lockdep_init_map()
246 static inline int lockdep_match_key(struct lockdep_map *lock, in lockdep_match_key()
266 extern void lock_acquire(struct lockdep_map *lock, unsigned int subclass,
268 struct lockdep_map *nest_lock, unsigned long ip);
270 extern void lock_release(struct lockdep_map *lock, unsigned long ip);
272 extern void lock_sync(struct lockdep_map *lock, unsigned int subclass,
273 int read, int check, struct lockdep_map *nest_lock,
284 extern int lock_is_held_type(const struct lockdep_map *lock, int read);
286 static inline int lock_is_held(const struct lockdep_map *lock) in lock_is_held()
294 extern void lock_set_class(struct lockdep_map *lock, const char *name,
301 static inline void lock_set_subclass(struct lockdep_map *lock, in lock_set_subclass()
307 extern void lock_downgrade(struct lockdep_map *lock, unsigned long ip);
311 extern struct pin_cookie lock_pin_lock(struct lockdep_map *lock);
312 extern void lock_repin_lock(struct lockdep_map *lock, struct pin_cookie);
313 extern void lock_unpin_lock(struct lockdep_map *lock, struct pin_cookie);
352 struct lockdep_map _name = { \
446 struct lockdep_map __maybe_unused _name = {}
451 void lockdep_set_lock_cmp_fn(struct lockdep_map *, lock_cmp_fn, lock_print_fn);
476 extern void lock_contended(struct lockdep_map *lock, unsigned long ip);
477 extern void lock_acquired(struct lockdep_map *lock, unsigned long ip);
502 #define lock_contended(lockdep_map, ip) do {} while (0) argument
503 #define lock_acquired(lockdep_map, ip) do {} while (0) argument
589 typecheck(struct lockdep_map *, &(lock)->dep_map); \
595 typecheck(struct lockdep_map *, &(lock)->dep_map); \
601 typecheck(struct lockdep_map *, &(lock)->dep_map); \