Home
last modified time | relevance | path

Searched refs:pi_lock (Results 1 – 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/kernel/locking/
Drtmutex.c340 lockdep_assert_held(&p->pi_lock); in rt_mutex_adjust_prio()
501 raw_spin_lock_irq(&task->pi_lock); in rt_mutex_adjust_prio_chain()
585 raw_spin_unlock_irq(&task->pi_lock); in rt_mutex_adjust_prio_chain()
616 raw_spin_unlock(&task->pi_lock); in rt_mutex_adjust_prio_chain()
630 raw_spin_lock(&task->pi_lock); in rt_mutex_adjust_prio_chain()
645 raw_spin_unlock(&task->pi_lock); in rt_mutex_adjust_prio_chain()
686 raw_spin_unlock(&task->pi_lock); in rt_mutex_adjust_prio_chain()
710 raw_spin_lock(&task->pi_lock); in rt_mutex_adjust_prio_chain()
764 raw_spin_unlock(&task->pi_lock); in rt_mutex_adjust_prio_chain()
788 raw_spin_unlock_irq(&task->pi_lock); in rt_mutex_adjust_prio_chain()
[all …]
/kernel/linux/linux-5.10/kernel/
Dtask_work.c98 raw_spin_lock_irqsave(&task->pi_lock, flags); in task_work_cancel()
105 raw_spin_unlock_irqrestore(&task->pi_lock, flags); in task_work_cancel()
146 raw_spin_lock_irq(&task->pi_lock); in task_work_run()
147 raw_spin_unlock_irq(&task->pi_lock); in task_work_run()
Dfutex.c775 raw_spin_lock(&old_owner->pi_lock); in pi_state_update_owner()
778 raw_spin_unlock(&old_owner->pi_lock); in pi_state_update_owner()
782 raw_spin_lock(&new_owner->pi_lock); in pi_state_update_owner()
786 raw_spin_unlock(&new_owner->pi_lock); in pi_state_update_owner()
855 raw_spin_lock_irq(&curr->pi_lock); in exit_pi_state_list()
873 raw_spin_unlock_irq(&curr->pi_lock); in exit_pi_state_list()
875 raw_spin_lock_irq(&curr->pi_lock); in exit_pi_state_list()
878 raw_spin_unlock_irq(&curr->pi_lock); in exit_pi_state_list()
882 raw_spin_lock(&curr->pi_lock); in exit_pi_state_list()
900 raw_spin_unlock(&curr->pi_lock); in exit_pi_state_list()
[all …]
Dkthread.c464 raw_spin_lock_irqsave(&p->pi_lock, flags); in __kthread_bind_mask()
467 raw_spin_unlock_irqrestore(&p->pi_lock, flags); in __kthread_bind_mask()
Dfork.c1667 raw_spin_lock_init(&p->pi_lock); in rt_mutex_init_task()
/kernel/linux/linux-5.10/init/
Dinit_task.c134 .pi_lock = __RAW_SPIN_LOCK_UNLOCKED(init_task.pi_lock),
/kernel/linux/linux-5.10/kernel/sched/
Dcore.c189 lockdep_assert_held(&p->pi_lock); in __task_rq_lock()
209 __acquires(p->pi_lock) in task_rq_lock()
215 raw_spin_lock_irqsave(&p->pi_lock, rf->flags); in task_rq_lock()
240 raw_spin_unlock_irqrestore(&p->pi_lock, rf->flags); in task_rq_lock()
1057 lockdep_assert_held(&p->pi_lock); in __uclamp_update_util_min_rt_default()
1868 raw_spin_lock(&p->pi_lock); in migration_cpu_stop()
1882 raw_spin_unlock(&p->pi_lock); in migration_cpu_stop()
1903 lockdep_assert_held(&p->pi_lock); in do_set_cpus_allowed()
2072 WARN_ON_ONCE(debug_locks && !(lockdep_is_held(&p->pi_lock) || in set_task_cpu()
2143 double_raw_lock(&arg->src_task->pi_lock, in migrate_swap_stop()
[all …]
Dsched.h1388 __acquires(p->pi_lock)
1401 __releases(p->pi_lock) in task_rq_unlock()
1405 raw_spin_unlock_irqrestore(&p->pi_lock, rf->flags); in task_rq_unlock()
/kernel/linux/linux-5.10/include/linux/
Dsched.h152 raw_spin_lock_irqsave(&current->pi_lock, flags); \
155 raw_spin_unlock_irqrestore(&current->pi_lock, flags); \
210 raw_spin_lock_irqsave(&current->pi_lock, flags); \
212 raw_spin_unlock_irqrestore(&current->pi_lock, flags); \
1132 raw_spinlock_t pi_lock; member
/kernel/linux/linux-5.10/kernel/sched/rtg/
Drtg.c298 raw_spin_lock_irqsave(&p->pi_lock, flags); in __sched_set_group_id()
336 raw_spin_unlock_irqrestore(&p->pi_lock, flags); in __sched_set_group_id()
/kernel/linux/linux-5.10/Documentation/locking/
Drt-mutex-design.rst220 called pi_lock. This lock may also be taken in interrupt context, so when
221 locking the pi_lock, interrupts must be disabled.
543 On the wake up code, the pi_lock of the current owner is taken. The top
548 Finally we unlock the pi_lock of the pending owner and wake it up.
/kernel/linux/linux-5.10/kernel/rcu/
Drcutorture.c1273 raw_spin_lock_irqsave(&current->pi_lock, flags); in rcutorture_one_extend()
1276 raw_spin_unlock_irqrestore(&current->pi_lock, flags); in rcutorture_one_extend()