Home
last modified time | relevance | path

Searched refs:tcpu (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/mm/
Dpercpu-vm.c86 unsigned int cpu, tcpu; in pcpu_alloc_pages() local
106 for_each_possible_cpu(tcpu) { in pcpu_alloc_pages()
107 if (tcpu == cpu) in pcpu_alloc_pages()
110 __free_page(pages[pcpu_page_idx(tcpu, i)]); in pcpu_alloc_pages()
217 unsigned int cpu, tcpu; in pcpu_map_pages() local
233 for_each_possible_cpu(tcpu) { in pcpu_map_pages()
234 if (tcpu == cpu) in pcpu_map_pages()
236 __pcpu_unmap_pages(pcpu_chunk_addr(chunk, tcpu, page_start), in pcpu_map_pages()
Dpercpu.c2865 unsigned int cpu, tcpu; in pcpu_build_alloc_info() local
2904 for_each_cpu(tcpu, &mask) { in pcpu_build_alloc_info()
2906 (cpu_distance_fn(cpu, tcpu) == LOCAL_DISTANCE && in pcpu_build_alloc_info()
2907 cpu_distance_fn(tcpu, cpu) == LOCAL_DISTANCE)) { in pcpu_build_alloc_info()
2908 group_map[tcpu] = group; in pcpu_build_alloc_info()
2910 cpumask_clear_cpu(tcpu, &mask); in pcpu_build_alloc_info()
/linux-6.1.9/arch/s390/kvm/
Ddiag.c168 struct kvm_vcpu *tcpu; in __diag_time_slice_end_directed() local
179 tcpu = kvm_get_vcpu_by_id(vcpu->kvm, tid); in __diag_time_slice_end_directed()
180 if (!tcpu) in __diag_time_slice_end_directed()
184 if (READ_ONCE(tcpu->cpu) >= 0) { in __diag_time_slice_end_directed()
189 if (!vcpu_is_preempted(tcpu->cpu)) in __diag_time_slice_end_directed()
191 smp_yield_cpu(tcpu->cpu); in __diag_time_slice_end_directed()
199 if (kvm_vcpu_yield_to(tcpu) <= 0) in __diag_time_slice_end_directed()
/linux-6.1.9/drivers/media/pci/b2c2/
Dflexcop-dma.c12 u8 *tcpu; in flexcop_dma_allocate() local
20 tcpu = dma_alloc_coherent(&pdev->dev, size, &tdma, GFP_KERNEL); in flexcop_dma_allocate()
21 if (tcpu != NULL) { in flexcop_dma_allocate()
23 dma->cpu_addr0 = tcpu; in flexcop_dma_allocate()
25 dma->cpu_addr1 = tcpu + size/2; in flexcop_dma_allocate()
/linux-6.1.9/arch/x86/platform/uv/
Duv_nmi.c800 int tcpu; in uv_nmi_dump_state() local
810 for_each_online_cpu(tcpu) { in uv_nmi_dump_state()
811 if (cpumask_test_cpu(tcpu, uv_nmi_cpu_mask)) in uv_nmi_dump_state()
813 else if (tcpu == cpu) in uv_nmi_dump_state()
814 uv_nmi_dump_state_cpu(tcpu, regs); in uv_nmi_dump_state()
816 uv_nmi_trigger_dump(tcpu); in uv_nmi_dump_state()
/linux-6.1.9/include/xen/
Devents.h78 int xen_set_affinity_evtchn(struct irq_desc *desc, unsigned int tcpu);
/linux-6.1.9/drivers/xen/events/
Devents_base.c1791 static int xen_rebind_evtchn_to_cpu(struct irq_info *info, unsigned int tcpu) in xen_rebind_evtchn_to_cpu() argument
1804 bind_vcpu.vcpu = xen_vcpu_nr(tcpu); in xen_rebind_evtchn_to_cpu()
1818 bind_evtchn_to_cpu(evtchn, tcpu, false); in xen_rebind_evtchn_to_cpu()
1856 unsigned int tcpu = select_target_cpu(dest); in set_affinity_irq() local
1859 ret = xen_rebind_evtchn_to_cpu(info_for_irq(data->irq), tcpu); in set_affinity_irq()
1861 irq_data_update_effective_affinity(data, cpumask_of(tcpu)); in set_affinity_irq()
/linux-6.1.9/net/core/
Ddev.c4447 u32 tcpu; in get_rps_cpu() local
4492 tcpu = rflow->cpu; in get_rps_cpu()
4505 if (unlikely(tcpu != next_cpu) && in get_rps_cpu()
4506 (tcpu >= nr_cpu_ids || !cpu_online(tcpu) || in get_rps_cpu()
4507 ((int)(per_cpu(softnet_data, tcpu).input_queue_head - in get_rps_cpu()
4509 tcpu = next_cpu; in get_rps_cpu()
4513 if (tcpu < nr_cpu_ids && cpu_online(tcpu)) { in get_rps_cpu()
4515 cpu = tcpu; in get_rps_cpu()
4523 tcpu = map->cpus[reciprocal_scale(hash, map->len)]; in get_rps_cpu()
4524 if (cpu_online(tcpu)) { in get_rps_cpu()
[all …]
/linux-6.1.9/Documentation/ia64/
Derr_inject.rst964 …printf("\t\tcpu,loop,interval,err_type_info,err_struct_info[,err_data_buffer[0],err_data_buffer[1]…