Searched refs:values_close (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/tools/testing/selftests/cgroup/ |
D | test_memcontrol.c | 104 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_long(parent[1], "memory.current"), MB(50), 3)) in test_memcg_low() [all …]
|
D | cgroup_util.h | 13 static inline int values_close(long a, long b, int err) in values_close() function
|