Searched refs:read_recomp_algorithm (Results 1 – 3 of 3) sorted by relevance
29 read_recomp_algorithm: field44 read_recomp_algorithm: MockSysfsZramApi::read_recomp_algorithm_context(), in new()63 mock.read_recomp_algorithm.expect().returning(|| Ok("#1: lzo lzo-rle lz4 [zstd]".to_string())); in test_is_zram_recompression_activated()71 mock.read_recomp_algorithm.expect().returning(|| Ok("".to_string())); in test_is_zram_recompression_activated_not_activated()79 mock.read_recomp_algorithm in test_is_zram_recompression_activated_not_supported()89 mock.read_recomp_algorithm.expect().returning(|| Err(std::io::Error::other("error"))); in test_is_zram_recompression_activated_failure()
75 fn read_recomp_algorithm() -> io::Result<String>; in read_recomp_algorithm() method120 fn read_recomp_algorithm() -> io::Result<String> { in read_recomp_algorithm() method
53 match Z::read_recomp_algorithm() { in is_zram_recompression_activated()