Searched refs:pcpu (Results 1 – 4 of 4) sorted by relevance
/drivers/xen/ |
D | pcpu.c | 57 struct pcpu { struct 99 struct pcpu *cpu = container_of(dev, struct pcpu, dev); in show_online() 108 struct pcpu *pcpu = container_of(dev, struct pcpu, dev); in store_online() local 120 ret = xen_pcpu_down(pcpu->cpu_id); in store_online() 123 ret = xen_pcpu_up(pcpu->cpu_id); in store_online() 141 struct pcpu *pcpu) in pcpu_online_status() argument 144 !xen_pcpu_online(pcpu->flags)) { in pcpu_online_status() 146 pcpu->flags |= XEN_PCPU_FLAGS_ONLINE; in pcpu_online_status() 147 kobject_uevent(&pcpu->dev.kobj, KOBJ_ONLINE); in pcpu_online_status() 149 xen_pcpu_online(pcpu->flags)) { in pcpu_online_status() [all …]
|
D | Makefile | 18 dom0-$(CONFIG_X86) += pcpu.o
|
/drivers/cpufreq/ |
D | cpufreq_interactive.c | 125 struct cpufreq_interactive_cpuinfo *pcpu) in cpufreq_interactive_timer_resched() argument 128 pcpu->policy->governor_data; in cpufreq_interactive_timer_resched() 132 spin_lock_irqsave(&pcpu->load_lock, flags); in cpufreq_interactive_timer_resched() 133 pcpu->time_in_idle = in cpufreq_interactive_timer_resched() 135 &pcpu->time_in_idle_timestamp, in cpufreq_interactive_timer_resched() 137 pcpu->cputime_speedadj = 0; in cpufreq_interactive_timer_resched() 138 pcpu->cputime_speedadj_timestamp = pcpu->time_in_idle_timestamp; in cpufreq_interactive_timer_resched() 140 mod_timer_pinned(&pcpu->cpu_timer, expires); in cpufreq_interactive_timer_resched() 143 pcpu->target_freq > pcpu->policy->min) { in cpufreq_interactive_timer_resched() 145 mod_timer_pinned(&pcpu->cpu_slack_timer, expires); in cpufreq_interactive_timer_resched() [all …]
|
/drivers/net/ethernet/marvell/ |
D | mvpp2.c | 800 struct mvpp2_txq_pcpu __percpu *pcpu; member 4217 txq_pcpu_aux = per_cpu_ptr(txq->pcpu, cpu); in mvpp2_txq_reserved_desc_num_proc() 4647 txq_pcpu = per_cpu_ptr(txq->pcpu, cpu); in mvpp2_txq_init() 4676 txq_pcpu = per_cpu_ptr(txq->pcpu, cpu); in mvpp2_txq_deinit() 4732 txq_pcpu = per_cpu_ptr(txq->pcpu, cpu); in mvpp2_txq_clean() 5120 struct mvpp2_txq_pcpu *txq_pcpu = this_cpu_ptr(txq->pcpu); in mvpp2_tx_frag_process() 5183 txq_pcpu = this_cpu_ptr(txq->pcpu); in mvpp2_tx() 5303 struct mvpp2_txq_pcpu *txq_pcpu = this_cpu_ptr(txq->pcpu); in mvpp2_txq_done_percpu() 5950 txq->pcpu = alloc_percpu(struct mvpp2_txq_pcpu); in mvpp2_port_init() 5951 if (!txq->pcpu) { in mvpp2_port_init() [all …]
|