/openbmc/linux/mm/ |
H A D | percpu-vm.c | 86 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()
|
H A D | percpu.c | 2850 unsigned int cpu, tcpu; in pcpu_build_alloc_info() local 2889 for_each_cpu(tcpu, &mask) { in pcpu_build_alloc_info() 2891 (cpu_distance_fn(cpu, tcpu) == LOCAL_DISTANCE && in pcpu_build_alloc_info() 2892 cpu_distance_fn(tcpu, cpu) == LOCAL_DISTANCE)) { in pcpu_build_alloc_info() 2893 group_map[tcpu] = group; in pcpu_build_alloc_info() 2895 cpumask_clear_cpu(tcpu, &mask); in pcpu_build_alloc_info()
|
/openbmc/linux/drivers/media/pci/b2c2/ |
H A D | flexcop-dma.c | 12 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()
|
/openbmc/linux/arch/s390/kvm/ |
H A D | diag.c | 168 struct kvm_vcpu *tcpu; in __diag_time_slice_end_directed() local 180 tcpu = kvm_get_vcpu_by_id(vcpu->kvm, tid); in __diag_time_slice_end_directed() 181 if (!tcpu) in __diag_time_slice_end_directed() 185 tcpu_cpu = READ_ONCE(tcpu->cpu); in __diag_time_slice_end_directed() 201 if (kvm_vcpu_yield_to(tcpu) <= 0) in __diag_time_slice_end_directed()
|
/openbmc/qemu/hw/ppc/ |
H A D | spapr_hcall.c | 454 PowerPCCPU *tcpu; in h_register_vpa() local 456 tcpu = spapr_find_cpu(procno); in h_register_vpa() 457 if (!tcpu) { in h_register_vpa() 463 ret = register_vpa(tcpu, vpa); in h_register_vpa() 467 ret = deregister_vpa(tcpu, vpa); in h_register_vpa() 471 ret = register_slb_shadow(tcpu, vpa); in h_register_vpa() 475 ret = deregister_slb_shadow(tcpu, vpa); in h_register_vpa() 479 ret = register_dtl(tcpu, vpa); in h_register_vpa() 483 ret = deregister_dtl(tcpu, vpa); in h_register_vpa() 632 PowerPCCPU *tcpu; in h_prod() local [all …]
|
H A D | spapr_numa.c | 601 PowerPCCPU *tcpu; in h_home_node_associativity() local 610 tcpu = spapr_find_cpu(procno); in h_home_node_associativity() 611 if (tcpu == NULL) { in h_home_node_associativity() 624 vcpu_assoc = spapr_numa_get_vcpu_assoc(spapr, tcpu); in h_home_node_associativity()
|
/openbmc/linux/arch/x86/platform/uv/ |
H A D | uv_nmi.c | 796 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()
|
/openbmc/linux/drivers/xen/events/ |
H A D | events_base.c | 1776 static int xen_rebind_evtchn_to_cpu(struct irq_info *info, unsigned int tcpu) in xen_rebind_evtchn_to_cpu() argument 1789 bind_vcpu.vcpu = xen_vcpu_nr(tcpu); in xen_rebind_evtchn_to_cpu() 1803 bind_evtchn_to_cpu(info, tcpu, false); in xen_rebind_evtchn_to_cpu() 1841 unsigned int tcpu = select_target_cpu(dest); in set_affinity_irq() local 1844 ret = xen_rebind_evtchn_to_cpu(info_for_irq(data->irq), tcpu); in set_affinity_irq() 1846 irq_data_update_effective_affinity(data, cpumask_of(tcpu)); in set_affinity_irq()
|
/openbmc/linux/net/core/ |
H A D | dev.c | 4578 u32 tcpu; in get_rps_cpu() local 4625 tcpu = rflow->cpu; in get_rps_cpu() 4638 if (unlikely(tcpu != next_cpu) && in get_rps_cpu() 4639 (tcpu >= nr_cpu_ids || !cpu_online(tcpu) || in get_rps_cpu() 4640 ((int)(per_cpu(softnet_data, tcpu).input_queue_head - in get_rps_cpu() 4642 tcpu = next_cpu; in get_rps_cpu() 4646 if (tcpu < nr_cpu_ids && cpu_online(tcpu)) { in get_rps_cpu() 4648 cpu = tcpu; in get_rps_cpu() 4656 tcpu = map->cpus[reciprocal_scale(hash, map->len)]; in get_rps_cpu() 4657 if (cpu_online(tcpu)) { in get_rps_cpu() [all …]
|
/openbmc/linux/kernel/ |
H A D | workqueue.c | 5594 int tcpu; in workqueue_offline_cpu() 5596 for_each_cpu(tcpu, pt->pod_cpus[pt->cpu_pod[cpu]]) in workqueue_offline_cpu() 5597 wq_update_pod(wq, tcpu, cpu, true); in workqueue_offline_cpu() 5622 int tcpu; in work_for_cpu_fn() 5624 for_each_cpu(tcpu, pt->pod_cpus[pt->cpu_pod[cpu]]) 5625 wq_update_pod(wq, tcpu, cpu, false); 5572 int tcpu; workqueue_online_cpu() local 5600 int tcpu; workqueue_offline_cpu() local
|
/openbmc/linux/Documentation/arch/ia64/ |
H A D | err_inject.rst | 964 …printf("\t\tcpu,loop,interval,err_type_info,err_struct_info[,err_data_buffer[0],err_data_buffer[1]…
|