Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/mm/
Dpercpu-vm.c85 unsigned int cpu, tcpu; in pcpu_alloc_pages() local
105 for_each_possible_cpu(tcpu) { in pcpu_alloc_pages()
106 if (tcpu == cpu) in pcpu_alloc_pages()
109 __free_page(pages[pcpu_page_idx(tcpu, i)]); in pcpu_alloc_pages()
216 unsigned int cpu, tcpu; in pcpu_map_pages() local
232 for_each_possible_cpu(tcpu) { in pcpu_map_pages()
233 if (tcpu == cpu) in pcpu_map_pages()
235 __pcpu_unmap_pages(pcpu_chunk_addr(chunk, tcpu, page_start), in pcpu_map_pages()
Dpercpu.c2677 unsigned int cpu, tcpu; in pcpu_build_alloc_info() local
2709 for_each_possible_cpu(tcpu) { in pcpu_build_alloc_info()
2710 if (cpu == tcpu) in pcpu_build_alloc_info()
2712 if (group_map[tcpu] == group && cpu_distance_fn && in pcpu_build_alloc_info()
2713 (cpu_distance_fn(cpu, tcpu) > LOCAL_DISTANCE || in pcpu_build_alloc_info()
2714 cpu_distance_fn(tcpu, cpu) > LOCAL_DISTANCE)) { in pcpu_build_alloc_info()
/kernel/linux/linux-5.10/drivers/media/pci/b2c2/
Dflexcop-dma.c12 u8 *tcpu; in flexcop_dma_allocate() local
20 tcpu = pci_alloc_consistent(pdev, size, &tdma); 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()
/kernel/linux/linux-5.10/arch/s390/kvm/
Ddiag.c155 struct kvm_vcpu *tcpu; in __diag_time_slice_end_directed() local
166 tcpu = kvm_get_vcpu_by_id(vcpu->kvm, tid); in __diag_time_slice_end_directed()
167 if (!tcpu) in __diag_time_slice_end_directed()
171 if (READ_ONCE(tcpu->cpu) >= 0) in __diag_time_slice_end_directed()
174 if (kvm_vcpu_yield_to(tcpu) <= 0) in __diag_time_slice_end_directed()
/kernel/linux/linux-5.10/arch/x86/platform/uv/
Duv_nmi.c796 int tcpu; in uv_nmi_dump_state() local
806 for_each_online_cpu(tcpu) { in uv_nmi_dump_state()
807 if (cpumask_test_cpu(tcpu, uv_nmi_cpu_mask)) in uv_nmi_dump_state()
809 else if (tcpu == cpu) in uv_nmi_dump_state()
810 uv_nmi_dump_state_cpu(tcpu, regs); in uv_nmi_dump_state()
812 uv_nmi_trigger_dump(tcpu); in uv_nmi_dump_state()
/kernel/linux/linux-5.10/include/trace/events/
Dwalt.h212 __field(int, tcpu)
226 __entry->tcpu = task_cpu(p);
248 __entry->pid, __entry->tcpu, migrate_type_names[__entry->migrate_type],
/kernel/linux/linux-5.10/include/xen/
Devents.h76 int xen_set_affinity_evtchn(struct irq_desc *desc, unsigned int tcpu);
/kernel/linux/linux-5.10/drivers/xen/events/
Devents_base.c1716 static int xen_rebind_evtchn_to_cpu(struct irq_info *info, unsigned int tcpu) in xen_rebind_evtchn_to_cpu() argument
1729 bind_vcpu.vcpu = xen_vcpu_nr(tcpu); in xen_rebind_evtchn_to_cpu()
1743 bind_evtchn_to_cpu(evtchn, tcpu); in xen_rebind_evtchn_to_cpu()
1753 unsigned tcpu = cpumask_first_and(dest, cpu_online_mask); in set_affinity_irq() local
1754 int ret = xen_rebind_evtchn_to_cpu(info_for_irq(data->irq), tcpu); in set_affinity_irq()
1757 irq_data_update_effective_affinity(data, cpumask_of(tcpu)); in set_affinity_irq()
1763 int xen_set_affinity_evtchn(struct irq_desc *desc, unsigned int tcpu) in xen_set_affinity_evtchn() argument
1767 return set_affinity_irq(d, cpumask_of(tcpu), false); in xen_set_affinity_evtchn()
/kernel/linux/linux-5.10/net/core/
Ddev.c4350 u32 tcpu; in get_rps_cpu() local
4395 tcpu = rflow->cpu; in get_rps_cpu()
4408 if (unlikely(tcpu != next_cpu) && in get_rps_cpu()
4409 (tcpu >= nr_cpu_ids || !cpu_online(tcpu) || in get_rps_cpu()
4410 ((int)(per_cpu(softnet_data, tcpu).input_queue_head - in get_rps_cpu()
4412 tcpu = next_cpu; in get_rps_cpu()
4416 if (tcpu < nr_cpu_ids && cpu_online(tcpu)) { in get_rps_cpu()
4418 cpu = tcpu; in get_rps_cpu()
4426 tcpu = map->cpus[reciprocal_scale(hash, map->len)]; in get_rps_cpu()
4427 if (cpu_online(tcpu)) { in get_rps_cpu()
[all …]
/kernel/linux/linux-5.10/Documentation/ia64/
Derr_inject.rst964 …printf("\t\tcpu,loop,interval,err_type_info,err_struct_info[,err_data_buffer[0],err_data_buffer[1]…