Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/cgroup/
Dtest_zswap.c122 char *test_group; in test_zswap_usage() local
124 test_group = cg_name(root, "no_shrink_test"); in test_zswap_usage()
125 if (!test_group) in test_zswap_usage()
127 if (cg_create(test_group)) in test_zswap_usage()
129 if (cg_write(test_group, "memory.max", "1M")) in test_zswap_usage()
132 zswpout_before = get_zswpout(test_group); in test_zswap_usage()
139 if (cg_run(test_group, allocate_bytes, (void *)MB(4))) in test_zswap_usage()
143 zswpout_after = get_zswpout(test_group); in test_zswap_usage()
151 cg_destroy(test_group); in test_zswap_usage()
152 free(test_group); in test_zswap_usage()
[all …]
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-6.12.1/tools/testing/kunit/
Dkunit_json.py42 test_group = {
47 test_group.update(common_fields)
48 return test_group
61 test_group = _get_group_json(test, common_fields)
62 test_group["name"] = "KUnit Test Group"
63 return json.dumps(test_group, indent=4)
/linux-6.12.1/tools/testing/selftests/ftrace/test.d/00basic/
Dtest_ownership.tc29 test_group=$2
34 echo "testing $file $owner=$original_owner and $group=$test_group"
38 if [ $group -ne $test_group ]; then