Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/cgroup/
H A Dtest_zswap.c200 size_t stored_pages; in test_no_kmem_bypass() local
209 if (get_zswap_stored_pages(&stored_pages)) in test_no_kmem_bypass()
211 if (stored_pages < 0) in test_no_kmem_bypass()
214 if (stored_pages > stored_pages_threshold) { in test_no_kmem_bypass()
216 int delta = stored_pages * 4096 - zswapped; in test_no_kmem_bypass()
217 int result_ok = delta < stored_pages * 4096 / 4; in test_no_kmem_bypass()