Home
last modified time | relevance | path

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

/drivers/xen/
Dpcpu.c57 struct pcpu { struct
100 struct pcpu *cpu = container_of(dev, struct pcpu, dev); in online_show()
109 struct pcpu *pcpu = container_of(dev, struct pcpu, dev); in online_store() local
121 ret = xen_pcpu_down(pcpu->cpu_id); in online_store()
124 ret = xen_pcpu_up(pcpu->cpu_id); in online_store()
169 struct pcpu *pcpu) in pcpu_online_status() argument
172 !xen_pcpu_online(pcpu->flags)) { in pcpu_online_status()
174 pcpu->flags |= XEN_PCPU_FLAGS_ONLINE; in pcpu_online_status()
175 kobject_uevent(&pcpu->dev.kobj, KOBJ_ONLINE); in pcpu_online_status()
177 xen_pcpu_online(pcpu->flags)) { in pcpu_online_status()
[all …]
DMakefile15 dom0-$(CONFIG_X86) += pcpu.o
/drivers/gpu/drm/amd/display/amdgpu_dm/
Ddc_fpu.c59 int *pcpu, depth = 0; in dc_assert_fp_enabled() local
61 pcpu = get_cpu_ptr(&fpu_recursion_depth); in dc_assert_fp_enabled()
62 depth = *pcpu; in dc_assert_fp_enabled()
83 int *pcpu; in dc_fpu_begin() local
85 pcpu = get_cpu_ptr(&fpu_recursion_depth); in dc_fpu_begin()
86 *pcpu += 1; in dc_fpu_begin()
88 if (*pcpu == 1) { in dc_fpu_begin()
105 TRACE_DCN_FPU(true, function_name, line, *pcpu); in dc_fpu_begin()
121 int *pcpu; in dc_fpu_end() local
123 pcpu = get_cpu_ptr(&fpu_recursion_depth); in dc_fpu_end()
[all …]
/drivers/crypto/caam/
Dqi.c436 int *pcpu = &get_cpu_var(last_cpu); in caam_drv_ctx_init() local
438 *pcpu = cpumask_next(*pcpu, cpus); in caam_drv_ctx_init()
439 if (*pcpu >= nr_cpu_ids) in caam_drv_ctx_init()
440 *pcpu = cpumask_first(cpus); in caam_drv_ctx_init()
441 *cpu = *pcpu; in caam_drv_ctx_init()
/drivers/base/
Ddevres.c1192 void __percpu *pcpu; in __devm_alloc_percpu() local
1194 pcpu = __alloc_percpu(size, align); in __devm_alloc_percpu()
1195 if (!pcpu) in __devm_alloc_percpu()
1200 free_percpu(pcpu); in __devm_alloc_percpu()
1204 *(void __percpu **)p = pcpu; in __devm_alloc_percpu()
1208 return pcpu; in __devm_alloc_percpu()
/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_main.c2551 txq_pcpu_aux = per_cpu_ptr(txq->pcpu, thread); in mvpp2_txq_reserved_desc_num_proc()
2892 txq_pcpu = per_cpu_ptr(txq->pcpu, thread); in mvpp2_tx_done()
3153 txq_pcpu = per_cpu_ptr(txq->pcpu, thread); in mvpp2_txq_init()
3190 txq_pcpu = per_cpu_ptr(txq->pcpu, thread); in mvpp2_txq_deinit()
3260 txq_pcpu = per_cpu_ptr(txq->pcpu, thread); in mvpp2_txq_clean()
3648 txq_pcpu = per_cpu_ptr(txq->pcpu, thread); in mvpp2_xdp_finish_tx()
3684 txq_pcpu = per_cpu_ptr(txq->pcpu, thread); in mvpp2_xdp_submit_frame()
4082 struct mvpp2_txq_pcpu *txq_pcpu = per_cpu_ptr(txq->pcpu, thread); in tx_desc_unmap_put()
4188 struct mvpp2_txq_pcpu *txq_pcpu = per_cpu_ptr(txq->pcpu, thread); in mvpp2_tx_frag_process()
4369 txq_pcpu = per_cpu_ptr(txq->pcpu, thread); in mvpp2_tx()
[all …]
Dmvpp2.h1215 struct mvpp2_port_pcpu __percpu *pcpu; member
1444 struct mvpp2_txq_pcpu __percpu *pcpu; member
/drivers/acpi/
Dacpi_processor.c154 phys_cpuid_t physid, u32 acpi_id, int *pcpu) in acpi_map_cpu() argument