Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/cgroup/
Dtest_memcontrol.c100 if (!values_close(size, current, 3)) in alloc_anon_50M_check()
107 if (!values_close(anon, current, 3)) in alloc_anon_50M_check()
138 if (!values_close(file, current, 10)) in alloc_pagecache_50M_check()
340 while (!values_close(cg_read_long(parent[1], "memory.current"), in test_memcg_min()
350 if (!values_close(cg_read_long(parent[1], "memory.current"), MB(50), 3)) in test_memcg_min()
356 if (!values_close(c[0], MB(33), 10)) in test_memcg_min()
359 if (!values_close(c[1], MB(17), 10)) in test_memcg_min()
362 if (!values_close(c[2], 0, 1)) in test_memcg_min()
368 if (!values_close(cg_read_long(parent[1], "memory.current"), MB(50), 3)) in test_memcg_min()
497 if (!values_close(cg_read_long(parent[1], "memory.current"), MB(50), 3)) in test_memcg_low()
[all …]
Dcgroup_util.h13 static inline int values_close(long a, long b, int err) in values_close() function