Home
last modified time | relevance | path

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

/Linux-v5.4/arch/x86/platform/uv/
Duv_time.c155 int bcpu = uv_cpu_blade_processor_id(cpu); in uv_rtc_allocate_timers() local
173 head->cpu[bcpu].lcpu = cpu; in uv_rtc_allocate_timers()
174 head->cpu[bcpu].expires = ULLONG_MAX; in uv_rtc_allocate_timers()
184 int c, bcpu = -1; in uv_rtc_find_next_timer() local
190 bcpu = c; in uv_rtc_find_next_timer()
194 if (bcpu >= 0) { in uv_rtc_find_next_timer()
195 head->next_cpu = bcpu; in uv_rtc_find_next_timer()
196 c = head->cpu[bcpu].lcpu; in uv_rtc_find_next_timer()
216 int bcpu = uv_cpu_blade_processor_id(cpu); in uv_rtc_set_timer() local
217 u64 *t = &head->cpu[bcpu].expires; in uv_rtc_set_timer()
[all …]
/Linux-v5.4/arch/alpha/kernel/
Dsys_titan.c65 register int bcpu = boot_cpuid; in titan_update_irq_hw() local
79 if (bcpu == 0) mask0 |= isa_enable; in titan_update_irq_hw()
80 else if (bcpu == 1) mask1 |= isa_enable; in titan_update_irq_hw()
81 else if (bcpu == 2) mask2 |= isa_enable; in titan_update_irq_hw()
105 if (bcpu == 1) dimB = &cchip->dim1.csr; in titan_update_irq_hw()
106 else if (bcpu == 2) dimB = &cchip->dim2.csr; in titan_update_irq_hw()
107 else if (bcpu == 3) dimB = &cchip->dim3.csr; in titan_update_irq_hw()
Dsys_dp264.c52 register int bcpu = boot_cpuid; in tsunami_update_irq_hw() local
64 if (bcpu == 0) mask0 |= isa_enable; in tsunami_update_irq_hw()
65 else if (bcpu == 1) mask1 |= isa_enable; in tsunami_update_irq_hw()
66 else if (bcpu == 2) mask2 |= isa_enable; in tsunami_update_irq_hw()
89 if (bcpu == 0) dimB = &cchip->dim0.csr; in tsunami_update_irq_hw()
90 else if (bcpu == 1) dimB = &cchip->dim1.csr; in tsunami_update_irq_hw()
91 else if (bcpu == 2) dimB = &cchip->dim2.csr; in tsunami_update_irq_hw()
/Linux-v5.4/net/core/
Dgen_stats.c124 struct gnet_stats_basic_cpu *bcpu = per_cpu_ptr(cpu, i); in __gnet_stats_copy_basic_cpu() local
130 start = u64_stats_fetch_begin_irq(&bcpu->syncp); in __gnet_stats_copy_basic_cpu()
131 bytes = bcpu->bstats.bytes; in __gnet_stats_copy_basic_cpu()
132 packets = bcpu->bstats.packets; in __gnet_stats_copy_basic_cpu()
133 } while (u64_stats_fetch_retry_irq(&bcpu->syncp, start)); in __gnet_stats_copy_basic_cpu()