Home
last modified time | relevance | path

Searched refs:pi_state (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/kernel/
Dfutex.c245 struct futex_pi_state *pi_state; member
785 struct futex_pi_state *pi_state; in refill_pi_state_cache() local
790 pi_state = kzalloc(sizeof(*pi_state), GFP_KERNEL); in refill_pi_state_cache()
792 if (!pi_state) in refill_pi_state_cache()
795 INIT_LIST_HEAD(&pi_state->list); in refill_pi_state_cache()
797 pi_state->owner = NULL; in refill_pi_state_cache()
798 atomic_set(&pi_state->refcount, 1); in refill_pi_state_cache()
799 pi_state->key = FUTEX_KEY_INIT; in refill_pi_state_cache()
801 current->pi_state_cache = pi_state; in refill_pi_state_cache()
808 struct futex_pi_state *pi_state = current->pi_state_cache; in alloc_pi_state() local
[all …]
/Linux-v4.19/Documentation/
Dpi-futex.txt95 the futex-queue. The pi_state includes an rt-mutex, which is a PI-aware,
111 pi_state->rt_mutex and thus wakes up any potential waiters.