Lines Matching refs:idle
26 struct s390_idle_data *idle = this_cpu_ptr(&s390_idle); in account_idle_time_irq() local
34 this_cpu_add(mt_cycles[i], cycles_new[i] - idle->mt_cycles_enter[i]); in account_idle_time_irq()
37 idle_time = S390_lowcore.int_clock - idle->clock_idle_enter; in account_idle_time_irq()
39 S390_lowcore.steal_timer += idle->clock_idle_enter - S390_lowcore.last_update_clock; in account_idle_time_irq()
42 S390_lowcore.system_timer += S390_lowcore.last_update_timer - idle->timer_idle_enter; in account_idle_time_irq()
46 WRITE_ONCE(idle->idle_time, READ_ONCE(idle->idle_time) + idle_time); in account_idle_time_irq()
47 WRITE_ONCE(idle->idle_count, READ_ONCE(idle->idle_count) + 1); in account_idle_time_irq()
53 struct s390_idle_data *idle = this_cpu_ptr(&s390_idle); in arch_cpu_idle() local
62 psw_idle(idle, psw_mask); in arch_cpu_idle()
68 struct s390_idle_data *idle = &per_cpu(s390_idle, dev->id); in show_idle_count() local
70 return sysfs_emit(buf, "%lu\n", READ_ONCE(idle->idle_count)); in show_idle_count()
77 struct s390_idle_data *idle = &per_cpu(s390_idle, dev->id); in show_idle_time() local
79 return sysfs_emit(buf, "%lu\n", READ_ONCE(idle->idle_time) >> 12); in show_idle_time()