Lines Matching refs:disp_cpu
270 static int cpu_home_node_dispatch_distance(int disp_cpu) in cpu_home_node_dispatch_distance() argument
275 if (disp_cpu >= NR_CPUS_H) { in cpu_home_node_dispatch_distance()
277 disp_cpu, NR_CPUS_H); in cpu_home_node_dispatch_distance()
281 disp_cpu_assoc = get_pcpu_associativity(disp_cpu); in cpu_home_node_dispatch_distance()
290 static void update_vcpu_disp_stat(int disp_cpu) in update_vcpu_disp_stat() argument
297 disp->last_disp_cpu = disp_cpu; in update_vcpu_disp_stat()
303 if (disp->last_disp_cpu == disp_cpu || in update_vcpu_disp_stat()
305 cpu_first_thread_sibling(disp_cpu))) in update_vcpu_disp_stat()
309 disp_cpu); in update_vcpu_disp_stat()
328 disp_cpu, in update_vcpu_disp_stat()
334 distance = cpu_home_node_dispatch_distance(disp_cpu); in update_vcpu_disp_stat()
352 disp_cpu, in update_vcpu_disp_stat()
357 disp->last_disp_cpu = disp_cpu; in update_vcpu_disp_stat()