Home
last modified time | relevance | path

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

/kernel/
Drtmutex.c54 rt_mutex_set_owner(struct rt_mutex *lock, struct task_struct *owner, in rt_mutex_set_owner() argument
57 unsigned long val = (unsigned long)owner | mask; in rt_mutex_set_owner()
62 lock->owner = (struct task_struct *)val; in rt_mutex_set_owner()
67 lock->owner = (struct task_struct *) in clear_rt_mutex_waiters()
68 ((unsigned long)lock->owner & ~RT_MUTEX_HAS_WAITERS); in clear_rt_mutex_waiters()
82 # define rt_mutex_cmpxchg(l,c,n) (cmpxchg(&l->owner, c, n) == c)
85 unsigned long owner, *p = (unsigned long *) &lock->owner; in mark_rt_mutex_waiters() local
88 owner = *p; in mark_rt_mutex_waiters()
89 } while (cmpxchg(p, owner, owner | RT_MUTEX_HAS_WAITERS) != owner); in mark_rt_mutex_waiters()
95 lock->owner = (struct task_struct *) in mark_rt_mutex_waiters()
[all …]
Daudit_tree.c31 struct audit_tree *owner; member
140 if (chunk->owners[i].owner) in free_chunk()
141 put_tree(chunk->owners[i].owner); in free_chunk()
194 if (chunk->owners[n].owner == tree) in audit_tree_match()
212 struct audit_tree *owner; in untag_chunk() local
223 owner = p->owner; in untag_chunk()
224 if (owner->root == chunk) { in untag_chunk()
225 list_del_init(&owner->same_root); in untag_chunk()
226 owner->root = NULL; in untag_chunk()
229 p->owner = NULL; in untag_chunk()
[all …]
Dfutex.c82 struct task_struct *owner; member
387 pi_state->owner = NULL; in refill_pi_state_cache()
415 if (pi_state->owner) { in free_pi_state()
416 spin_lock_irq(&pi_state->owner->pi_lock); in free_pi_state()
418 spin_unlock_irq(&pi_state->owner->pi_lock); in free_pi_state()
420 rt_mutex_proxy_unlock(&pi_state->pi_mutex, pi_state->owner); in free_pi_state()
431 pi_state->owner = NULL; in free_pi_state()
504 WARN_ON(pi_state->owner != curr); in exit_pi_state_list()
507 pi_state->owner = NULL; in exit_pi_state_list()
545 WARN_ON(pid && pi_state->owner && in lookup_pi_state()
[all …]
Dmutex-debug.c31 lock->owner = new_owner; in debug_mutex_set_owner()
83 DEBUG_LOCKS_WARN_ON(lock->owner != current_thread_info()); in debug_mutex_unlock()
85 DEBUG_LOCKS_WARN_ON(lock->owner != current_thread_info()); in debug_mutex_unlock()
98 lock->owner = NULL; in debug_mutex_init()
Drtmutex_common.h101 ((unsigned long)lock->owner & ~RT_MUTEX_OWNER_MASKALL); in rt_mutex_owner()
107 ((unsigned long)lock->owner & ~RT_MUTEX_HAS_WAITERS); in rt_mutex_real_owner()
112 return (unsigned long)lock->owner & RT_MUTEX_OWNER_PENDING; in rt_mutex_owner_pending()
Drcutree_trace.c92 .owner = THIS_MODULE,
142 .owner = THIS_MODULE,
189 .owner = THIS_MODULE,
211 .owner = THIS_MODULE,
Dmodule.c201 struct module *owner, in each_symbol_in_section() argument
203 struct module *owner, in each_symbol_in_section()
211 if (fn(&arr[j], owner, i, data)) in each_symbol_in_section()
220 struct module *owner, in each_symbol() argument
283 struct module *owner; member
289 struct module *owner, in find_symbol_in_section() argument
324 fsa->owner = owner; in find_symbol_in_section()
333 struct module **owner, in find_symbol() argument
345 if (owner) in find_symbol()
346 *owner = fsa.owner; in find_symbol()
[all …]
Drcupreempt_trace.c265 .owner = THIS_MODULE,
270 .owner = THIS_MODULE,
275 .owner = THIS_MODULE,
Dconfigs.c67 .owner = THIS_MODULE,
Dmutex-debug.h21 lock->owner = NULL; in debug_mutex_clear_owner()
Drtmutex-debug.c105 printk(".. ->owner: %p\n", lock->owner); in printk_lock()
Drtmutex-tester.c389 mutexes[td->sysdev.id].owner); in sysfs_test_status()
Dexit.c613 if (mm->owner != p) in mm_need_new_owner()
658 mm->owner = NULL; in mm_update_next_owner()
679 mm->owner = c; in mm_update_next_owner()
Dparams.c416 struct module *owner, in param_attr_store() argument
Dfork.c922 mm->owner = p; in mm_init_owner()
Dsched.c890 rq->lock.owner = current; in finish_lock_switch()