Searched refs:cpu_id (Results 1 – 6 of 6) sorted by relevance
/kernel/sched/ |
D | membarrier.c | 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() [all …]
|
/kernel/ |
D | rseq.c | 86 u32 cpu_id = raw_smp_processor_id(); in rseq_update_cpu_id() local 91 unsafe_put_user(cpu_id, &rseq->cpu_id_start, efault_end); in rseq_update_cpu_id() 92 unsafe_put_user(cpu_id, &rseq->cpu_id, efault_end); in rseq_update_cpu_id() 105 u32 cpu_id_start = 0, cpu_id = RSEQ_CPU_ID_UNINITIALIZED; in rseq_reset_rseq_cpu_id() local 117 if (put_user(cpu_id, &t->rseq->cpu_id)) in rseq_reset_rseq_cpu_id()
|
/kernel/kcsan/ |
D | report.c | 33 int cpu_id; member 385 other_info->ai.cpu_id); in print_report() 398 get_thread_desc(ai->task_pid), ai->cpu_id); in print_report() 402 get_thread_desc(ai->task_pid), ai->cpu_id); in print_report() 585 .cpu_id = raw_smp_processor_id() in prepare_access_info()
|
/kernel/trace/ |
D | ring_buffer.c | 2082 int cpu_id) in ring_buffer_resize() argument 2097 if (cpu_id != RING_BUFFER_ALL_CPUS && in ring_buffer_resize() 2098 !cpumask_test_cpu(cpu_id, buffer->cpumask)) in ring_buffer_resize() 2111 if (cpu_id == RING_BUFFER_ALL_CPUS) { in ring_buffer_resize() 2185 cpu_buffer = buffer->buffers[cpu_id]; in ring_buffer_resize() 2214 if (!cpu_online(cpu_id)) in ring_buffer_resize() 2217 schedule_work_on(cpu_id, in ring_buffer_resize()
|
D | trace.c | 1207 struct array_buffer *size_buf, int cpu_id); 6228 struct array_buffer *size_buf, int cpu_id) in resize_buffer_duplicate_size() argument 6232 if (cpu_id == RING_BUFFER_ALL_CPUS) { in resize_buffer_duplicate_size() 6243 per_cpu_ptr(size_buf->data, cpu_id)->entries, cpu_id); in resize_buffer_duplicate_size() 6245 per_cpu_ptr(trace_buf->data, cpu_id)->entries = in resize_buffer_duplicate_size() 6246 per_cpu_ptr(size_buf->data, cpu_id)->entries; in resize_buffer_duplicate_size() 6317 unsigned long size, int cpu_id) in tracing_resize_ring_buffer() argument 6323 if (cpu_id != RING_BUFFER_ALL_CPUS) { in tracing_resize_ring_buffer() 6325 if (!cpumask_test_cpu(cpu_id, tracing_buffer_mask)) { in tracing_resize_ring_buffer() 6331 ret = __tracing_resize_ring_buffer(tr, size, cpu_id); in tracing_resize_ring_buffer()
|
D | trace.h | 1837 unsigned long size, int cpu_id);
|