Lines Matching defs:idle
26 struct s390_idle_data *idle = this_cpu_ptr(&s390_idle);
34 this_cpu_add(mt_cycles[i], cycles_new[i] - idle->mt_cycles_enter[i]);
37 idle_time = S390_lowcore.int_clock - idle->clock_idle_enter;
39 S390_lowcore.steal_timer += idle->clock_idle_enter - S390_lowcore.last_update_clock;
42 S390_lowcore.system_timer += S390_lowcore.last_update_timer - idle->timer_idle_enter;
45 /* Account time spent with enabled wait psw loaded as idle time. */
46 WRITE_ONCE(idle->idle_time, READ_ONCE(idle->idle_time) + idle_time);
47 WRITE_ONCE(idle->idle_count, READ_ONCE(idle->idle_count) + 1);
53 struct s390_idle_data *idle = this_cpu_ptr(&s390_idle);
62 psw_idle(idle, psw_mask);
68 struct s390_idle_data *idle = &per_cpu(s390_idle, dev->id);
70 return sysfs_emit(buf, "%lu\n", READ_ONCE(idle->idle_count));
77 struct s390_idle_data *idle = &per_cpu(s390_idle, dev->id);
79 return sysfs_emit(buf, "%lu\n", READ_ONCE(idle->idle_time) >> 12);