Home
last modified time | relevance | path

Searched refs:resctrl_test (Results 1 – 8 of 8) sorted by relevance

/linux/tools/testing/selftests/resctrl/
H A Dresctrl.h70 struct resctrl_test { struct
76 bool (*feature_check)(const struct resctrl_test *test); argument
77 int (*run_test)(const struct resctrl_test *test, argument
99 int (*setup)(const struct resctrl_test *test, argument
133 bool test_resource_feature_check(const struct resctrl_test *test);
152 int resctrl_val(const struct resctrl_test *test,
163 int signal_handler_register(const struct resctrl_test *test);
200 extern struct resctrl_test mbm_test;
201 extern struct resctrl_test mba_test;
202 extern struct resctrl_test cmt_test;
[all …]
H A Dcat_test.c156 static int cat_test(const struct resctrl_test *test, in cat_test()
235 static int cat_run_test(const struct resctrl_test *test, const struct user_params *uparams) in cat_run_test()
291 static bool arch_supports_noncont_cat(const struct resctrl_test *test) in arch_supports_noncont_cat()
313 static int noncont_cat_run_test(const struct resctrl_test *test, in noncont_cat_run_test()
371 static bool noncont_cat_feature_check(const struct resctrl_test *test) in noncont_cat_feature_check()
379 struct resctrl_test l3_cat_test = {
388 struct resctrl_test l3_noncont_cat_test = {
396 struct resctrl_test l2_noncont_cat_test = {
H A Dmbm_test.c102 static int mbm_setup(const struct resctrl_test *test, in mbm_setup()
132 static int mbm_run_test(const struct resctrl_test *test, const struct user_params *uparams) in mbm_run_test()
156 static bool mbm_feature_check(const struct resctrl_test *test) in mbm_feature_check()
162 struct resctrl_test mbm_test = {
H A Dresctrl_tests.c17 static struct resctrl_test *resctrl_tests[] = {
84 static int test_prepare(const struct resctrl_test *test) in test_prepare()
103 static void test_cleanup(const struct resctrl_test *test) in test_cleanup()
111 static bool test_vendor_specific_check(const struct resctrl_test *test) in test_vendor_specific_check()
119 static void run_single_test(const struct resctrl_test *test, const struct user_params *uparams) in run_single_test()
H A Dmba_test.c38 static int mba_setup(const struct resctrl_test *test, in mba_setup()
164 static int mba_run_test(const struct resctrl_test *test, const struct user_params *uparams) in mba_run_test()
186 static bool mba_feature_check(const struct resctrl_test *test) in mba_feature_check()
192 struct resctrl_test mba_test = {
H A Dcmt_test.c30 static int cmt_setup(const struct resctrl_test *test, in cmt_setup()
117 static int cmt_run_test(const struct resctrl_test *test, const struct user_params *uparams) in cmt_run_test()
187 static bool cmt_feature_check(const struct resctrl_test *test) in cmt_feature_check()
193 struct resctrl_test cmt_test = {
H A Dresctrl_val.c45 static const struct resctrl_test *current_test;
470 int signal_handler_register(const struct resctrl_test *test) in signal_handler_register()
682 int resctrl_val(const struct resctrl_test *test, in resctrl_val()
H A Dresctrlfs.c786 bool test_resource_feature_check(const struct resctrl_test *test) in test_resource_feature_check()