Home
last modified time | relevance | path

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

/linux-6.15/tools/testing/selftests/cgroup/
H A Dtest_zswap.c122 char *test_group; in test_zswap_usage() local
125 if (!test_group) in test_zswap_usage()
152 free(test_group); in test_zswap_usage()
163 char *test_group; in test_swapin_nozswap() local
167 if (!test_group) in test_swapin_nozswap()
207 free(test_group); in test_swapin_nozswap()
215 char *test_group; in test_zswapin() local
219 if (!test_group) in test_zswapin()
247 free(test_group); in test_zswapin()
359 if (!test_group) in test_zswap_writeback()
[all …]
H A Dtest_hugetlb_memcg.c97 char *test_group = (char *)arg; in hugetlb_test_program() local
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()
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()
180 if (cg_write(test_group, "memory.max", "100M")) { in test_hugetlb_memcg()
186 if (cg_write(test_group, "memory.swap.max", "0")) { in test_hugetlb_memcg()
191 if (!cg_run(test_group, hugetlb_test_program, (void *)test_group)) in test_hugetlb_memcg()
194 cg_destroy(test_group); in test_hugetlb_memcg()
[all …]
/linux-6.15/tools/testing/kunit/
H A 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.15/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