Lines Matching refs:wi
1845 struct wakeup_info *wi) { in record_wakeup_time() argument
1846 wi->prev_wakeup_tm = wi->wakeup_tm; in record_wakeup_time()
1847 wi->wakeup_tm = *tm; in record_wakeup_time()
1849 wi->last_event_tm = *tm; in record_wakeup_time()
1850 wi->wakeups_since_event = 0; in record_wakeup_time()
1851 wi->skipped_wakeups = 0; in record_wakeup_time()
1853 wi->wakeups_since_event++; in record_wakeup_time()
1859 struct wakeup_info *wi, struct timespec *tm) { in killinfo_log() argument
1874 android_log_write_int32(ctx, (int32_t)get_time_diff_ms(&wi->last_event_tm, tm)); in killinfo_log()
1875 android_log_write_int32(ctx, (int32_t)get_time_diff_ms(&wi->prev_wakeup_tm, tm)); in killinfo_log()
1876 android_log_write_int32(ctx, wi->wakeups_since_event); in killinfo_log()
1877 android_log_write_int32(ctx, wi->skipped_wakeups); in killinfo_log()
2045 const char *kill_desc, union meminfo *mi, struct wakeup_info *wi, in kill_one_process() argument
2102 killinfo_log(procp, min_oom_score, tasksize, kill_reason, mi, wi, tm); in kill_one_process()
2132 union meminfo *mi, struct wakeup_info *wi, struct timespec *tm) { in find_and_kill_process() argument
2148 mi, wi, tm); in find_and_kill_process()
2312 static struct wakeup_info wi; in mp_event_psi() local
2334 record_wakeup_time(&curr_tm, events ? Event : Polling, &wi); in mp_event_psi()
2340 wi.skipped_wakeups++; in mp_event_psi()
2492 &wi, &curr_tm); in mp_event_psi()
2553 static struct wakeup_info wi; in mp_event_common() local
2589 record_wakeup_time(&curr_tm, events ? Event : Polling, &wi); in mp_event_common()
2599 wi.skipped_wakeups++; in mp_event_common()
2711 if (find_and_kill_process(level_oomadj[level], -1, NULL, &mi, &wi, &curr_tm) == 0) { in mp_event_common()
2734 pages_freed = find_and_kill_process(min_score_adj, -1, NULL, &mi, &wi, &curr_tm); in mp_event_common()