Searched refs:cg_read_long (Results 1 – 6 of 6) sorted by relevance
/linux/tools/testing/selftests/cgroup/ |
H A D | test_memcontrol.c | 109 current = cg_read_long(cgroup, "memory.current"); in alloc_anon_50M_check() 143 current = cg_read_long(cgroup, "memory.current"); in alloc_pagecache_50M_check() 182 current = cg_read_long(memcg, "memory.current"); in test_memcg_current_peak() 186 peak = cg_read_long(memcg, "memory.peak"); in test_memcg_current_peak() 193 peak = cg_read_long(memcg, "memory.peak"); in test_memcg_current_peak() 249 peak = cg_read_long(memcg, "memory.peak"); in test_memcg_current_peak() 273 peak = cg_read_long(memcg, "memory.peak"); in test_memcg_current_peak() 430 if (cg_read_long(parent[0], attribute)) { in test_memcg_protection() 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() [all …]
|
H A D | test_hugetlb_memcg.c | 102 old_current = cg_read_long(test_group, "memory.current"); in hugetlb_test_program() 104 current = cg_read_long(test_group, "memory.current"); in hugetlb_test_program() 117 current = cg_read_long(test_group, "memory.current"); in hugetlb_test_program() 128 current = cg_read_long(test_group, "memory.current"); in hugetlb_test_program() 139 current = cg_read_long(test_group, "memory.current"); in hugetlb_test_program() 151 current = cg_read_long(test_group, "memory.current"); in hugetlb_test_program()
|
H A D | test_kmem.c | 81 current = cg_read_long(cg, "memory.current"); in test_kmem_basic() 186 current = cg_read_long(parent, "memory.current"); in test_kmem_memcg_deletion() 380 current = cg_read_long(parent, "memory.current"); in test_percpu_basic()
|
H A D | cgroup_util.h | 36 extern long cg_read_long(const char *cgroup, const char *control);
|
H A D | test_zswap.c | 181 swap_peak = cg_read_long(test_group, "memory.swap.peak"); in test_swapin_nozswap() 294 zswap_usage = cg_read_long(cgroup, "memory.zswap.current"); in attempt_writeback()
|
H A D | cgroup_util.c | 134 long cg_read_long(const char *cgroup, const char *control) in cg_read_long() function
|