Home
last modified time | relevance | path

Searched refs:tdescr (Results 1 – 25 of 30) sorted by relevance

12

/openbmc/linux/tools/testing/selftests/arm64/signal/
H A Dtest_signals.h51 struct tdescr { struct
90 int (*setup)(struct tdescr *td); argument
92 bool (*init)(struct tdescr *td); argument
94 void (*cleanup)(struct tdescr *td); argument
96 int (*trigger)(struct tdescr *td); argument
101 int (*run)(struct tdescr *td, siginfo_t *si, ucontext_t *uc); argument
103 void (*check_result)(struct tdescr *td); argument
106 extern struct tdescr tde;
H A Dtest_signals_utils.h15 int test_init(struct tdescr *td);
16 int test_setup(struct tdescr *td);
17 void test_cleanup(struct tdescr *td);
18 int test_run(struct tdescr *td);
19 void test_result(struct tdescr *td);
21 static inline bool feats_ok(struct tdescr *td) in feats_ok()
60 static __always_inline bool get_current_context(struct tdescr *td, in get_current_context()
H A Dtest_signals_utils.c23 extern struct tdescr *current;
112 static bool handle_signal_trigger(struct tdescr *td, in handle_signal_trigger()
122 static bool handle_signal_ok(struct tdescr *td, in handle_signal_ok()
168 static bool handle_signal_copyctx(struct tdescr *td, in handle_signal_copyctx()
259 static int default_setup(struct tdescr *td) in default_setup()
295 static inline int default_trigger(struct tdescr *td) in default_trigger()
300 int test_init(struct tdescr *td) in test_init()
372 int test_setup(struct tdescr *td) in test_setup()
388 int test_run(struct tdescr *td) in test_run()
398 void test_result(struct tdescr *td) in test_result()
[all …]
/openbmc/linux/tools/testing/selftests/arm64/signal/testcases/
H A Dtpidr2_restore.c45 static bool save_tpidr2(struct tdescr *td) in save_tpidr2()
53 static int modify_tpidr2(struct tdescr *td, siginfo_t *si, ucontext_t *uc) in modify_tpidr2()
64 static void check_tpidr2(struct tdescr *td) in check_tpidr2()
77 struct tdescr tde = {
H A Dsme_trap_za.c15 int sme_trap_za_trigger(struct tdescr *td) in sme_trap_za_trigger()
23 int sme_trap_za_run(struct tdescr *td, siginfo_t *si, ucontext_t *uc) in sme_trap_za_run()
28 struct tdescr tde = {
H A Dsme_trap_no_sm.c16 int sme_trap_no_sm_trigger(struct tdescr *td) in sme_trap_no_sm_trigger()
24 int sme_trap_no_sm_run(struct tdescr *td, siginfo_t *si, ucontext_t *uc) in sme_trap_no_sm_run()
29 struct tdescr tde = {
H A Dsme_trap_non_streaming.c16 int sme_trap_non_streaming_trigger(struct tdescr *td) in sme_trap_non_streaming_trigger()
30 int sme_trap_non_streaming_run(struct tdescr *td, siginfo_t *si, ucontext_t *uc) in sme_trap_non_streaming_run()
35 struct tdescr tde = {
H A Dsve_regs.c23 static bool sve_get_vls(struct tdescr *td) in sve_get_vls()
58 static int do_one_sve_vl(struct tdescr *td, siginfo_t *si, ucontext_t *uc, in do_one_sve_vl()
100 static int sve_regs(struct tdescr *td, siginfo_t *si, ucontext_t *uc) in sve_regs()
114 struct tdescr tde = {
H A Dza_no_regs.c23 static bool sme_get_vls(struct tdescr *td) in sme_get_vls()
52 static int do_one_sme_vl(struct tdescr *td, siginfo_t *si, ucontext_t *uc, in do_one_sme_vl()
98 static int sme_regs(struct tdescr *td, siginfo_t *si, ucontext_t *uc) in sme_regs()
112 struct tdescr tde = {
H A Dssve_regs.c23 static bool sme_get_vls(struct tdescr *td) in sme_get_vls()
62 static int do_one_sme_vl(struct tdescr *td, siginfo_t *si, ucontext_t *uc, in do_one_sme_vl()
111 static int sme_regs(struct tdescr *td, siginfo_t *si, ucontext_t *uc) in sme_regs()
125 struct tdescr tde = {
H A Dza_regs.c23 static bool sme_get_vls(struct tdescr *td) in sme_get_vls()
64 static int do_one_sme_vl(struct tdescr *td, siginfo_t *si, ucontext_t *uc, in do_one_sme_vl()
117 static int sme_regs(struct tdescr *td, siginfo_t *si, ucontext_t *uc) in sme_regs()
131 struct tdescr tde = {
H A Dsme_vl.c19 static bool get_sme_vl(struct tdescr *td) in get_sme_vl()
30 static int sme_vl(struct tdescr *td, siginfo_t *si, ucontext_t *uc) in sme_vl()
61 struct tdescr tde = {
H A Dsve_vl.c19 static bool get_sve_vl(struct tdescr *td) in get_sve_vl()
30 static int sve_vl(struct tdescr *td, siginfo_t *si, ucontext_t *uc) in sve_vl()
61 struct tdescr tde = {
H A Dssve_za_regs.c23 static bool sme_get_vls(struct tdescr *td) in sme_get_vls()
67 static int do_one_sme_vl(struct tdescr *td, siginfo_t *si, ucontext_t *uc, in do_one_sme_vl()
140 static int sme_regs(struct tdescr *td, siginfo_t *si, ucontext_t *uc) in sme_regs()
154 struct tdescr tde = {
H A Dfake_sigreturn_sve_change_vl.c21 static bool sve_get_vls(struct tdescr *td) in sve_get_vls()
51 static int fake_sigreturn_sve_change_vl(struct tdescr *td, in fake_sigreturn_sve_change_vl()
86 struct tdescr tde = {
H A Dfake_sigreturn_sme_change_vl.c20 static bool sme_get_vls(struct tdescr *td) in sme_get_vls()
49 static int fake_sigreturn_ssve_change_vl(struct tdescr *td, in fake_sigreturn_ssve_change_vl()
84 struct tdescr tde = {
H A Dmangle_pstate_invalid_compat_toggle.c13 static int mangle_invalid_pstate_run(struct tdescr *td, siginfo_t *si, in mangle_invalid_pstate_run()
24 struct tdescr tde = {
H A Dmangle_pstate_invalid_daif_bits.c14 static int mangle_invalid_pstate_run(struct tdescr *td, siginfo_t *si, in mangle_invalid_pstate_run()
28 struct tdescr tde = {
H A Dfake_sigreturn_misaligned_sp.c18 static int fake_sigreturn_misaligned_run(struct tdescr *td, in fake_sigreturn_misaligned_run()
31 struct tdescr tde = {
H A Dmangle_pstate_invalid_mode_template.h10 static int mangle_invalid_pstate_run(struct tdescr *td, siginfo_t *si, \
21 struct tdescr tde = { \
H A Dzt_no_regs.c21 int zt_no_regs_run(struct tdescr *td, siginfo_t *si, ucontext_t *uc) in zt_no_regs_run()
44 struct tdescr tde = {
H A Dfake_sigreturn_bad_size_for_magic0.c18 static int fake_sigreturn_bad_size_for_magic0_run(struct tdescr *td, in fake_sigreturn_bad_size_for_magic0_run()
40 struct tdescr tde = {
H A Dfake_sigreturn_duplicated_fpsimd.c18 static int fake_sigreturn_duplicated_fpsimd_run(struct tdescr *td, in fake_sigreturn_duplicated_fpsimd_run()
44 struct tdescr tde = {
H A Dfake_sigreturn_bad_magic.c18 static int fake_sigreturn_bad_magic_run(struct tdescr *td, in fake_sigreturn_bad_magic_run()
46 struct tdescr tde = {
H A Dfake_sigreturn_missing_fpsimd.c19 static int fake_sigreturn_missing_fpsimd_run(struct tdescr *td, in fake_sigreturn_missing_fpsimd_run()
44 struct tdescr tde = {

12