Lines Matching full:current
10 * and some pagecache and check memory.current and some memory.stat
55 ssize_t anon, current; in alloc_anon_50M_check() local
63 SAFE_CGROUP_SCANF(cg_child, "memory.current", "%zd", ¤t); in alloc_anon_50M_check()
64 TST_EXP_EXPR(current >= size, in alloc_anon_50M_check()
65 "(memory.current=%zd) >= (size=%zd)", current, size); in alloc_anon_50M_check()
70 TST_EXP_EXPR(values_close(size, current, 3), in alloc_anon_50M_check()
71 "(size=%zd) ~= (memory.stat.anon=%zd)", size, current); in alloc_anon_50M_check()
72 TST_EXP_EXPR(values_close(anon, current, 3), in alloc_anon_50M_check()
73 "(memory.current=%zd) ~= (memory.stat.anon=%zd)", in alloc_anon_50M_check()
74 current, anon); in alloc_anon_50M_check()
89 size_t current, file; in alloc_pagecache_50M_check() local
104 SAFE_CGROUP_SCANF(cg_child, "memory.current", "%zu", ¤t); in alloc_pagecache_50M_check()
105 tst_res(TINFO, "Created temp file: memory.current=%zu", current); in alloc_pagecache_50M_check()
109 SAFE_CGROUP_SCANF(cg_child, "memory.current", "%zu", ¤t); in alloc_pagecache_50M_check()
110 TST_EXP_EXPR(current >= size, in alloc_pagecache_50M_check()
111 "(memory.current=%zu) >= (size=%zu)", current, size); in alloc_pagecache_50M_check()
116 TST_EXP_EXPR(values_close(file, current, file_to_all_error), in alloc_pagecache_50M_check()
117 "(memory.current=%zd) ~= (memory.stat.file=%zd)", in alloc_pagecache_50M_check()
118 current, file); in alloc_pagecache_50M_check()
125 size_t current; in test_memcg_current() local
128 SAFE_CGROUP_SCANF(cg_child, "memory.current", "%zu", ¤t); in test_memcg_current()
129 TST_EXP_EXPR(current == 0, "(current=%zu) == 0", current); in test_memcg_current()
134 SAFE_CGROUP_SCANF(cg_child, "memory.current", "%zu", ¤t); in test_memcg_current()
135 tst_res(TINFO, "Added proc to memcg: memory.current=%zu", in test_memcg_current()
136 current); in test_memcg_current()