Home
last modified time | relevance | path

Searched refs:pcpu (Results 1 – 4 of 4) sorted by relevance

/drivers/xen/
Dpcpu.c55 struct pcpu { struct
97 struct pcpu *cpu = container_of(dev, struct pcpu, dev); in show_online()
106 struct pcpu *pcpu = container_of(dev, struct pcpu, dev); in store_online() local
118 ret = xen_pcpu_down(pcpu->cpu_id); in store_online()
121 ret = xen_pcpu_up(pcpu->cpu_id); in store_online()
139 struct pcpu *pcpu) in pcpu_online_status() argument
142 !xen_pcpu_online(pcpu->flags)) { in pcpu_online_status()
144 pcpu->flags |= XEN_PCPU_FLAGS_ONLINE; in pcpu_online_status()
145 kobject_uevent(&pcpu->dev.kobj, KOBJ_ONLINE); in pcpu_online_status()
147 xen_pcpu_online(pcpu->flags)) { in pcpu_online_status()
[all …]
DMakefile16 dom0-$(CONFIG_X86) += pcpu.o
/drivers/cpufreq/
Dcpufreq_interactive.c164 struct cpufreq_interactive_cpuinfo *pcpu) in cpufreq_interactive_timer_resched() argument
167 pcpu->policy->governor_data; in cpufreq_interactive_timer_resched()
171 spin_lock_irqsave(&pcpu->load_lock, flags); in cpufreq_interactive_timer_resched()
172 pcpu->time_in_idle = in cpufreq_interactive_timer_resched()
174 &pcpu->time_in_idle_timestamp, in cpufreq_interactive_timer_resched()
176 pcpu->cputime_speedadj = 0; in cpufreq_interactive_timer_resched()
177 pcpu->cputime_speedadj_timestamp = pcpu->time_in_idle_timestamp; in cpufreq_interactive_timer_resched()
179 mod_timer_pinned(&pcpu->cpu_timer, expires); in cpufreq_interactive_timer_resched()
182 pcpu->target_freq > pcpu->policy->min) { in cpufreq_interactive_timer_resched()
184 mod_timer_pinned(&pcpu->cpu_slack_timer, expires); in cpufreq_interactive_timer_resched()
[all …]
/drivers/staging/zcache/
Dzcache-main.c801 unsigned long action, void *pcpu) in zcache_cpu_notifier() argument
803 int ret, i, cpu = (long)pcpu; in zcache_cpu_notifier()
1867 void *pcpu = (void *)(long)cpu; in zcache_init() local
1869 CPU_UP_PREPARE, pcpu); in zcache_init()