Home
last modified time | relevance | path

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

/linux/kernel/locking/
A Drtmutex.c440 lockdep_assert_held(&p->pi_lock); in rt_mutex_adjust_prio()
794 raw_spin_lock(&task->pi_lock); in rt_mutex_adjust_prio_chain()
849 raw_spin_unlock(&task->pi_lock); in rt_mutex_adjust_prio_chain()
873 raw_spin_lock(&task->pi_lock); in rt_mutex_adjust_prio_chain()
927 raw_spin_unlock(&task->pi_lock); in rt_mutex_adjust_prio_chain()
1057 raw_spin_lock(&task->pi_lock); in try_to_take_rt_mutex()
1066 raw_spin_unlock(&task->pi_lock); in try_to_take_rt_mutex()
1110 raw_spin_lock(&task->pi_lock); in task_blocks_on_rt_mutex()
1122 raw_spin_unlock(&task->pi_lock); in task_blocks_on_rt_mutex()
1142 raw_spin_lock(&owner->pi_lock); in task_blocks_on_rt_mutex()
[all …]
A Drtmutex_api.c437 raw_spin_lock_irqsave(&task->pi_lock, flags); in rt_mutex_adjust_pi()
441 raw_spin_unlock_irqrestore(&task->pi_lock, flags); in rt_mutex_adjust_pi()
445 raw_spin_unlock_irqrestore(&task->pi_lock, flags); in rt_mutex_adjust_pi()
/linux/kernel/
A Dtask_work.c89 raw_spin_lock_irqsave(&task->pi_lock, flags); in task_work_cancel_match()
96 raw_spin_unlock_irqrestore(&task->pi_lock, flags); in task_work_cancel_match()
159 raw_spin_lock_irq(&task->pi_lock); in task_work_run()
160 raw_spin_unlock_irq(&task->pi_lock); in task_work_run()
A Dkthread.c470 raw_spin_lock_irqsave(&p->pi_lock, flags); in __kthread_bind_mask()
473 raw_spin_unlock_irqrestore(&p->pi_lock, flags); in __kthread_bind_mask()
A Dfork.c1727 raw_spin_lock_init(&p->pi_lock); in rt_mutex_init_task()
/linux/kernel/futex/
A Dcore.c960 raw_spin_lock_irq(&curr->pi_lock); in exit_pi_state_list()
978 raw_spin_unlock_irq(&curr->pi_lock); in exit_pi_state_list()
980 raw_spin_lock_irq(&curr->pi_lock); in exit_pi_state_list()
983 raw_spin_unlock_irq(&curr->pi_lock); in exit_pi_state_list()
987 raw_spin_lock(&curr->pi_lock); in exit_pi_state_list()
1005 raw_spin_unlock(&curr->pi_lock); in exit_pi_state_list()
1012 raw_spin_lock_irq(&curr->pi_lock); in exit_pi_state_list()
1014 raw_spin_unlock_irq(&curr->pi_lock); in exit_pi_state_list()
1084 raw_spin_lock_irq(&tsk->pi_lock); in futex_cleanup_begin()
1086 raw_spin_unlock_irq(&tsk->pi_lock); in futex_cleanup_begin()
A Dpi.c53 raw_spin_lock(&old_owner->pi_lock); in pi_state_update_owner()
56 raw_spin_unlock(&old_owner->pi_lock); in pi_state_update_owner()
60 raw_spin_lock(&new_owner->pi_lock); in pi_state_update_owner()
64 raw_spin_unlock(&new_owner->pi_lock); in pi_state_update_owner()
440 raw_spin_lock_irq(&p->pi_lock); in attach_to_pi_owner()
449 raw_spin_unlock_irq(&p->pi_lock); in attach_to_pi_owner()
467 raw_spin_unlock_irq(&p->pi_lock); in attach_to_pi_owner()
586 raw_spin_lock_irq(&task->pi_lock); in futex_lock_pi_atomic()
588 raw_spin_unlock_irq(&task->pi_lock); in futex_lock_pi_atomic()
/linux/kernel/sched/
A Dcore_sched.c101 raw_spin_lock_irqsave(&p->pi_lock, flags); in sched_core_clone_cookie()
103 raw_spin_unlock_irqrestore(&p->pi_lock, flags); in sched_core_clone_cookie()
A Dcore.c552 lockdep_assert_held(&p->pi_lock); in __task_rq_lock()
572 __acquires(p->pi_lock) in task_rq_lock()
1370 lockdep_assert_held(&p->pi_lock); in __uclamp_update_util_min_rt_default()
1978 raw_spin_lock_irq(&p->pi_lock); in get_wchan()
1983 raw_spin_unlock_irq(&p->pi_lock); in get_wchan()
2334 raw_spin_lock(&p->pi_lock); in migration_cpu_stop()
2420 raw_spin_lock_irq(&p->pi_lock); in push_cpu_stop()
2452 raw_spin_unlock_irq(&p->pi_lock); in push_cpu_stop()
2776 __releases(p->pi_lock) in __set_cpus_allowed_ptr_locked()
3116 &arg->dst_task->pi_lock); in migrate_swap_stop()
[all …]
A Dsched.h1574 __acquires(p->pi_lock)
1587 __releases(p->pi_lock) in task_rq_unlock()
1591 raw_spin_unlock_irqrestore(&p->pi_lock, rf->flags); in task_rq_unlock()
A Ddeadline.c2498 raw_spin_lock_irqsave(&p->pi_lock, rf.flags); in dl_add_task_root_domain()
2500 raw_spin_unlock_irqrestore(&p->pi_lock, rf.flags); in dl_add_task_root_domain()
A Dfair.c6889 lockdep_assert_held(&p->pi_lock); in select_task_rq_fair()
/linux/init/
A Dinit_task.c132 .pi_lock = __RAW_SPIN_LOCK_UNLOCKED(init_task.pi_lock),
/linux/include/linux/
A Dsched.h224 raw_spin_lock_irqsave(&current->pi_lock, flags); \
227 raw_spin_unlock_irqrestore(&current->pi_lock, flags); \
258 raw_spin_lock(&current->pi_lock); \
262 raw_spin_unlock(&current->pi_lock); \
268 raw_spin_lock(&current->pi_lock); \
272 raw_spin_unlock(&current->pi_lock); \
1109 raw_spinlock_t pi_lock; member
/linux/Documentation/locking/
A 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.
/linux/kernel/rcu/
A Drcutorture.c1467 raw_spin_lock_irqsave(&current->pi_lock, flags); in rcutorture_one_extend()
1470 raw_spin_unlock_irqrestore(&current->pi_lock, flags); in rcutorture_one_extend()

Completed in 77 milliseconds