Searched refs:pi_lock (Results 1 - 18 of 18) sorted by relevance

/linux-master/kernel/
H A Dtask_work.c103 raw_spin_lock_irqsave(&task->pi_lock, flags);
112 raw_spin_unlock_irqrestore(&task->pi_lock, flags);
175 raw_spin_lock_irq(&task->pi_lock);
176 raw_spin_unlock_irq(&task->pi_lock);
H A Dfreezer.c74 raw_spin_lock_irq(&current->pi_lock);
78 raw_spin_unlock_irq(&current->pi_lock);
H A Dkthread.c529 raw_spin_lock_irqsave(&p->pi_lock, flags);
532 raw_spin_unlock_irqrestore(&p->pi_lock, flags);
H A Dfork.c1945 raw_spin_lock_init(&p->pi_lock);
/linux-master/kernel/locking/
H A Drtmutex.c376 lockdep_assert_held(&task->pi_lock);
507 lockdep_assert_held(&task->pi_lock);
515 lockdep_assert_held(&task->pi_lock);
531 lockdep_assert_held(&p->pi_lock);
613 * we dropped its pi_lock. Is never dereferenced, only used for
626 * [Pn] task->pi_lock held
632 * task->pi_lock
648 * [1] lock(task->pi_lock); [R] acquire [P1]
653 * unlock(task->pi_lock); release [P1]
658 * [8] unlock(task->pi_lock); releas
[all...]
H A Drtmutex_api.c459 raw_spin_lock_irqsave(&task->pi_lock, flags);
463 raw_spin_unlock_irqrestore(&task->pi_lock, flags);
467 raw_spin_unlock_irqrestore(&task->pi_lock, flags);
H A Drtmutex_common.h50 * @pi_tree is ordered by rt_mutex_owner(@lock)->pi_lock
149 lockdep_assert_held(&p->pi_lock);
/linux-master/kernel/futex/
H A Dcore.c980 raw_spin_lock_irq(&curr->pi_lock);
998 raw_spin_unlock_irq(&curr->pi_lock);
1000 raw_spin_lock_irq(&curr->pi_lock);
1003 raw_spin_unlock_irq(&curr->pi_lock);
1007 raw_spin_lock(&curr->pi_lock);
1013 /* retain curr->pi_lock for the loop invariant */
1025 raw_spin_unlock(&curr->pi_lock);
1032 raw_spin_lock_irq(&curr->pi_lock);
1034 raw_spin_unlock_irq(&curr->pi_lock);
1094 * Switch the state to FUTEX_STATE_EXITING under tsk->pi_lock
[all...]
H A Dpi.c54 raw_spin_lock(&old_owner->pi_lock);
57 raw_spin_unlock(&old_owner->pi_lock);
61 raw_spin_lock(&new_owner->pi_lock);
65 raw_spin_unlock(&new_owner->pi_lock);
180 * p->pi_lock:
194 * p->pi_lock
439 * in futex_exit_release(), we do this protected by p->pi_lock:
441 raw_spin_lock_irq(&p->pi_lock);
450 raw_spin_unlock_irq(&p->pi_lock);
468 raw_spin_unlock_irq(&p->pi_lock);
[all...]
/linux-master/kernel/sched/
H A Dcore_sched.c103 raw_spin_lock_irqsave(&p->pi_lock, flags);
105 raw_spin_unlock_irqrestore(&p->pi_lock, flags);
H A Dcore.c465 * p->pi_lock
490 * both p->pi_lock and rq->lock. As a consequence the state they change is
507 * try_to_wake_up(). This latter uses p->pi_lock to serialize against
533 * - for try_to_wake_up(), called under p->pi_lock:
633 lockdep_assert_held(&p->pi_lock);
650 * task_rq_lock - lock p->pi_lock and lock the rq @p resides on.
653 __acquires(p->pi_lock)
659 raw_spin_lock_irqsave(&p->pi_lock, rf->flags);
684 raw_spin_unlock_irqrestore(&p->pi_lock, rf->flags);
1491 lockdep_assert_held(&p->pi_lock);
[all...]
H A Dsched.h1656 __acquires(p->pi_lock)
1669 __releases(p->pi_lock)
1673 raw_spin_unlock_irqrestore(&p->pi_lock, rf->flags);
2021 * holding both task_struct::pi_lock and rq::lock.
2304 * rq->lock. They are however serialized by p->pi_lock.
H A Ddeadline.c1959 * from try_to_wake_up(). Hence, p->pi_lock is locked, but
2645 raw_spin_lock_irqsave(&p->pi_lock, rf.flags);
2647 raw_spin_unlock_irqrestore(&p->pi_lock, rf.flags);
H A Dfair.c4180 * caller only guarantees p->pi_lock is held; no other assumptions,
8170 lockdep_assert_held(&p->pi_lock);
8229 * previous CPU. The caller guarantees p->pi_lock or task_rq(p)->lock is held.
/linux-master/init/
H A Dinit_task.c128 .pi_lock = __RAW_SPIN_LOCK_UNLOCKED(init_task.pi_lock),
/linux-master/include/linux/
H A Dsched.h243 raw_spin_lock_irqsave(&current->pi_lock, flags); \
246 raw_spin_unlock_irqrestore(&current->pi_lock, flags); \
255 * serialized by task_struct::pi_lock against try_to_wake_up(). Any non RT
277 raw_spin_lock(&current->pi_lock); \
281 raw_spin_unlock(&current->pi_lock); \
287 raw_spin_lock(&current->pi_lock); \
291 raw_spin_unlock(&current->pi_lock); \
1144 raw_spinlock_t pi_lock; member in struct:task_struct
1151 /* Updated under owner's pi_lock and rq lock */
/linux-master/kernel/trace/
H A Dtrace_osnoise.c1701 raw_spin_lock_irqsave(&current->pi_lock, flags);
1703 raw_spin_unlock_irqrestore(&current->pi_lock, flags);
1884 raw_spin_lock_irqsave(&current->pi_lock, flags);
1886 raw_spin_unlock_irqrestore(&current->pi_lock, flags);
/linux-master/kernel/rcu/
H A Drcutorture.c1841 raw_spin_lock_irqsave(&current->pi_lock, flags);
1846 raw_spin_unlock_irqrestore(&current->pi_lock, flags);

Completed in 321 milliseconds