Searched refs:mem_st (Results 1 – 3 of 3) sorted by relevance
/system/memory/lmkd/ |
D | statslog.cpp | 71 static void memory_stat_parse_line(const char* line, struct memory_stat* mem_st) { in memory_stat_parse_line() argument 82 mem_st->pgfault = value; in memory_stat_parse_line() 84 mem_st->pgmajfault = value; in memory_stat_parse_line() 86 mem_st->rss_in_bytes = value; in memory_stat_parse_line() 88 mem_st->cache_in_bytes = value; in memory_stat_parse_line() 90 mem_st->swap_in_bytes = value; in memory_stat_parse_line() 93 static int memory_stat_from_cgroup(struct memory_stat* mem_st, int pid, uid_t uid __unused) { in memory_stat_from_cgroup() argument 108 memory_stat_parse_line(buf, mem_st); in memory_stat_from_cgroup() 115 static int memory_stat_from_procfs(struct memory_stat* mem_st, int pid) { in memory_stat_from_procfs() argument 143 mem_st->pgfault = pgfault; in memory_stat_from_procfs() [all …]
|
D | statslog.h | 100 struct memory_stat *mem_st); 130 struct memory_stat *mem_st __unused) { in lmkd_pack_set_kill_occurred()
|
D | lmkd.cpp | 826 struct memory_stat *mem_st) { in stats_write_lmk_kill_occurred() argument 828 const size_t len = lmkd_pack_set_kill_occurred(packet, kill_st, mem_st); in stats_write_lmk_kill_occurred() 842 struct memory_stat *mem_st) { in stats_write_lmk_kill_occurred_pid() argument 845 stats_write_lmk_kill_occurred(kill_st, mem_st); in stats_write_lmk_kill_occurred_pid() 865 struct memory_stat mem_st = {}; in poll_kernel() local 875 &pid, &uid, &group_leader_pid, &mem_st.pgfault, &mem_st.pgmajfault, in poll_kernel() 881 mem_st.process_start_time_ns = starttime * (NS_PER_SEC / sysconf(_SC_CLK_TCK)); in poll_kernel() 882 mem_st.rss_in_bytes = rss_in_pages * pagesize; in poll_kernel() 892 stats_write_lmk_kill_occurred_pid(pid, &kill_st, &mem_st); in poll_kernel() 2595 struct memory_stat *mem_st; in kill_one_process() local [all …]
|