Lines Matching refs:swap_info
930 void GetSwapInfo(SwapInfo* swap_info) { in GetSwapInfo() argument
940 swap_info->orig_data_size = 0; in GetSwapInfo()
941 swap_info->num_reads = 0; in GetSwapInfo()
942 swap_info->num_writes = 0; in GetSwapInfo()
943 swap_info->compr_data_size = 0; in GetSwapInfo()
944 swap_info->mem_used_total = 0; in GetSwapInfo()
947 swap_info->orig_data_size = orig_data_size; in GetSwapInfo()
948 swap_info->num_reads = ReadFileToUint64(zram_path.Append("num_reads")); in GetSwapInfo()
949 swap_info->num_writes = ReadFileToUint64(zram_path.Append("num_writes")); in GetSwapInfo()
950 swap_info->compr_data_size = in GetSwapInfo()
952 swap_info->mem_used_total = in GetSwapInfo()