Searched refs:this_cpu (Results 1 – 4 of 4) sorted by relevance
133 int this_cpu; in cpuidle_register() local135 this_cpu = sched_getcpu(); in cpuidle_register()138 cpuidle_sysfs_monitor.hw_states_num = cpuidle_state_count(this_cpu); in cpuidle_register()144 tmp = cpuidle_state_name(this_cpu, num); in cpuidle_register()152 tmp = cpuidle_state_desc(this_cpu, num); in cpuidle_register()
1486 int i, this_cpu = sample->cpu; in map_switch_event() local1492 BUG_ON(this_cpu >= MAX_CPUS || this_cpu < 0); in map_switch_event()1494 if (this_cpu > sched->max_cpu) in map_switch_event()1495 sched->max_cpu = this_cpu; in map_switch_event()1499 if (!test_and_set_bit(this_cpu, sched->map.comp_cpus_mask)) { in map_switch_event()1500 sched->map.comp_cpus[cpus_nr++] = this_cpu; in map_switch_event()1506 timestamp0 = sched->cpu_last_switched[this_cpu]; in map_switch_event()1507 sched->cpu_last_switched[this_cpu] = timestamp; in map_switch_event()1522 sched->curr_thread[this_cpu] = thread__get(sched_in); in map_switch_event()1567 if (cpu != this_cpu) in map_switch_event()[all …]
1214 int this_cpu; in worker_thread() local1223 this_cpu = g->threads[task_nr].curr_cpu; in worker_thread()1224 if (this_cpu < g->p.nr_cpus/2) in worker_thread()
2249 int this_cpu; in get_cpu_position_in_core() local2263 fscanf(filep, "%d", &this_cpu); in get_cpu_position_in_core()2264 if (this_cpu == cpu) { in get_cpu_position_in_core()