Searched refs:deleted_ws (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/base/power/
H A Dwakeup.c63 static struct wakeup_source deleted_ws = { variable in typeref:struct:wakeup_source
65 .lock = __SPIN_LOCK_UNLOCKED(deleted_ws.lock),
126 spin_lock_irqsave(&deleted_ws.lock, flags); wakeup_source_record()
129 deleted_ws.total_time = wakeup_source_record()
130 ktime_add(deleted_ws.total_time, ws->total_time); wakeup_source_record()
131 deleted_ws.prevent_sleep_time = wakeup_source_record()
132 ktime_add(deleted_ws.prevent_sleep_time, wakeup_source_record()
134 deleted_ws.max_time = wakeup_source_record()
135 ktime_compare(deleted_ws.max_time, ws->max_time) > 0 ? wakeup_source_record()
136 deleted_ws.max_time : ws->max_time; wakeup_source_record()
137 deleted_ws.event_count += ws->event_count; wakeup_source_record()
138 deleted_ws.active_count += ws->active_count; wakeup_source_record()
139 deleted_ws.relax_count += ws->relax_count; wakeup_source_record()
140 deleted_ws.expire_count += ws->expire_count; wakeup_source_record()
141 deleted_ws.wakeup_count += ws->wakeup_count; wakeup_source_record()
144 spin_unlock_irqrestore(&deleted_ws.lock, flags); wakeup_source_record()
1042 print_wakeup_source_stats(m, &deleted_ws); wakeup_sources_stats_show()

Completed in 66 milliseconds