Home
last modified time | relevance | path

Searched refs:subclass (Results 1 – 5 of 5) sorted by relevance

/kernel/
Dmutex.c127 __mutex_lock_common(struct mutex *lock, long state, unsigned int subclass, in __mutex_lock_common() argument
138 mutex_acquire(&lock->dep_map, subclass, 0, ip); in __mutex_lock_common()
205 mutex_lock_nested(struct mutex *lock, unsigned int subclass) in mutex_lock_nested() argument
208 __mutex_lock_common(lock, TASK_UNINTERRUPTIBLE, subclass, _RET_IP_); in mutex_lock_nested()
214 mutex_lock_killable_nested(struct mutex *lock, unsigned int subclass) in mutex_lock_killable_nested() argument
217 return __mutex_lock_common(lock, TASK_KILLABLE, subclass, _RET_IP_); in mutex_lock_killable_nested()
222 mutex_lock_interruptible_nested(struct mutex *lock, unsigned int subclass) in mutex_lock_interruptible_nested() argument
225 return __mutex_lock_common(lock, TASK_INTERRUPTIBLE, subclass, _RET_IP_); in mutex_lock_interruptible_nested()
Drwsem.c110 void down_read_nested(struct rw_semaphore *sem, int subclass) in down_read_nested() argument
113 rwsem_acquire_read(&sem->dep_map, subclass, 0, _RET_IP_); in down_read_nested()
129 void down_write_nested(struct rw_semaphore *sem, int subclass) in down_write_nested() argument
132 rwsem_acquire(&sem->dep_map, subclass, 0, _RET_IP_); in down_write_nested()
Dlockdep.c513 if (class->subclass) in print_lock_name()
514 printk("/%d", class->subclass); in print_lock_name()
673 if (new_class->key - new_class->subclass == class->key) in count_matching_names()
688 look_up_lock_class(struct lockdep_map *lock, unsigned int subclass) in look_up_lock_class() argument
723 key = lock->key->subkeys + subclass; in look_up_lock_class()
747 register_lock_class(struct lockdep_map *lock, unsigned int subclass, int force) in register_lock_class() argument
754 class = look_up_lock_class(lock, subclass); in register_lock_class()
771 key = lock->key->subkeys + subclass; in register_lock_class()
805 class->subclass = subclass; in register_lock_class()
840 if (!subclass || force) in register_lock_class()
[all …]
Dspinlock.c287 void __lockfunc _spin_lock_nested(spinlock_t *lock, int subclass) in _spin_lock_nested() argument
290 spin_acquire(&lock->dep_map, subclass, 0, _RET_IP_); in _spin_lock_nested()
295 unsigned long __lockfunc _spin_lock_irqsave_nested(spinlock_t *lock, int subclass) in _spin_lock_irqsave_nested() argument
301 spin_acquire(&lock->dep_map, subclass, 0, _RET_IP_); in _spin_lock_irqsave_nested()
Dlockdep_proc.c78 if (class->subclass) in print_name()
79 seq_printf(m, "/%d", class->subclass); in print_name()
510 if (class->subclass) in seq_stats()
527 if (class->subclass) { in seq_stats()
528 snprintf(name+namelen, 3, "/%d", class->subclass); in seq_stats()