Searched refs:pi_state (Results 1 - 5 of 5) sorted by relevance
/linux-master/kernel/futex/ |
H A D | pi.c | 15 struct futex_pi_state *pi_state; local 20 pi_state = kzalloc(sizeof(*pi_state), GFP_KERNEL); 22 if (!pi_state) 25 INIT_LIST_HEAD(&pi_state->list); 27 pi_state->owner = NULL; 28 refcount_set(&pi_state->refcount, 1); 29 pi_state->key = FUTEX_KEY_INIT; 31 current->pi_state_cache = pi_state; 38 struct futex_pi_state *pi_state local 46 pi_state_update_owner(struct futex_pi_state *pi_state, struct task_struct *new_owner) argument 69 get_pi_state(struct futex_pi_state *pi_state) argument 78 put_pi_state(struct futex_pi_state *pi_state) argument 203 attach_to_pi_state(u32 __user *uaddr, u32 uval, struct futex_pi_state *pi_state, struct futex_pi_state **ps) argument 386 struct futex_pi_state *pi_state = alloc_pi_state(); local 614 wake_futex_pi(u32 __user *uaddr, u32 uval, struct futex_pi_state *pi_state, struct rt_mutex_waiter *top_waiter) argument 674 struct futex_pi_state *pi_state = q->pi_state; local 846 struct futex_pi_state *pi_state = q->pi_state; local 1147 struct futex_pi_state *pi_state = top_waiter->pi_state; local [all...] |
H A D | requeue.c | 95 struct futex_pi_state *pi_state) 123 q->pi_state = pi_state; 249 * @ps: address to store the pi_state pointer 302 if (!top_waiter->rt_waiter || top_waiter->pi_state) 373 struct futex_pi_state *pi_state = NULL; local 409 * look up pi_state and do more or less all the handling 423 * requeue_pi requires a pi_state, try to allocate it now 489 &key2, &pi_state, 494 * is waiting on it. In both cases pi_state ha 94 futex_requeue_pi_prepare(struct futex_q *q, struct futex_pi_state *pi_state) argument [all...] |
H A D | core.c | 620 BUG_ON(q->pi_state); 646 BUG_ON(!q->pi_state); 647 put_pi_state(q->pi_state); 648 q->pi_state = NULL; 971 struct futex_pi_state *pi_state; local 983 pi_state = list_entry(next, struct futex_pi_state, list); 984 key = pi_state->key; 997 if (!refcount_inc_not_zero(&pi_state->refcount)) { 1006 raw_spin_lock_irq(&pi_state->pi_mutex.wait_lock); 1014 raw_spin_unlock(&pi_state [all...] |
H A D | futex.h | 126 * list of 'owned' pi_state instances - these have to be 153 * @pi_state: optional priority inheritance state 179 struct futex_pi_state *pi_state; member in struct:futex_q 309 extern void get_pi_state(struct futex_pi_state *pi_state); 310 extern void put_pi_state(struct futex_pi_state *pi_state);
|
H A D | waitwake.c | 112 if (WARN(q->pi_state || q->rt_waiter, "refusing to wake PI futex\n")) 183 if (this->pi_state || this->rt_waiter) { 303 if (this->pi_state || this->rt_waiter) { 317 if (this->pi_state || this->rt_waiter) {
|
Completed in 110 milliseconds