Home
last modified time | relevance | path

Searched refs:kunit_try_catch (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/include/kunit/
H A Dtry-catch.h21 * struct kunit_try_catch - provides a generic way to run code which might fail.
29 * kunit_try_catch provides a generic, architecture independent way to execute
34 * struct kunit_try_catch provides a generic interface for the functionality
46 struct kunit_try_catch { struct
56 void kunit_try_catch_run(struct kunit_try_catch *try_catch, void *context);
58 void __noreturn kunit_try_catch_throw(struct kunit_try_catch *try_catch);
60 static inline int kunit_try_catch_get_result(struct kunit_try_catch *try_catch) in kunit_try_catch_get_result()
H A Dtest.h210 struct kunit_try_catch try_catch;
/kernel/linux/linux-6.6/include/kunit/
H A Dtry-catch.h21 * struct kunit_try_catch - provides a generic way to run code which might fail.
29 * kunit_try_catch provides a generic, architecture independent way to execute
34 * struct kunit_try_catch provides a generic interface for the functionality
46 struct kunit_try_catch { struct
56 void kunit_try_catch_run(struct kunit_try_catch *try_catch, void *context);
58 void __noreturn kunit_try_catch_throw(struct kunit_try_catch *try_catch);
60 static inline int kunit_try_catch_get_result(struct kunit_try_catch *try_catch) in kunit_try_catch_get_result()
H A Dtest.h283 struct kunit_try_catch try_catch;
/kernel/linux/linux-5.10/lib/kunit/
H A Dtry-catch.c17 void __noreturn kunit_try_catch_throw(struct kunit_try_catch *try_catch) in kunit_try_catch_throw()
26 struct kunit_try_catch *try_catch = data; in kunit_generic_run_threadfn_adapter()
58 void kunit_try_catch_run(struct kunit_try_catch *try_catch, void *context) in kunit_try_catch_run()
H A Dkunit-test.c13 struct kunit_try_catch *try_catch;
35 struct kunit_try_catch *try_catch = ctx->try_catch; in kunit_test_try_catch_successful_try_no_catch()
50 struct kunit_try_catch *try_catch = ctx->try_catch; in kunit_test_unsuccessful_try()
67 struct kunit_try_catch *try_catch = ctx->try_catch; in kunit_test_try_catch_unsuccessful_try_does_catch()
H A Dtry-catch-impl.h17 static inline void kunit_try_catch_init(struct kunit_try_catch *try_catch, in kunit_try_catch_init()
H A Dtest.c331 struct kunit_try_catch *try_catch; in kunit_run_case_catch_errors()
/kernel/linux/linux-6.6/lib/kunit/
H A Dtry-catch.c17 void __noreturn kunit_try_catch_throw(struct kunit_try_catch *try_catch) in kunit_try_catch_throw()
26 struct kunit_try_catch *try_catch = data; in kunit_generic_run_threadfn_adapter()
58 void kunit_try_catch_run(struct kunit_try_catch *try_catch, void *context) in kunit_try_catch_run()
H A Dtry-catch-impl.h17 static inline void kunit_try_catch_init(struct kunit_try_catch *try_catch, in kunit_try_catch_init()
H A Dkunit-test.c14 struct kunit_try_catch *try_catch;
36 struct kunit_try_catch *try_catch = ctx->try_catch; in kunit_test_try_catch_successful_try_no_catch()
51 struct kunit_try_catch *try_catch = ctx->try_catch; in kunit_test_unsuccessful_try()
68 struct kunit_try_catch *try_catch = ctx->try_catch; in kunit_test_try_catch_unsuccessful_try_does_catch()
H A Dtest.c553 struct kunit_try_catch *try_catch; in kunit_run_case_catch_errors()

Completed in 9 milliseconds