Home
last modified time | relevance | path

Searched refs:mem_st (Results 1 – 3 of 3) sorted by relevance

/system/memory/lmkd/
Dstatslog.cpp81 struct memory_stat *mem_st) { in stats_write_lmk_kill_occurred() argument
88 mem_st ? mem_st->pgfault : -1, in stats_write_lmk_kill_occurred()
89 mem_st ? mem_st->pgmajfault : -1, in stats_write_lmk_kill_occurred()
90 mem_st ? mem_st->rss_in_bytes : tasksize * BYTES_IN_KILOBYTE, in stats_write_lmk_kill_occurred()
91 mem_st ? mem_st->cache_in_bytes : -1, in stats_write_lmk_kill_occurred()
92 mem_st ? mem_st->swap_in_bytes : -1, in stats_write_lmk_kill_occurred()
93 mem_st ? mem_st->process_start_time_ns : -1, in stats_write_lmk_kill_occurred()
103 struct memory_stat* mem_st) { in stats_write_lmk_kill_occurred_pid() argument
108 tasksize, mem_st); in stats_write_lmk_kill_occurred_pid()
111 static void memory_stat_parse_line(char* line, struct memory_stat* mem_st) { in memory_stat_parse_line() argument
[all …]
Dstatslog.h62 int tasksize, struct memory_stat *mem_st);
70 struct memory_stat* mem_st);
98 struct memory_stat *mem_st __unused) { return -EINVAL; } in stats_write_lmk_kill_occurred()
104 struct memory_stat* mem_st __unused) { in stats_write_lmk_kill_occurred_pid()
Dlmkd.cpp782 struct memory_stat mem_st = {}; in poll_kernel() local
792 &pid, &uid, &group_leader_pid, &mem_st.pgfault, &mem_st.pgmajfault, in poll_kernel()
798 mem_st.process_start_time_ns = starttime * (NS_PER_SEC / sysconf(_SC_CLK_TCK)); in poll_kernel()
799 mem_st.rss_in_bytes = rss_in_pages * PAGE_SIZE; in poll_kernel()
801 min_score_adj, 0, &mem_st); in poll_kernel()
2055 struct memory_stat *mem_st; in kill_one_process() local
2074 mem_st = stats_read_memory_stat(per_app_memcg, pid, uid); in kill_one_process()
2112 stats_write_lmk_kill_occurred(uid, taskname, procp->oomadj, min_oom_score, tasksize, mem_st); in kill_one_process()