Searched refs:this_cpu (Results 1 – 3 of 3) sorted by relevance
145 int this_cpu; in cpuidle_register() local147 this_cpu = sched_getcpu(); in cpuidle_register()150 cpuidle_sysfs_monitor.hw_states_num = cpuidle_state_count(this_cpu); in cpuidle_register()156 tmp = cpuidle_state_name(this_cpu, num); in cpuidle_register()165 tmp = cpuidle_state_desc(this_cpu, num); in cpuidle_register()
1538 int i, this_cpu = sample->cpu; in map_switch_event() local1544 BUG_ON(this_cpu >= MAX_CPUS || this_cpu < 0); in map_switch_event()1546 if (this_cpu > sched->max_cpu) in map_switch_event()1547 sched->max_cpu = this_cpu; in map_switch_event()1551 if (!test_and_set_bit(this_cpu, sched->map.comp_cpus_mask)) { in map_switch_event()1552 sched->map.comp_cpus[cpus_nr++] = this_cpu; in map_switch_event()1558 timestamp0 = sched->cpu_last_switched[this_cpu]; in map_switch_event()1559 sched->cpu_last_switched[this_cpu] = timestamp; in map_switch_event()1580 sched->curr_thread[this_cpu] = thread__get(sched_in); in map_switch_event()1626 if (cpu != this_cpu) in map_switch_event()[all …]
1230 int this_cpu; in worker_thread() local1239 this_cpu = g->threads[task_nr].curr_cpu; in worker_thread()1240 if (this_cpu < g->p.nr_cpus/2) in worker_thread()