Lines Matching full:current
10 * and some pagecache and check memory.current and some memory.stat
38 ssize_t anon, current; in alloc_anon_50M_check() local
46 SAFE_CG_SCANF(cg_child, "memory.current", "%zd", ¤t); in alloc_anon_50M_check()
47 TST_EXP_EXPR(current >= size, in alloc_anon_50M_check()
48 "(memory.current=%zd) >= (size=%zd)", current, size); in alloc_anon_50M_check()
55 TST_EXP_EXPR(values_close(anon, current, 3), in alloc_anon_50M_check()
56 "(memory.current=%zd) ~= (memory.stat.anon=%zd)", in alloc_anon_50M_check()
57 current, anon); in alloc_anon_50M_check()
63 size_t current, file; in alloc_pagecache_50M_check() local
69 SAFE_CG_SCANF(cg_child, "memory.current", "%zu", ¤t); in alloc_pagecache_50M_check()
70 tst_res(TINFO, "Created temp file: memory.current=%zu", current); in alloc_pagecache_50M_check()
74 SAFE_CG_SCANF(cg_child, "memory.current", "%zu", ¤t); in alloc_pagecache_50M_check()
75 TST_EXP_EXPR(current >= size, in alloc_pagecache_50M_check()
76 "(memory.current=%zu) >= (size=%zu)", current, size); in alloc_pagecache_50M_check()
81 TST_EXP_EXPR(values_close(file, current, file_to_all_error), in alloc_pagecache_50M_check()
82 "(memory.current=%zd) ~= (memory.stat.file=%zd)", in alloc_pagecache_50M_check()
83 current, file); in alloc_pagecache_50M_check()
90 size_t current; in test_memcg_current() local
93 SAFE_CG_SCANF(cg_child, "memory.current", "%zu", ¤t); in test_memcg_current()
94 TST_EXP_EXPR(current == 0, "(current=%zu) == 0", current); in test_memcg_current()
99 SAFE_CG_SCANF(cg_child, "memory.current", "%zu", ¤t); in test_memcg_current()
100 tst_res(TINFO, "Added proc to memcg: memory.current=%zu", in test_memcg_current()
101 current); in test_memcg_current()