Searched refs:values_close (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/tools/testing/selftests/cgroup/ |
D | test_cpu.c | 220 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()
|
D | test_memcontrol.c | 113 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() 482 while (!values_close(cg_read_long(parent[1], "memory.current"), in test_memcg_protection() 492 if (!values_close(cg_read_long(parent[1], "memory.current"), MB(50), 3)) in test_memcg_protection() 498 if (!values_close(c[0], MB(29), 10)) in test_memcg_protection() 501 if (!values_close(c[1], MB(21), 10)) in test_memcg_protection() 517 if (!values_close(cg_read_long(parent[1], "memory.current"), current, 3)) in test_memcg_protection() 596 if (!values_close(current, MB(30), 5)) in alloc_pagecache_max_30M() 808 if (current < goal || values_close(current, goal, 3)) in reclaim_until() [all …]
|
D | test_hugetlb_memcg.c | 129 if (!values_close(expected_current, current, 5)) { in hugetlb_test_program() 141 if (!values_close(expected_current, current, 5)) { in hugetlb_test_program() 153 if (!values_close(expected_current, current, 5)) { in hugetlb_test_program()
|
D | cgroup_util.h | 19 static inline int values_close(long a, long b, int err) in values_close() function
|