Home
last modified time | relevance | path

Searched refs:values_close (Results 1 - 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/cgroup/
H A Dtest_memcontrol.c104 if (!values_close(size, current, 3)) in alloc_anon_50M_check()
111 if (!values_close(anon, current, 3)) in alloc_anon_50M_check()
142 if (!values_close(file, current, 10)) in alloc_pagecache_50M_check()
344 while (!values_close(cg_read_long(parent[1], "memory.current"), in test_memcg_min()
354 if (!values_close(cg_read_long(parent[1], "memory.current"), MB(50), 3)) in test_memcg_min()
360 if (!values_close(c[0], MB(33), 10)) in test_memcg_min()
363 if (!values_close(c[1], MB(17), 10)) in test_memcg_min()
366 if (!values_close(c[2], 0, 1)) in test_memcg_min()
372 if (!values_close(cg_read_long(parent[1], "memory.current"), MB(50), 3)) in test_memcg_min()
501 if (!values_close(cg_read_lon in test_memcg_low()
[all...]
H A Dcgroup_util.h14 static inline int values_close(long a, long b, int err) in values_close() function
/kernel/linux/linux-6.6/tools/testing/selftests/cgroup/
H A Dtest_memcontrol.c113 if (!values_close(size, current, 3)) in alloc_anon_50M_check()
120 if (!values_close(anon, current, 3)) in alloc_anon_50M_check()
151 if (!values_close(file, current, 10)) in alloc_pagecache_50M_check()
370 while (!values_close(cg_read_long(parent[1], "memory.current"), in test_memcg_protection()
380 if (!values_close(cg_read_long(parent[1], "memory.current"), MB(50), 3)) in test_memcg_protection()
386 if (!values_close(c[0], MB(29), 10)) in test_memcg_protection()
389 if (!values_close(c[1], MB(21), 10)) in test_memcg_protection()
405 if (!values_close(cg_read_long(parent[1], "memory.current"), current, 3)) in test_memcg_protection()
484 if (!values_close(current, MB(30), 5)) in alloc_pagecache_max_30M()
696 if (current < goal || values_close(curren in reclaim_until()
[all...]
H A Dtest_cpu.c220 if (!values_close(usage_usec, expected_usage_usec, 1)) in test_cpucg_stats()
332 if (!values_close(delta, children[0].usage, 35)) in overprovision_validate()
372 if (!values_close(children[i + 1].usage, children[0].usage, 15)) in underprovision_validate()
501 if (!values_close(leaf[0].usage, nested_leaf_usage, 15)) in run_cpucg_nested_weight_test()
503 } else if (!values_close(leaf[0].usage * 2, nested_leaf_usage, 15)) in run_cpucg_nested_weight_test()
510 if (!values_close(child_usage, nested_leaf_usage, 1)) in run_cpucg_nested_weight_test()
608 if (values_close(usage_usec, expected_usage_usec, 95)) in test_cpucg_max()
668 if (values_close(usage_usec, expected_usage_usec, 95)) in test_cpucg_max_nested()
H A Dcgroup_util.h19 static inline int values_close(long a, long b, int err) in values_close() function

Completed in 3 milliseconds