Lines Matching refs:p
268 struct task_struct *p; in membarrier_global_expedited() local
289 p = rcu_dereference(cpu_rq(cpu)->curr); in membarrier_global_expedited()
290 if (!p->mm) in membarrier_global_expedited()
357 struct task_struct *p; in membarrier_private_expedited() local
362 p = rcu_dereference(cpu_rq(cpu_id)->curr); in membarrier_private_expedited()
363 if (!p || p->mm != mm) { in membarrier_private_expedited()
373 struct task_struct *p; in membarrier_private_expedited() local
375 p = rcu_dereference(cpu_rq(cpu)->curr); in membarrier_private_expedited()
376 if (p && p->mm == mm) in membarrier_private_expedited()
472 struct task_struct *p; in sync_runqueues_membarrier_state() local
474 p = rcu_dereference(rq->curr); in sync_runqueues_membarrier_state()
475 if (p && p->mm == mm) in sync_runqueues_membarrier_state()
490 struct task_struct *p = current; in membarrier_register_global_expedited() local
491 struct mm_struct *mm = p->mm; in membarrier_register_global_expedited()
509 struct task_struct *p = current; in membarrier_register_private_expedited() local
510 struct mm_struct *mm = p->mm; in membarrier_register_private_expedited()