Lines Matching refs:cpu_id
315 static int membarrier_private_expedited(int flags, int cpu_id) in membarrier_private_expedited() argument
352 if (cpu_id < 0 && !zalloc_cpumask_var(&tmpmask, GFP_KERNEL)) in membarrier_private_expedited()
358 if (cpu_id >= 0) { in membarrier_private_expedited()
361 if (cpu_id >= nr_cpu_ids || !cpu_online(cpu_id)) in membarrier_private_expedited()
364 p = rcu_dereference(cpu_rq(cpu_id)->curr); in membarrier_private_expedited()
384 if (cpu_id >= 0) { in membarrier_private_expedited()
389 smp_call_function_single(cpu_id, ipi_func, NULL, 1); in membarrier_private_expedited()
418 if (cpu_id < 0) in membarrier_private_expedited()
589 SYSCALL_DEFINE3(membarrier, int, cmd, unsigned int, flags, int, cpu_id) in SYSCALL_DEFINE3() argument
602 cpu_id = -1; in SYSCALL_DEFINE3()
625 return membarrier_private_expedited(0, cpu_id); in SYSCALL_DEFINE3()
629 return membarrier_private_expedited(MEMBARRIER_FLAG_SYNC_CORE, cpu_id); in SYSCALL_DEFINE3()
633 return membarrier_private_expedited(MEMBARRIER_FLAG_RSEQ, cpu_id); in SYSCALL_DEFINE3()