Home
last modified time | relevance | path

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

/kernel/locking/
Drtmutex_api.c25 unsigned int subclass) in __rt_mutex_lock_common() argument
30 mutex_acquire_nest(&lock->dep_map, subclass, 0, nest_lock, _RET_IP_); in __rt_mutex_lock_common()
52 void __sched rt_mutex_lock_nested(struct rt_mutex *lock, unsigned int subclass) in rt_mutex_lock_nested() argument
54 __rt_mutex_lock_common(lock, TASK_UNINTERRUPTIBLE, NULL, subclass); in rt_mutex_lock_nested()
509 unsigned int subclass, in __mutex_lock_common() argument
516 mutex_acquire_nest(&lock->dep_map, subclass, 0, nest_lock, ip); in __mutex_lock_common()
526 void __sched mutex_lock_nested(struct mutex *lock, unsigned int subclass) in mutex_lock_nested() argument
528 __mutex_lock_common(lock, TASK_UNINTERRUPTIBLE, subclass, NULL, _RET_IP_); in mutex_lock_nested()
540 unsigned int subclass) in mutex_lock_interruptible_nested() argument
542 return __mutex_lock_common(lock, TASK_INTERRUPTIBLE, subclass, NULL, _RET_IP_); in mutex_lock_interruptible_nested()
[all …]
Dmutex.c591 __mutex_lock_common(struct mutex *lock, unsigned int state, unsigned int subclass, in __mutex_lock_common() argument
625 mutex_acquire_nest(&lock->dep_map, subclass, 0, nest_lock, ip); in __mutex_lock_common()
771 __mutex_lock(struct mutex *lock, unsigned int state, unsigned int subclass, in __mutex_lock() argument
774 return __mutex_lock_common(lock, state, subclass, nest_lock, ip, NULL, false); in __mutex_lock()
778 __ww_mutex_lock(struct mutex *lock, unsigned int state, unsigned int subclass, in __ww_mutex_lock() argument
781 return __mutex_lock_common(lock, state, subclass, NULL, ip, ww_ctx, true); in __ww_mutex_lock()
824 mutex_lock_nested(struct mutex *lock, unsigned int subclass) in mutex_lock_nested() argument
826 __mutex_lock(lock, TASK_UNINTERRUPTIBLE, subclass, NULL, _RET_IP_); in mutex_lock_nested()
839 mutex_lock_killable_nested(struct mutex *lock, unsigned int subclass) in mutex_lock_killable_nested() argument
841 return __mutex_lock(lock, TASK_KILLABLE, subclass, NULL, _RET_IP_); in mutex_lock_killable_nested()
[all …]
Dspinlock.c305 #define __raw_write_lock_nested(lock, subclass) __raw_write_lock(((void)(subclass), (lock))) argument
308 void __lockfunc _raw_write_lock_nested(rwlock_t *lock, int subclass) in _raw_write_lock_nested() argument
310 __raw_write_lock_nested(lock, subclass); in _raw_write_lock_nested()
375 void __lockfunc _raw_spin_lock_nested(raw_spinlock_t *lock, int subclass) in _raw_spin_lock_nested() argument
378 spin_acquire(&lock->dep_map, subclass, 0, _RET_IP_); in _raw_spin_lock_nested()
384 int subclass) in _raw_spin_lock_irqsave_nested() argument
390 spin_acquire(&lock->dep_map, subclass, 0, _RET_IP_); in _raw_spin_lock_irqsave_nested()
Dspinlock_rt.c60 void __sched rt_spin_lock_nested(spinlock_t *lock, int subclass) in rt_spin_lock_nested() argument
62 spin_acquire(&lock->dep_map, subclass, 0, _RET_IP_); in rt_spin_lock_nested()
243 void __sched rt_write_lock_nested(rwlock_t *rwlock, int subclass) in rt_write_lock_nested() argument
246 rwlock_acquire(&rwlock->dep_map, subclass, 0, _RET_IP_); in rt_write_lock_nested()
Dlockdep.c725 if (class->subclass) in __print_lock_name()
726 printk(KERN_CONT "/%d", class->subclass); in __print_lock_name()
869 if (new_class->key - new_class->subclass == class->key) in count_matching_names()
880 look_up_lock_class(const struct lockdep_map *lock, unsigned int subclass) in look_up_lock_class() argument
886 if (unlikely(subclass >= MAX_LOCKDEP_SUBCLASSES)) { in look_up_lock_class()
890 "BUG: looking up invalid subclass: %u\n", subclass); in look_up_lock_class()
914 key = lock->key->subkeys + subclass; in look_up_lock_class()
1273 register_lock_class(struct lockdep_map *lock, unsigned int subclass, int force) in register_lock_class() argument
1282 class = look_up_lock_class(lock, subclass); in register_lock_class()
1293 key = lock->key->subkeys + subclass; in register_lock_class()
[all …]
Drwsem.c1689 void down_read_nested(struct rw_semaphore *sem, int subclass) in down_read_nested() argument
1692 rwsem_acquire_read(&sem->dep_map, subclass, 0, _RET_IP_); in down_read_nested()
1697 int down_read_killable_nested(struct rw_semaphore *sem, int subclass) in down_read_killable_nested() argument
1700 rwsem_acquire_read(&sem->dep_map, subclass, 0, _RET_IP_); in down_read_killable_nested()
1733 void down_write_nested(struct rw_semaphore *sem, int subclass) in down_write_nested() argument
1736 rwsem_acquire(&sem->dep_map, subclass, 0, _RET_IP_); in down_write_nested()
1741 int __sched down_write_killable_nested(struct rw_semaphore *sem, int subclass) in down_write_killable_nested() argument
1744 rwsem_acquire(&sem->dep_map, subclass, 0, _RET_IP_); in down_write_killable_nested()
Dlockdep_proc.c72 if (class->subclass) in print_name()
73 seq_printf(m, "/%d", class->subclass); in print_name()
473 if (class->subclass) in seq_stats()
500 if (class->subclass) { in seq_stats()
501 snprintf(name+namelen, 3, "/%d", class->subclass); in seq_stats()
/kernel/sched/
Dsched.h1385 extern void raw_spin_rq_lock_nested(struct rq *rq, int subclass);
Dcore.c545 void raw_spin_rq_lock_nested(struct rq *rq, int subclass) in raw_spin_rq_lock_nested() argument
552 raw_spin_lock_nested(&rq->__lock, subclass); in raw_spin_rq_lock_nested()
560 raw_spin_lock_nested(lock, subclass); in raw_spin_rq_lock_nested()