Home
last modified time | relevance | path

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

/Linux-v5.4/kernel/
Dfutex.c236 struct futex_pi_state *pi_state; member
806 struct futex_pi_state *pi_state; in refill_pi_state_cache() local
811 pi_state = kzalloc(sizeof(*pi_state), GFP_KERNEL); in refill_pi_state_cache()
813 if (!pi_state) in refill_pi_state_cache()
816 INIT_LIST_HEAD(&pi_state->list); in refill_pi_state_cache()
818 pi_state->owner = NULL; in refill_pi_state_cache()
819 refcount_set(&pi_state->refcount, 1); in refill_pi_state_cache()
820 pi_state->key = FUTEX_KEY_INIT; in refill_pi_state_cache()
822 current->pi_state_cache = pi_state; in refill_pi_state_cache()
829 struct futex_pi_state *pi_state = current->pi_state_cache; in alloc_pi_state() local
[all …]
/Linux-v5.4/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.