Searched refs:cpu (Results 251 - 275 of 2844) sorted by relevance

<<11121314151617181920>>

/linux-master/arch/hexagon/include/asm/
H A Dsmp.h13 #define raw_smp_processor_id() (current_thread_info()->cpu)
25 extern void arch_send_call_function_single_ipi(int cpu);
/linux-master/arch/mips/include/asm/mach-loongson64/
H A Dtopology.h7 #define cpu_to_node(cpu) (cpu_logical_map(cpu) >> 2)
/linux-master/arch/mips/kernel/
H A Dfpu-probe.h5 #include <asm/cpu.h>
6 #include <asm/cpu-info.h>
/linux-master/tools/perf/
H A Dperf-sys.h14 pid_t pid, int cpu, int group_fd,
17 return syscall(__NR_perf_event_open, attr, pid, cpu,
13 sys_perf_event_open(struct perf_event_attr *attr, pid_t pid, int cpu, int group_fd, unsigned long flags) argument
/linux-master/tools/power/cpupower/utils/
H A Dcpupower-info.c33 unsigned int cpu; local
74 /* Add more per cpu options here */
90 for (cpu = bitmask_first(cpus_chosen);
91 cpu <= bitmask_last(cpus_chosen); cpu++) {
93 if (!bitmask_isbitset(cpus_chosen, cpu))
96 printf(_("analyzing CPU %d:\n"), cpu);
98 if (sysfs_is_cpu_online(cpu) != 1){
104 ret = cpupower_intel_get_perf_bias(cpu);
/linux-master/include/linux/
H A Dcoresight-pmu.h15 * The legacy Trace ID system based on fixed calculation from the cpu
22 #define CORESIGHT_LEGACY_CPU_TRACE_ID(cpu) (0x10 + (cpu * 2))
/linux-master/arch/arm64/kernel/
H A Dwatchdog_hld.c18 unsigned int cpu = smp_processor_id(); local
21 max_cpu_freq = cpufreq_get_hw_max_freq(cpu) * 1000UL;
/linux-master/arch/mips/include/asm/
H A Dbugs.h11 #include <asm/cpu.h>
12 #include <asm/cpu-info.h>
H A Dsmp-ops.h23 void (*send_ipi_single)(int cpu, unsigned int action);
27 int (*boot_secondary)(int cpu, struct task_struct *idle);
33 void (*cpu_die)(unsigned int cpu);
34 void (*cleanup_dead_cpu)(unsigned cpu);
50 extern void mips_smp_send_ipi_single(int cpu, unsigned int action);
/linux-master/tools/include/linux/
H A Dcoresight-pmu.h15 * The legacy Trace ID system based on fixed calculation from the cpu
22 #define CORESIGHT_LEGACY_CPU_TRACE_ID(cpu) (0x10 + (cpu * 2))
/linux-master/arch/powerpc/platforms/pasemi/
H A Dpasemi.h22 extern void restore_astate(int cpu);
29 static inline void restore_astate(int cpu) argument
/linux-master/include/linux/sched/
H A Disolation.h28 extern bool housekeeping_test_cpu(int cpu, enum hk_type type);
51 static inline bool housekeeping_test_cpu(int cpu, enum hk_type type) argument
59 static inline bool housekeeping_cpu(int cpu, enum hk_type type) argument
63 return housekeeping_test_cpu(cpu, type);
68 static inline bool cpu_is_isolated(int cpu) argument
70 return !housekeeping_test_cpu(cpu, HK_TYPE_DOMAIN) ||
71 !housekeeping_test_cpu(cpu, HK_TYPE_TICK) ||
72 cpuset_cpu_is_isolated(cpu);
/linux-master/arch/x86/lib/
H A Dcache-smp.c11 void wbinvd_on_cpu(int cpu) argument
13 smp_call_function_single(cpu, __wbinvd, NULL, 1);
/linux-master/arch/riscv/include/asm/
H A Dcpu_ops.h16 * @cpu_start: Boots a cpu into the kernel.
17 * @cpu_stop: Makes a cpu leave the kernel. Must not fail. Called from
18 * the cpu being stopped.
19 * @cpu_is_stopped: Ensures a cpu has left the kernel. Called from another
20 * cpu.
23 int (*cpu_start)(unsigned int cpu,
27 int (*cpu_is_stopped)(unsigned int cpu);
/linux-master/arch/loongarch/kernel/
H A Delf.c12 #include <asm/cpu-features.h>
13 #include <asm/cpu-info.h>
/linux-master/arch/x86/kvm/vmx/
H A Dposted_intr.h6 void vmx_vcpu_pi_load(struct kvm_vcpu *vcpu, int cpu);
9 void __init pi_init_cpu(int cpu);
/linux-master/arch/sh/mm/
H A Dtlbflush_32.c17 unsigned int cpu = smp_processor_id(); local
19 if (vma->vm_mm && cpu_context(cpu, vma->vm_mm) != NO_CONTEXT) {
24 asid = cpu_asid(cpu, vma->vm_mm);
43 unsigned int cpu = smp_processor_id(); local
45 if (cpu_context(cpu, mm) != NO_CONTEXT) {
52 cpu_context(cpu, mm) = NO_CONTEXT;
54 activate_context(mm, cpu);
59 asid = cpu_asid(cpu, mm);
80 unsigned int cpu = smp_processor_id(); local
92 asid = cpu_asid(cpu,
108 unsigned int cpu = smp_processor_id(); local
[all...]
/linux-master/tools/perf/dlfilters/
H A Ddlfilter-show-cycles.c82 __s32 cpu = sample->cpu; local
91 if (cpu >= 0 && cpu < MAX_CPU)
92 cycles[cpu][pos] += sample->cyc_cnt;
108 __s32 cpu = sample->cpu; local
114 if (cpu >= 0 && cpu < MAX_CPU) {
115 print_vals(cycles[cpu][po
[all...]
/linux-master/drivers/power/reset/
H A Dsc27xx-poweroff.c7 #include <linux/cpu.h>
34 int cpu; local
36 for_each_online_cpu(cpu) {
37 if (cpu != smp_processor_id())
38 remove_cpu(cpu);
/linux-master/tools/testing/selftests/powerpc/dscr/
H A Ddscr_sysfs_thread_test.c23 printf("[cpu %d] Kernel DSCR should be %ld but is %ld\n",
29 printf("[cpu %d] User DSCR should be %ld but is %ld\n",
39 int cpu; local
41 for (cpu = 0; cpu < CPU_SETSIZE; cpu++) {
43 CPU_SET(cpu, &mask);
/linux-master/include/linux/clk/
H A Dtegra.h33 void (*wait_for_reset)(u32 cpu);
34 void (*put_in_reset)(u32 cpu);
35 void (*out_of_reset)(u32 cpu);
36 void (*enable_clock)(u32 cpu);
37 void (*disable_clock)(u32 cpu);
48 static inline void tegra_wait_cpu_in_reset(u32 cpu) argument
53 tegra_cpu_car_ops->wait_for_reset(cpu);
56 static inline void tegra_put_cpu_in_reset(u32 cpu) argument
61 tegra_cpu_car_ops->put_in_reset(cpu);
64 static inline void tegra_cpu_out_of_reset(u32 cpu) argument
72 tegra_enable_cpu_clock(u32 cpu) argument
80 tegra_disable_cpu_clock(u32 cpu) argument
88 tegra_wait_cpu_in_reset(u32 cpu) argument
92 tegra_put_cpu_in_reset(u32 cpu) argument
96 tegra_cpu_out_of_reset(u32 cpu) argument
100 tegra_enable_cpu_clock(u32 cpu) argument
104 tegra_disable_cpu_clock(u32 cpu) argument
[all...]
/linux-master/drivers/soc/fsl/qbman/
H A Dbman_portal.c44 dev_crit(pcfg->dev, "%s: Portal failure on cpu %d\n",
45 __func__, pcfg->cpu);
50 affine_bportals[pcfg->cpu] = p;
52 dev_info(pcfg->dev, "Portal initialised, cpu %d\n", pcfg->cpu);
57 static int bman_offline_cpu(unsigned int cpu) argument
59 struct bman_portal *p = affine_bportals[cpu];
70 cpu = cpumask_any_but(cpu_online_mask, cpu);
71 irq_set_affinity(pcfg->irq, cpumask_of(cpu));
75 bman_online_cpu(unsigned int cpu) argument
103 int irq, cpu, err, i; local
[all...]
/linux-master/kernel/time/
H A Dtick-broadcast.c10 #include <linux/cpu.h>
39 static void tick_broadcast_clear_oneshot(int cpu);
42 static void tick_broadcast_oneshot_offline(unsigned int cpu);
47 static inline void tick_broadcast_clear_oneshot(int cpu) { } argument
50 static inline void tick_broadcast_oneshot_offline(unsigned int cpu) { } argument
67 static struct clock_event_device *tick_get_oneshot_wakeup_device(int cpu);
69 const struct clock_event_device *tick_get_wakeup_device(int cpu) argument
71 return tick_get_oneshot_wakeup_device(cpu);
102 static struct clock_event_device *tick_get_oneshot_wakeup_device(int cpu) argument
104 return per_cpu(tick_oneshot_wakeup_device, cpu);
116 tick_set_oneshot_wakeup_device(struct clock_event_device *newdev, int cpu) argument
148 tick_get_oneshot_wakeup_device(int cpu) argument
153 tick_set_oneshot_wakeup_device(struct clock_event_device *newdev, int cpu) argument
163 tick_install_broadcast_device(struct clock_event_device *dev, int cpu) argument
247 tick_device_uses_broadcast(struct clock_event_device *dev, int cpu) argument
348 int cpu = smp_processor_id(); local
442 int cpu, bc_stopped; local
537 tick_broadcast_offline(unsigned int cpu) argument
651 tick_broadcast_set_event(struct clock_event_device *bc, int cpu, ktime_t expires) argument
694 int cpu, next_cpu = 0; local
770 broadcast_needs_cpu(struct clock_event_device *bc, int cpu) argument
796 ___tick_broadcast_oneshot_control(enum tick_broadcast_state state, struct tick_device *td, int cpu) argument
934 tick_oneshot_wakeup_control(enum tick_broadcast_state state, struct tick_device *td, int cpu) argument
966 int cpu = smp_processor_id(); local
986 tick_broadcast_clear_oneshot(int cpu) argument
996 int cpu; local
1027 int cpu = smp_processor_id(); local
1160 tick_broadcast_oneshot_offline(unsigned int cpu) argument
[all...]
/linux-master/arch/x86/kernel/fpu/
H A Dcontext.h36 static inline int fpregs_state_valid(struct fpu *fpu, unsigned int cpu) argument
38 return fpu == this_cpu_read(fpu_fpregs_owner_ctx) && cpu == fpu->last_cpu;
57 int cpu = smp_processor_id(); local
62 if (!fpregs_state_valid(fpu, cpu)) {
77 fpu->last_cpu = cpu;
/linux-master/arch/riscv/kernel/
H A Dtime.c22 struct device_node *cpu; local
28 cpu = of_find_node_by_path("/cpus");
29 if (!cpu || of_property_read_u32(cpu, "timebase-frequency", &prop))
32 of_node_put(cpu);

Completed in 221 milliseconds

<<11121314151617181920>>