Home
last modified time | relevance | path

Searched refs:cpu_id (Results 1 – 6 of 6) sorted by relevance

/kernel/sched/
Dmembarrier.c313 static int membarrier_private_expedited(int flags, int cpu_id) in membarrier_private_expedited() argument
350 if (cpu_id < 0 && !zalloc_cpumask_var(&tmpmask, GFP_KERNEL)) in membarrier_private_expedited()
356 if (cpu_id >= 0) { in membarrier_private_expedited()
359 if (cpu_id >= nr_cpu_ids || !cpu_online(cpu_id)) in membarrier_private_expedited()
362 p = rcu_dereference(cpu_rq(cpu_id)->curr); in membarrier_private_expedited()
382 if (cpu_id >= 0) { in membarrier_private_expedited()
387 smp_call_function_single(cpu_id, ipi_func, NULL, 1); in membarrier_private_expedited()
416 if (cpu_id < 0) in membarrier_private_expedited()
585 SYSCALL_DEFINE3(membarrier, int, cmd, unsigned int, flags, int, cpu_id) in SYSCALL_DEFINE3() argument
598 cpu_id = -1; in SYSCALL_DEFINE3()
[all …]
/kernel/
Drseq.c87 u32 cpu_id = raw_smp_processor_id(); in rseq_update_cpu_id() local
92 unsafe_put_user(cpu_id, &rseq->cpu_id_start, efault_end); in rseq_update_cpu_id()
93 unsafe_put_user(cpu_id, &rseq->cpu_id, efault_end); in rseq_update_cpu_id()
106 u32 cpu_id_start = 0, cpu_id = RSEQ_CPU_ID_UNINITIALIZED; in rseq_reset_rseq_cpu_id() local
118 if (put_user(cpu_id, &t->rseq->cpu_id)) in rseq_reset_rseq_cpu_id()
/kernel/kcsan/
Dreport.c34 int cpu_id; member
448 other_info->ai.cpu_id); in print_report()
460 get_thread_desc(ai->task_pid), ai->cpu_id); in print_report()
464 get_thread_desc(ai->task_pid), ai->cpu_id); in print_report()
645 .cpu_id = raw_smp_processor_id(), in prepare_access_info()
/kernel/trace/
Dring_buffer.c2116 int cpu_id) in ring_buffer_resize() argument
2131 if (cpu_id != RING_BUFFER_ALL_CPUS && in ring_buffer_resize()
2132 !cpumask_test_cpu(cpu_id, buffer->cpumask)) in ring_buffer_resize()
2145 if (cpu_id == RING_BUFFER_ALL_CPUS) { in ring_buffer_resize()
2219 cpu_buffer = buffer->buffers[cpu_id]; in ring_buffer_resize()
2248 if (!cpu_online(cpu_id)) in ring_buffer_resize()
2251 schedule_work_on(cpu_id, in ring_buffer_resize()
Dtrace.c1219 struct array_buffer *size_buf, int cpu_id);
6242 struct array_buffer *size_buf, int cpu_id) in resize_buffer_duplicate_size() argument
6246 if (cpu_id == RING_BUFFER_ALL_CPUS) { in resize_buffer_duplicate_size()
6257 per_cpu_ptr(size_buf->data, cpu_id)->entries, cpu_id); in resize_buffer_duplicate_size()
6259 per_cpu_ptr(trace_buf->data, cpu_id)->entries = in resize_buffer_duplicate_size()
6260 per_cpu_ptr(size_buf->data, cpu_id)->entries; in resize_buffer_duplicate_size()
6331 unsigned long size, int cpu_id) in tracing_resize_ring_buffer() argument
6337 if (cpu_id != RING_BUFFER_ALL_CPUS) { in tracing_resize_ring_buffer()
6339 if (!cpumask_test_cpu(cpu_id, tracing_buffer_mask)) { in tracing_resize_ring_buffer()
6345 ret = __tracing_resize_ring_buffer(tr, size, cpu_id); in tracing_resize_ring_buffer()
Dtrace.h1859 unsigned long size, int cpu_id);