Lines Matching refs:wi
1923 struct wakeup_info *wi) { in record_wakeup_time() argument
1924 wi->prev_wakeup_tm = wi->wakeup_tm; in record_wakeup_time()
1925 wi->wakeup_tm = *tm; in record_wakeup_time()
1927 wi->last_event_tm = *tm; in record_wakeup_time()
1928 wi->wakeups_since_event = 0; in record_wakeup_time()
1929 wi->skipped_wakeups = 0; in record_wakeup_time()
1931 wi->wakeups_since_event++; in record_wakeup_time()
1937 struct wakeup_info *wi, struct timespec *tm) { in killinfo_log() argument
1952 android_log_write_int32(ctx, (int32_t)get_time_diff_ms(&wi->last_event_tm, tm)); in killinfo_log()
1953 android_log_write_int32(ctx, (int32_t)get_time_diff_ms(&wi->prev_wakeup_tm, tm)); in killinfo_log()
1954 android_log_write_int32(ctx, wi->wakeups_since_event); in killinfo_log()
1955 android_log_write_int32(ctx, wi->skipped_wakeups); in killinfo_log()
2132 union meminfo *mi, struct wakeup_info *wi, struct timespec *tm) { in kill_one_process() argument
2203 killinfo_log(procp, min_oom_score, rss_kb, swap_kb, ki->kill_reason, mi, wi, tm); in kill_one_process()
2211 killinfo_log(procp, min_oom_score, rss_kb, swap_kb, NONE, mi, wi, tm); in kill_one_process()
2242 struct wakeup_info *wi, struct timespec *tm) { in find_and_kill_process() argument
2266 killed_size = kill_one_process(procp, min_score_adj, ki, mi, wi, tm); in find_and_kill_process()
2418 static struct wakeup_info wi; in mp_event_psi() local
2446 record_wakeup_time(&curr_tm, events ? Event : Polling, &wi); in mp_event_psi()
2452 wi.skipped_wakeups++; in mp_event_psi()
2669 int pages_freed = find_and_kill_process(min_score_adj, &ki, &mi, &wi, &curr_tm); in mp_event_psi()
2731 static struct wakeup_info wi; in mp_event_common() local
2767 record_wakeup_time(&curr_tm, events ? Event : Polling, &wi); in mp_event_common()
2777 wi.skipped_wakeups++; in mp_event_common()
2889 if (find_and_kill_process(level_oomadj[level], NULL, &mi, &wi, &curr_tm) == 0) { in mp_event_common()
2912 pages_freed = find_and_kill_process(min_score_adj, NULL, &mi, &wi, &curr_tm); in mp_event_common()