Lines Matching refs:p
269 struct task_struct *p; in membarrier_global_expedited() local
290 p = rcu_dereference(cpu_rq(cpu)->curr); in membarrier_global_expedited()
291 if (!p->mm) in membarrier_global_expedited()
358 struct task_struct *p; in membarrier_private_expedited() local
363 p = rcu_dereference(cpu_rq(cpu_id)->curr); in membarrier_private_expedited()
364 if (!p || p->mm != mm) { in membarrier_private_expedited()
374 struct task_struct *p; in membarrier_private_expedited() local
376 p = rcu_dereference(cpu_rq(cpu)->curr); in membarrier_private_expedited()
377 if (p && p->mm == mm) in membarrier_private_expedited()
473 struct task_struct *p; in sync_runqueues_membarrier_state() local
475 p = rcu_dereference(rq->curr); in sync_runqueues_membarrier_state()
476 if (p && p->mm == mm) in sync_runqueues_membarrier_state()
491 struct task_struct *p = current; in membarrier_register_global_expedited() local
492 struct mm_struct *mm = p->mm; in membarrier_register_global_expedited()
510 struct task_struct *p = current; in membarrier_register_private_expedited() local
511 struct mm_struct *mm = p->mm; in membarrier_register_private_expedited()
552 struct task_struct *p = current; in membarrier_get_registrations() local
553 struct mm_struct *mm = p->mm; in membarrier_get_registrations()