Home
last modified time | relevance | path

Searched refs:test_group (Results 1 – 4 of 4) sorted by relevance

/linux/tools/testing/selftests/cgroup/
H A Dtest_zswap.c124 char *test_group; in test_zswap_usage()
126 test_group = cg_name(root, "no_shrink_test"); in test_zswap_usage()
127 if (!test_group) in test_zswap_usage()
129 if (cg_create(test_group)) in test_zswap_usage()
131 if (cg_write(test_group, "memory.max", "1M")) in test_zswap_usage()
134 zswpout_before = get_zswpout(test_group); in test_zswap_usage()
141 if (cg_run(test_group, allocate_bytes, (void *)MB(4))) in test_zswap_usage()
145 zswpout_after = get_zswpout(test_group); in test_zswap_usage()
153 cg_destroy(test_group); in test_zswap_usage()
154 free(test_group); in test_zswap_usage()
122 char *test_group; test_zswap_usage() local
163 char *test_group; test_swapin_nozswap() local
215 char *test_group; test_zswapin() local
353 char *test_group, *test_group_child = NULL; test_zswap_writeback() local
504 char *test_group = NULL; test_no_kmem_bypass() local
[all...]
H A Dtest_hugetlb_memcg.c97 char *test_group = (char *)arg; in hugetlb_test_program() local
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()
172 char *test_group; in test_hugetlb_memcg() local
174 test_group = cg_name(root, "hugetlb_memcg_test"); in test_hugetlb_memcg()
175 if (!test_group || cg_create(test_group)) { in test_hugetlb_memcg()
[all …]
/linux/tools/testing/kunit/
H A Dkunit_json.py51 test_group = {
57 test_group.update(common_fields)
58 return test_group
71 test_group = _get_group_json(test, common_fields)
72 test_group["name"] = "KUnit Test Group"
73 return json.dumps(test_group, indent=4)
/linux/tools/testing/selftests/ftrace/test.d/00basic/
H A Dtest_ownership.tc29 test_group=$2
34 echo "testing $file $owner=$original_owner and $group=$test_group"
38 if [ $group -ne $test_group ]; then