Searched refs:values_close (Results 1 – 4 of 4) sorted by relevance
| /linux/tools/testing/selftests/cgroup/ |
| H A D | test_memcontrol.c | 191 if (!values_close(size, current, 3)) in alloc_anon_50M_check() 198 if (!values_close(anon, current, 3)) in alloc_anon_50M_check() 229 if (!values_close(file, current, 10)) in alloc_pagecache_50M_check() 561 while (!values_close(cg_read_long(parent[1], "memory.current"), in test_memcg_protection() 571 if (!values_close(cg_read_long(parent[1], "memory.current"), MB(50), 3)) in test_memcg_protection() 577 if (!values_close(c[0], MB(29), 15)) in test_memcg_protection() 580 if (!values_close(c[1], MB(21), 20)) in test_memcg_protection() 596 if (!values_close(cg_read_long(parent[1], "memory.current"), current, 3)) in test_memcg_protection() 684 if (!values_close(current, MB(30), 5)) in alloc_pagecache_max_30M() 896 if (current < goal || values_close(current, goal, 3)) in reclaim_until() [all …]
|
| H A 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()
|
| H A D | cgroup_util.h | |
| /linux/tools/testing/selftests/cgroup/lib/include/ |
| H A D | cgroup_util.h | 23 static inline int values_close(long a, long b, int err) in values_close() function
|