Lines Matching refs:test_config

184 struct test_config {  struct
196 bool (*supported)(struct test_config *config); argument
197 void (*set_expected_values)(struct test_config *config);
198 void (*modify_values)(pid_t child, struct test_config *test_config);
201 static int vl_in(struct test_config *config) in vl_in()
213 static int vl_expected(struct test_config *config) in vl_expected()
225 static void run_child(struct test_config *config) in run_child()
399 static bool check_ptrace_values_sve(pid_t child, struct test_config *config) in check_ptrace_values_sve()
483 static bool check_ptrace_values_ssve(pid_t child, struct test_config *config) in check_ptrace_values_ssve()
566 static bool check_ptrace_values_za(pid_t child, struct test_config *config) in check_ptrace_values_za()
627 static bool check_ptrace_values_zt(pid_t child, struct test_config *config) in check_ptrace_values_zt()
648 static bool check_ptrace_values_fpmr(pid_t child, struct test_config *config) in check_ptrace_values_fpmr()
669 static bool check_ptrace_values(pid_t child, struct test_config *config) in check_ptrace_values()
709 struct test_config *config) in run_parent()
904 static void set_initial_values(struct test_config *config) in set_initial_values()
971 static bool check_memory_values(struct test_config *config) in check_memory_values()
1028 static bool sve_sme_same(struct test_config *config) in sve_sme_same()
1042 static bool sve_write_supported(struct test_config *config) in sve_write_supported()
1072 static bool sve_write_fpsimd_supported(struct test_config *config) in sve_write_fpsimd_supported()
1089 static void fpsimd_write_expected(struct test_config *config) in fpsimd_write_expected()
1105 static void fpsimd_write(pid_t child, struct test_config *test_config) in fpsimd_write() argument
1122 static bool fpmr_write_supported(struct test_config *config) in fpmr_write_supported()
1133 static void fpmr_write_expected(struct test_config *config) in fpmr_write_expected()
1139 static void fpmr_write(pid_t child, struct test_config *config) in fpmr_write()
1152 static void sve_write_expected(struct test_config *config) in sve_write_expected()
1178 static void sve_write_sve(pid_t child, struct test_config *config) in sve_write_sve()
1224 static void sve_write_fpsimd(pid_t child, struct test_config *config) in sve_write_fpsimd()
1263 static bool za_write_supported(struct test_config *config) in za_write_supported()
1271 static void za_write_expected(struct test_config *config) in za_write_expected()
1296 static void za_write(pid_t child, struct test_config *config) in za_write()
1331 static bool zt_write_supported(struct test_config *config) in zt_write_supported()
1345 static void zt_write_expected(struct test_config *config) in zt_write_expected()
1359 static void zt_write(pid_t child, struct test_config *config) in zt_write()
1373 static void run_test(struct test_definition *test, struct test_config *config) in run_test()
1422 struct test_config *config) in run_tests()
1546 struct test_config test_config; in run_sve_tests() local
1552 test_config.sme_vl_in = sme_vls[0]; in run_sve_tests()
1553 test_config.sme_vl_expected = sme_vls[0]; in run_sve_tests()
1554 test_config.svcr_in = 0; in run_sve_tests()
1555 test_config.svcr_expected = 0; in run_sve_tests()
1558 test_config.sve_vl_in = sve_vls[i]; in run_sve_tests()
1561 test_config.sve_vl_expected = sve_vls[j]; in run_sve_tests()
1565 &test_config); in run_sve_tests()
1569 &test_config); in run_sve_tests()
1577 struct test_config test_config; in run_sme_tests() local
1583 test_config.sve_vl_in = sve_vls[0]; in run_sme_tests()
1584 test_config.sve_vl_expected = sve_vls[0]; in run_sme_tests()
1590 test_config.sme_vl_in = sme_vls[i]; in run_sme_tests()
1593 test_config.sme_vl_expected = sme_vls[j]; in run_sme_tests()
1596 test_config.svcr_in = svcr_combinations[k].svcr_in; in run_sme_tests()
1597 test_config.svcr_expected = svcr_combinations[k].svcr_expected; in run_sme_tests()
1601 &test_config); in run_sme_tests()
1604 &test_config); in run_sme_tests()
1607 &test_config); in run_sme_tests()
1612 &test_config); in run_sme_tests()
1620 struct test_config test_config; in main() local
1682 test_config.sve_vl_in = 0; in main()
1683 test_config.sve_vl_expected = 0; in main()
1684 test_config.sme_vl_in = 0; in main()
1685 test_config.sme_vl_expected = 0; in main()
1686 test_config.svcr_in = 0; in main()
1687 test_config.svcr_expected = 0; in main()
1690 &test_config); in main()