Searched refs:read_recomp_algorithm (Results 1 – 3 of 3) sorted by relevance
30 read_recomp_algorithm: field45 read_recomp_algorithm: MockSysfsZramApi::read_recomp_algorithm_context(), in new()64 mock.read_recomp_algorithm.expect().returning(|| Ok("".to_string())); in get_zram_recompression_status_not_configured()74 mock.read_recomp_algorithm.expect().returning(|| Ok("zstd".to_string())); in get_zram_recompression_status_activated()84 mock.read_recomp_algorithm in get_zram_recompression_status_unsupported()96 mock.read_recomp_algorithm.expect().returning(|| Err(std::io::Error::other("error"))); in test_get_zram_recompression_status_failure()
84 fn read_recomp_algorithm() -> io::Result<String>; in read_recomp_algorithm() method139 fn read_recomp_algorithm() -> io::Result<String> { in read_recomp_algorithm() method
66 match Z::read_recomp_algorithm() { in get_zram_recompression_status()