/linux-5.19.10/tools/testing/selftests/arm64/signal/ |
D | test_signals.h | 51 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;
|
D | test_signals_utils.h | 13 int test_init(struct tdescr *td); 14 int test_setup(struct tdescr *td); 15 void test_cleanup(struct tdescr *td); 16 int test_run(struct tdescr *td); 17 void test_result(struct tdescr *td); 19 static inline bool feats_ok(struct tdescr *td) in feats_ok() 58 static __always_inline bool get_current_context(struct tdescr *td, in get_current_context()
|
D | test_signals_utils.c | 23 extern struct tdescr *current; 65 static void default_result(struct tdescr *td, bool force_exit) in default_result() 89 static bool handle_signal_unsupported(struct tdescr *td, in handle_signal_unsupported() 111 static bool handle_signal_trigger(struct tdescr *td, in handle_signal_trigger() 121 static bool handle_signal_ok(struct tdescr *td, in handle_signal_ok() 167 static bool handle_signal_copyctx(struct tdescr *td, in handle_signal_copyctx() 206 static int default_setup(struct tdescr *td) in default_setup() 242 static inline int default_trigger(struct tdescr *td) in default_trigger() 247 int test_init(struct tdescr *td) in test_init() 317 int test_setup(struct tdescr *td) in test_setup() [all …]
|
D | test_signals.c | 15 struct tdescr *current;
|
D | README | 12 is described (and configured) using the descriptor signals.h::struct tdescr 21 tdescr overriding all the defaults we wish to change (as of now providing a
|
/linux-5.19.10/tools/testing/selftests/arm64/signal/testcases/ |
D | sme_trap_za.c | 15 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 = {
|
D | sme_trap_no_sm.c | 16 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 = {
|
D | sme_trap_non_streaming.c | 16 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 = {
|
D | sve_regs.c | 20 static bool sve_get_vls(struct tdescr *td) in sve_get_vls() 55 static int do_one_sve_vl(struct tdescr *td, siginfo_t *si, ucontext_t *uc, in do_one_sve_vl() 97 static int sve_regs(struct tdescr *td, siginfo_t *si, ucontext_t *uc) in sve_regs() 119 struct tdescr tde = {
|
D | ssve_regs.c | 20 static bool sme_get_vls(struct tdescr *td) in sme_get_vls() 55 static int do_one_sme_vl(struct tdescr *td, siginfo_t *si, ucontext_t *uc, in do_one_sme_vl() 99 static int sme_regs(struct tdescr *td, siginfo_t *si, ucontext_t *uc) in sme_regs() 123 struct tdescr tde = {
|
D | za_regs.c | 20 static bool sme_get_vls(struct tdescr *td) in sme_get_vls() 55 static int do_one_sme_vl(struct tdescr *td, siginfo_t *si, ucontext_t *uc, in do_one_sme_vl() 97 static int sme_regs(struct tdescr *td, siginfo_t *si, ucontext_t *uc) in sme_regs() 121 struct tdescr tde = {
|
D | sme_vl.c | 19 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 = {
|
D | sve_vl.c | 19 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 = {
|
D | fake_sigreturn_sme_change_vl.c | 20 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 = {
|
D | fake_sigreturn_sve_change_vl.c | 21 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 = {
|
D | mangle_pstate_invalid_compat_toggle.c | 13 static int mangle_invalid_pstate_run(struct tdescr *td, siginfo_t *si, in mangle_invalid_pstate_run() 24 struct tdescr tde = {
|
D | fake_sigreturn_misaligned_sp.c | 18 static int fake_sigreturn_misaligned_run(struct tdescr *td, in fake_sigreturn_misaligned_run() 31 struct tdescr tde = {
|
D | mangle_pstate_invalid_daif_bits.c | 14 static int mangle_invalid_pstate_run(struct tdescr *td, siginfo_t *si, in mangle_invalid_pstate_run() 28 struct tdescr tde = {
|
D | mangle_pstate_invalid_mode_template.h | 10 static int mangle_invalid_pstate_run(struct tdescr *td, siginfo_t *si, \ 21 struct tdescr tde = { \
|
D | fake_sigreturn_bad_size_for_magic0.c | 18 static int fake_sigreturn_bad_size_for_magic0_run(struct tdescr *td, in fake_sigreturn_bad_size_for_magic0_run() 40 struct tdescr tde = {
|
D | fake_sigreturn_bad_magic.c | 18 static int fake_sigreturn_bad_magic_run(struct tdescr *td, in fake_sigreturn_bad_magic_run() 46 struct tdescr tde = {
|
D | fake_sigreturn_duplicated_fpsimd.c | 18 static int fake_sigreturn_duplicated_fpsimd_run(struct tdescr *td, in fake_sigreturn_duplicated_fpsimd_run() 44 struct tdescr tde = {
|
D | fake_sigreturn_missing_fpsimd.c | 19 static int fake_sigreturn_missing_fpsimd_run(struct tdescr *td, in fake_sigreturn_missing_fpsimd_run() 44 struct tdescr tde = {
|
D | fake_sigreturn_bad_size.c | 20 static int fake_sigreturn_bad_size_run(struct tdescr *td, in fake_sigreturn_bad_size_run() 71 struct tdescr tde = {
|