| /OK3568_Linux_fs/kernel/arch/x86/include/asm/trace/ |
| H A D | irq_vectors.h | 156 unsigned int prev_cpu), 158 TP_ARGS(irq, vector, cpu, prev_vector, prev_cpu), 165 __field( unsigned int, prev_cpu ) 173 __entry->prev_cpu = prev_cpu; 179 __entry->prev_vector, __entry->prev_cpu) 186 unsigned int prev_cpu), \ 187 TP_ARGS(irq, vector, cpu, prev_vector, prev_cpu), NULL, NULL); \
|
| /OK3568_Linux_fs/kernel/drivers/soc/rockchip/ |
| H A D | rockchip_performance.c | 145 int rockchip_perf_select_rt_cpu(int prev_cpu, struct cpumask *lowest_mask) in rockchip_perf_select_rt_cpu() argument 151 return prev_cpu; in rockchip_perf_select_rt_cpu() 159 if (cpumask_test_cpu(prev_cpu, &target_mask)) in rockchip_perf_select_rt_cpu() 160 return prev_cpu; in rockchip_perf_select_rt_cpu() 168 return prev_cpu; in rockchip_perf_select_rt_cpu()
|
| /OK3568_Linux_fs/kernel/include/soc/rockchip/ |
| H A D | rockchip_performance.h | 18 extern int rockchip_perf_select_rt_cpu(int prev_cpu, struct cpumask *lowest_mask); 25 static inline int rockchip_perf_select_rt_cpu(int prev_cpu, struct cpumask *lowest_mask) in rockchip_perf_select_rt_cpu() argument 27 return prev_cpu; in rockchip_perf_select_rt_cpu()
|
| /OK3568_Linux_fs/kernel/include/trace/hooks/ |
| H A D | sched.h | 33 TP_PROTO(struct task_struct *p, int prev_cpu, int sd_flag, int wake_flags, int *new_cpu), 34 TP_ARGS(p, prev_cpu, sd_flag, wake_flags, new_cpu), 1); 37 TP_PROTO(struct task_struct *p, int prev_cpu, int sd_flag, int wake_flags, int *new_cpu), 38 TP_ARGS(p, prev_cpu, sd_flag, wake_flags, new_cpu), 1); 131 TP_PROTO(struct task_struct *p, int prev_cpu, int sync, int *new_cpu), 132 TP_ARGS(p, prev_cpu, sync, new_cpu), 1);
|
| /OK3568_Linux_fs/kernel/arch/sparc/kernel/ |
| H A D | cpumap.c | 193 int n, id, cpu, prev_cpu, last_cpu, level; in build_cpuinfo_tree() local 204 prev_cpu = cpu = cpumask_first(cpu_online_mask); in build_cpuinfo_tree() 268 (cpu == last_cpu) ? cpu : prev_cpu; in build_cpuinfo_tree() 290 prev_cpu = cpu; in build_cpuinfo_tree()
|
| /OK3568_Linux_fs/kernel/arch/x86/kernel/apic/ |
| H A D | vector.c | 31 unsigned int prev_cpu; member 163 apicd->prev_cpu = apicd->cpu; in apic_update_vector() 346 apicd->prev_cpu); in clear_irq_vector() 357 per_cpu(vector_irq, apicd->prev_cpu)[vector] = VECTOR_SHUTDOWN; in clear_irq_vector() 358 irq_matrix_free(vector_matrix, apicd->prev_cpu, vector, managed); in clear_irq_vector() 633 seq_printf(m, "%*sPrevious target: %5u\n", ind, "", apicd.prev_cpu); in x86_vector_debug_show() 858 unsigned int cpu = apicd->prev_cpu; in free_moved_vector() 918 cpu = apicd->prev_cpu; in __send_cleanup_vector()
|
| /OK3568_Linux_fs/kernel/kernel/sched/ |
| H A D | fair.c | 754 static int select_idle_sibling(struct task_struct *p, int prev_cpu, int cpu); 5877 wake_affine_idle(int this_cpu, int prev_cpu, int sync) in wake_affine_idle() argument 5891 if (available_idle_cpu(this_cpu) && cpus_share_cache(this_cpu, prev_cpu)) in wake_affine_idle() 5892 return available_idle_cpu(prev_cpu) ? prev_cpu : this_cpu; in wake_affine_idle() 5902 int this_cpu, int prev_cpu, int sync) in wake_affine_weight() argument 5923 this_eff_load *= capacity_of(prev_cpu); in wake_affine_weight() 5925 prev_eff_load = cpu_load(cpu_rq(prev_cpu)); in wake_affine_weight() 5944 int this_cpu, int prev_cpu, int sync) in wake_affine() argument 5949 target = wake_affine_idle(this_cpu, prev_cpu, sync); in wake_affine() 5952 target = wake_affine_weight(sd, p, this_cpu, prev_cpu, sync); in wake_affine() [all …]
|
| /OK3568_Linux_fs/kernel/arch/powerpc/kvm/ |
| H A D | book3s_hv.c | 2428 vcpu->arch.prev_cpu = -1; in kvmppc_core_vcpu_create_hv() 2608 int prev_cpu; in kvmppc_prepare_radix_vcpu() local 2614 prev_cpu = nested->prev_cpu[vcpu->arch.nested_vcpu_id]; in kvmppc_prepare_radix_vcpu() 2616 prev_cpu = vcpu->arch.prev_cpu; in kvmppc_prepare_radix_vcpu() 2630 if (prev_cpu != pcpu) { in kvmppc_prepare_radix_vcpu() 2631 if (prev_cpu >= 0 && in kvmppc_prepare_radix_vcpu() 2632 cpu_first_tlb_thread_sibling(prev_cpu) != in kvmppc_prepare_radix_vcpu() 2634 radix_flush_cpu(kvm, prev_cpu, vcpu); in kvmppc_prepare_radix_vcpu() 2636 nested->prev_cpu[vcpu->arch.nested_vcpu_id] = pcpu; in kvmppc_prepare_radix_vcpu() 2638 vcpu->arch.prev_cpu = pcpu; in kvmppc_prepare_radix_vcpu()
|
| H A D | book3s_hv_nested.c | 613 memset(gp->prev_cpu, -1, sizeof(gp->prev_cpu)); in kvmhv_alloc_nested()
|
| /OK3568_Linux_fs/kernel/Documentation/scheduler/ |
| H A D | sched-energy.rst | 138 save energy compared to leaving it on prev_cpu, i.e. the CPU where the task ran 156 and prev_cpu = 0. 228 **Case 3. P stays on prev_cpu / CPU 0**::
|
| /OK3568_Linux_fs/kernel/arch/powerpc/include/asm/ |
| H A D | kvm_book3s_64.h | 47 short prev_cpu[NR_CPUS]; member
|
| H A D | kvm_host.h | 765 int prev_cpu; member
|
| /OK3568_Linux_fs/kernel/drivers/irqchip/ |
| H A D | irq-gic-v3-its.c | 1641 int cpu, prev_cpu; in its_set_affinity() local 1647 prev_cpu = its_dev->event_map.col_map[id]; in its_set_affinity() 1648 its_dec_lpi_count(d, prev_cpu); in its_set_affinity() 1659 if (cpu != prev_cpu) { in its_set_affinity() 1671 its_inc_lpi_count(d, prev_cpu); in its_set_affinity()
|