| /OK3568_Linux_fs/kernel/lib/ |
| H A D | test_kasan.c | 48 static int kasan_test_init(struct kunit *test) in kasan_test_init() 60 static void kasan_test_exit(struct kunit *test) in kasan_test_exit() 82 #define KUNIT_EXPECT_KASAN_FAIL(test, expression) do { \ argument 110 #define KASAN_TEST_NEEDS_CONFIG_ON(test, config) do { \ argument 117 #define KASAN_TEST_NEEDS_CONFIG_OFF(test, config) do { \ argument 124 static void kmalloc_oob_right(struct kunit *test) in kmalloc_oob_right() 136 static void kmalloc_oob_left(struct kunit *test) in kmalloc_oob_left() 148 static void kmalloc_node_oob_right(struct kunit *test) in kmalloc_node_oob_right() 166 static void kmalloc_pagealloc_oob_right(struct kunit *test) in kmalloc_pagealloc_oob_right() 181 static void kmalloc_pagealloc_uaf(struct kunit *test) in kmalloc_pagealloc_uaf() [all …]
|
| H A D | list-test.c | 17 static void list_test_list_init(struct kunit *test) in list_test_list_init() 46 static void list_test_list_add(struct kunit *test) in list_test_list_add() 60 static void list_test_list_add_tail(struct kunit *test) in list_test_list_add_tail() 74 static void list_test_list_del(struct kunit *test) in list_test_list_del() 90 static void list_test_list_replace(struct kunit *test) in list_test_list_replace() 106 static void list_test_list_replace_init(struct kunit *test) in list_test_list_replace_init() 125 static void list_test_list_swap(struct kunit *test) in list_test_list_swap() 147 static void list_test_list_del_init(struct kunit *test) in list_test_list_del_init() 164 static void list_test_list_move(struct kunit *test) in list_test_list_move() 183 static void list_test_list_move_tail(struct kunit *test) in list_test_list_move_tail() [all …]
|
| /OK3568_Linux_fs/kernel/include/kunit/ |
| H A D | test.h | 228 static inline void kunit_set_failure(struct kunit *test) in kunit_set_failure() 425 static inline void *kunit_alloc_resource(struct kunit *test, in kunit_alloc_resource() 456 static inline bool kunit_resource_instance_match(struct kunit *test, in kunit_resource_instance_match() 469 static inline bool kunit_resource_name_match(struct kunit *test, in kunit_resource_name_match() 483 kunit_find_resource(struct kunit *test, in kunit_find_resource() 510 kunit_find_named_resource(struct kunit *test, in kunit_find_named_resource() 530 static inline int kunit_destroy_named_resource(struct kunit *test, in kunit_destroy_named_resource() 576 static inline void *kunit_kzalloc(struct kunit *test, size_t size, gfp_t gfp) in kunit_kzalloc() 596 #define kunit_printk(lvl, test, fmt, ...) \ argument 609 #define kunit_info(test, fmt, ...) \ argument [all …]
|
| /OK3568_Linux_fs/kernel/security/apparmor/ |
| H A D | policy_unpack_test.c | 52 struct kunit *test, size_t buf_size) in build_aa_ext_struct() 109 static int policy_unpack_test_init(struct kunit *test) in policy_unpack_test_init() 124 static void policy_unpack_test_inbounds_when_inbounds(struct kunit *test) in policy_unpack_test_inbounds_when_inbounds() 133 static void policy_unpack_test_inbounds_when_out_of_bounds(struct kunit *test) in policy_unpack_test_inbounds_when_out_of_bounds() 140 static void policy_unpack_test_unpack_array_with_null_name(struct kunit *test) in policy_unpack_test_unpack_array_with_null_name() 154 static void policy_unpack_test_unpack_array_with_name(struct kunit *test) in policy_unpack_test_unpack_array_with_name() 169 static void policy_unpack_test_unpack_array_out_of_bounds(struct kunit *test) in policy_unpack_test_unpack_array_out_of_bounds() 185 static void policy_unpack_test_unpack_blob_with_null_name(struct kunit *test) in policy_unpack_test_unpack_blob_with_null_name() 199 static void policy_unpack_test_unpack_blob_with_name(struct kunit *test) in policy_unpack_test_unpack_blob_with_name() 213 static void policy_unpack_test_unpack_blob_out_of_bounds(struct kunit *test) in policy_unpack_test_unpack_blob_out_of_bounds() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/mmc/core/ |
| H A D | mmc_test.c | 179 static int mmc_test_set_blksize(struct mmc_test_card *test, unsigned size) in mmc_test_set_blksize() 190 static void mmc_test_prepare_sbc(struct mmc_test_card *test, in mmc_test_prepare_sbc() 210 static void mmc_test_prepare_mrq(struct mmc_test_card *test, in mmc_test_prepare_mrq() 259 static int mmc_test_wait_busy(struct mmc_test_card *test) in mmc_test_wait_busy() 290 static int mmc_test_buffer_transfer(struct mmc_test_card *test, in mmc_test_buffer_transfer() 534 static void mmc_test_save_transfer_result(struct mmc_test_card *test, in mmc_test_save_transfer_result() 559 static void mmc_test_print_rate(struct mmc_test_card *test, uint64_t bytes, in mmc_test_print_rate() 583 static void mmc_test_print_avg_rate(struct mmc_test_card *test, uint64_t bytes, in mmc_test_print_avg_rate() 627 static int __mmc_test_prepare(struct mmc_test_card *test, int write) in __mmc_test_prepare() 651 static int mmc_test_prepare_write(struct mmc_test_card *test) in mmc_test_prepare_write() [all …]
|
| /OK3568_Linux_fs/kernel/lib/kunit/ |
| H A D | kunit-test.c | 19 struct kunit *test = data; in kunit_test_successful_try() local 27 struct kunit *test = data; in kunit_test_no_catch() local 32 static void kunit_test_try_catch_successful_try_no_catch(struct kunit *test) in kunit_test_try_catch_successful_try_no_catch() 48 struct kunit *test = data; in kunit_test_unsuccessful_try() local 58 struct kunit *test = data; in kunit_test_catch() local 64 static void kunit_test_try_catch_unsuccessful_try_does_catch(struct kunit *test) in kunit_test_try_catch_unsuccessful_try_does_catch() 78 static int kunit_try_catch_test_init(struct kunit *test) in kunit_try_catch_test_init() 111 struct kunit test; member 133 static void kunit_resource_test_init_resources(struct kunit *test) in kunit_resource_test_init_resources() 142 static void kunit_resource_test_alloc_resource(struct kunit *test) in kunit_resource_test_alloc_resource() [all …]
|
| H A D | test.c | 71 struct kunit *test = is_test ? test_or_suite : NULL; in kunit_print_ok_not_ok() local 130 static void kunit_print_string_stream(struct kunit *test, in kunit_print_string_stream() 153 static void kunit_fail(struct kunit *test, struct kunit_assert *assert) in kunit_fail() 175 static void __noreturn kunit_abort(struct kunit *test) in kunit_abort() 188 void kunit_do_assertion(struct kunit *test, in kunit_do_assertion() 212 void kunit_init_test(struct kunit *test, const char *name, char *log) in kunit_init_test() 227 static void kunit_run_case_internal(struct kunit *test, in kunit_run_case_internal() 245 static void kunit_case_internal_cleanup(struct kunit *test) in kunit_case_internal_cleanup() 254 static void kunit_run_case_cleanup(struct kunit *test, in kunit_run_case_cleanup() 264 struct kunit *test; member [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/scatterlist/ |
| H A D | main.c | 8 struct test { struct 29 static void fail(struct test *test, struct sg_table *st, const char *cond) in fail() 47 #define VALIDATE(cond, st, test) \ argument 54 struct test *test, tests[] = { in main() local
|
| /OK3568_Linux_fs/kernel/mm/kfence/ |
| H A D | kfence_test.c | 169 static size_t setup_test_cache(struct kunit *test, size_t size, slab_flags_t flags, in setup_test_cache() 227 static void *test_alloc(struct kunit *test, size_t size, gfp_t gfp, enum allocation_policy policy) in test_alloc() 300 static void test_out_of_bounds_read(struct kunit *test) in test_out_of_bounds_read() 334 static void test_out_of_bounds_write(struct kunit *test) in test_out_of_bounds_write() 352 static void test_use_after_free_read(struct kunit *test) in test_use_after_free_read() 368 static void test_double_free(struct kunit *test) in test_double_free() 383 static void test_invalid_addr_free(struct kunit *test) in test_invalid_addr_free() 400 static void test_corruption(struct kunit *test) in test_corruption() 436 static void test_kmalloc_aligned_oob_read(struct kunit *test) in test_kmalloc_aligned_oob_read() 471 static void test_kmalloc_aligned_oob_write(struct kunit *test) in test_kmalloc_aligned_oob_write() [all …]
|
| /OK3568_Linux_fs/kernel/net/mptcp/ |
| H A D | token_test.c | 6 static struct mptcp_subflow_request_sock *build_req_sock(struct kunit *test) in build_req_sock() 18 static void mptcp_token_test_req_basic(struct kunit *test) in mptcp_token_test_req_basic() 32 static struct inet_connection_sock *build_icsk(struct kunit *test) in build_icsk() 42 static struct mptcp_subflow_context *build_ctx(struct kunit *test) in build_ctx() 52 static struct mptcp_sock *build_msk(struct kunit *test) in build_msk() 63 static void mptcp_token_test_msk_basic(struct kunit *test) in mptcp_token_test_msk_basic() 86 static void mptcp_token_test_accept(struct kunit *test) in mptcp_token_test_accept() 105 static void mptcp_token_test_destroyed(struct kunit *test) in mptcp_token_test_destroyed()
|
| /OK3568_Linux_fs/kernel/kernel/kcsan/ |
| H A D | kcsan-test.c | 419 static void test_basic(struct kunit *test) in test_basic() 450 static void test_concurrent_races(struct kunit *test) in test_concurrent_races() 479 static void test_novalue_change(struct kunit *test) in test_novalue_change() 504 static void test_novalue_change_exception(struct kunit *test) in test_novalue_change_exception() 523 static void test_unknown_origin(struct kunit *test) in test_unknown_origin() 545 static void test_write_write_assume_atomic(struct kunit *test) in test_write_write_assume_atomic() 571 static void test_write_write_struct(struct kunit *test) in test_write_write_struct() 593 static void test_write_write_struct_part(struct kunit *test) in test_write_write_struct_part() 612 static void test_read_atomic_write_atomic(struct kunit *test) in test_read_atomic_write_atomic() 625 static void test_read_plain_atomic_write(struct kunit *test) in test_read_plain_atomic_write() [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/ |
| H A D | hsa-common.h | 207 is_a_helper <hsa_op_immed *>::test (hsa_op_base *p) in test() function 217 is_a_helper <hsa_op_immed *>::test (hsa_op_with_type *p) in test() function 275 is_a_helper <hsa_op_reg *>::test (hsa_op_base *p) in test() function 285 is_a_helper <hsa_op_reg *>::test (hsa_op_with_type *p) in test() function 335 is_a_helper <hsa_op_address *>::test (hsa_op_base *p) in test() function 357 is_a_helper <hsa_op_code_ref *>::test (hsa_op_base *p) in test() function 386 is_a_helper <hsa_op_code_list *>::test (hsa_op_base *p) in test() function 416 is_a_helper <hsa_op_operand_list *>::test (hsa_op_base *p) in test() function 509 is_a_helper <hsa_insn_phi *>::test (hsa_insn_basic *p) in test() function 535 is_a_helper <hsa_insn_br *>::test (hsa_insn_basic *p) in test() function [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/ |
| H A D | hsa-common.h | 207 is_a_helper <hsa_op_immed *>::test (hsa_op_base *p) in test() function 217 is_a_helper <hsa_op_immed *>::test (hsa_op_with_type *p) in test() function 275 is_a_helper <hsa_op_reg *>::test (hsa_op_base *p) in test() function 285 is_a_helper <hsa_op_reg *>::test (hsa_op_with_type *p) in test() function 335 is_a_helper <hsa_op_address *>::test (hsa_op_base *p) in test() function 357 is_a_helper <hsa_op_code_ref *>::test (hsa_op_base *p) in test() function 386 is_a_helper <hsa_op_code_list *>::test (hsa_op_base *p) in test() function 416 is_a_helper <hsa_op_operand_list *>::test (hsa_op_base *p) in test() function 509 is_a_helper <hsa_insn_phi *>::test (hsa_insn_basic *p) in test() function 535 is_a_helper <hsa_insn_br *>::test (hsa_insn_basic *p) in test() function [all …]
|
| /OK3568_Linux_fs/kernel/tools/perf/tests/ |
| H A D | tests.h | 30 struct test { struct 32 int (*func)(struct test *test, int subtest); argument 38 } subtest; argument 44 int test__vmlinux_matches_kallsyms(struct test *test, int subtest); argument
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/ |
| H A D | test_sock_addr.c | 641 static int load_insns(const struct sock_addr_test *test, in load_insns() 674 static int bind4_prog_load(const struct sock_addr_test *test) in bind4_prog_load() 781 static int bind6_prog_load(const struct sock_addr_test *test) in bind6_prog_load() 847 static int load_path(const struct sock_addr_test *test, const char *path) in load_path() 868 static int connect4_prog_load(const struct sock_addr_test *test) in connect4_prog_load() 873 static int connect6_prog_load(const struct sock_addr_test *test) in connect6_prog_load() 878 static int xmsg_ret_only_prog_load(const struct sock_addr_test *test, in xmsg_ret_only_prog_load() 889 static int sendmsg_allow_prog_load(const struct sock_addr_test *test) in sendmsg_allow_prog_load() 894 static int sendmsg_deny_prog_load(const struct sock_addr_test *test) in sendmsg_deny_prog_load() 899 static int recvmsg_allow_prog_load(const struct sock_addr_test *test) in recvmsg_allow_prog_load() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/thunderbolt/ |
| H A D | test.c | 31 static void kunit_ida_init(struct kunit *test, struct ida *ida) in kunit_ida_init() 36 static struct tb_switch *alloc_switch(struct kunit *test, u64 route, in alloc_switch() 72 static struct tb_switch *alloc_host(struct kunit *test) in alloc_host() 145 static struct tb_switch *alloc_dev_default(struct kunit *test, in alloc_dev_default() 275 static struct tb_switch *alloc_dev_with_dpin(struct kunit *test, in alloc_dev_with_dpin() 296 static void tb_test_path_basic(struct kunit *test) in tb_test_path_basic() 313 static void tb_test_path_not_connected_walk(struct kunit *test) in tb_test_path_not_connected_walk() 352 static void tb_test_path_single_hop_walk(struct kunit *test) in tb_test_path_single_hop_walk() 406 static void tb_test_path_daisy_chain_walk(struct kunit *test) in tb_test_path_daisy_chain_walk() 465 static void tb_test_path_simple_tree_walk(struct kunit *test) in tb_test_path_simple_tree_walk() [all …]
|
| /OK3568_Linux_fs/kernel/mm/damon/ |
| H A D | vaddr-test.h | 73 static void damon_test_three_regions_in_vmas(struct kunit *test) in damon_test_three_regions_in_vmas() 133 static void damon_do_test_apply_three_regions(struct kunit *test, in damon_do_test_apply_three_regions() 163 static void damon_test_apply_three_regions1(struct kunit *test) in damon_test_apply_three_regions1() 185 static void damon_test_apply_three_regions2(struct kunit *test) in damon_test_apply_three_regions2() 209 static void damon_test_apply_three_regions3(struct kunit *test) in damon_test_apply_three_regions3() 234 static void damon_test_apply_three_regions4(struct kunit *test) in damon_test_apply_three_regions4() 251 static void damon_test_split_evenly_fail(struct kunit *test, in damon_test_split_evenly_fail() 270 static void damon_test_split_evenly_succ(struct kunit *test, in damon_test_split_evenly_succ() 295 static void damon_test_split_evenly(struct kunit *test) in damon_test_split_evenly()
|
| H A D | core-test.h | 17 static void damon_test_regions(struct kunit *test) in damon_test_regions() 50 static void damon_test_target(struct kunit *test) in damon_test_target() 78 static void damon_test_aggregate(struct kunit *test) in damon_test_aggregate() 119 static void damon_test_split_at(struct kunit *test) in damon_test_split_at() 140 static void damon_test_merge_two(struct kunit *test) in damon_test_merge_two() 182 static void damon_test_merge_regions_of(struct kunit *test) in damon_test_merge_regions_of() 212 static void damon_test_split_regions_of(struct kunit *test) in damon_test_split_regions_of()
|
| /OK3568_Linux_fs/kernel/kernel/ |
| H A D | sysctl-test.c | 19 static void sysctl_test_api_dointvec_null_tbl_data(struct kunit *test) in sysctl_test_api_dointvec_null_tbl_data() 69 static void sysctl_test_api_dointvec_table_maxlen_unset(struct kunit *test) in sysctl_test_api_dointvec_table_maxlen_unset() 115 static void sysctl_test_api_dointvec_table_len_is_zero(struct kunit *test) in sysctl_test_api_dointvec_table_len_is_zero() 149 struct kunit *test) in sysctl_test_api_dointvec_table_read_but_position_set() 184 static void sysctl_test_dointvec_read_happy_single_positive(struct kunit *test) in sysctl_test_dointvec_read_happy_single_positive() 215 static void sysctl_test_dointvec_read_happy_single_negative(struct kunit *test) in sysctl_test_dointvec_read_happy_single_negative() 244 static void sysctl_test_dointvec_write_happy_single_positive(struct kunit *test) in sysctl_test_dointvec_write_happy_single_positive() 275 static void sysctl_test_dointvec_write_happy_single_negative(struct kunit *test) in sysctl_test_dointvec_write_happy_single_negative() 307 struct kunit *test) in sysctl_test_api_dointvec_write_single_less_int_min() 345 struct kunit *test) in sysctl_test_api_dointvec_write_single_greater_int_max()
|
| /OK3568_Linux_fs/kernel/drivers/misc/ |
| H A D | pci_endpoint_test.c | 127 static inline u32 pci_endpoint_test_readl(struct pci_endpoint_test *test, in pci_endpoint_test_readl() 133 static inline void pci_endpoint_test_writel(struct pci_endpoint_test *test, in pci_endpoint_test_writel() 139 static inline u32 pci_endpoint_test_bar_readl(struct pci_endpoint_test *test, in pci_endpoint_test_bar_readl() 145 static inline void pci_endpoint_test_bar_writel(struct pci_endpoint_test *test, in pci_endpoint_test_bar_writel() 153 struct pci_endpoint_test *test = dev_id; in pci_endpoint_test_irqhandler() local 168 static void pci_endpoint_test_free_irq_vectors(struct pci_endpoint_test *test) in pci_endpoint_test_free_irq_vectors() 176 static bool pci_endpoint_test_alloc_irq_vectors(struct pci_endpoint_test *test, in pci_endpoint_test_alloc_irq_vectors() 215 static void pci_endpoint_test_release_irq(struct pci_endpoint_test *test) in pci_endpoint_test_release_irq() 227 static bool pci_endpoint_test_request_irq(struct pci_endpoint_test *test) in pci_endpoint_test_request_irq() 265 static bool pci_endpoint_test_bar(struct pci_endpoint_test *test, in pci_endpoint_test_bar() [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/vphn/ |
| H A D | test-vphn.c | 21 static struct test { struct 25 } all_tests[] = { argument 366 static int test_one(struct test *test) in test_one() 394 static struct test *test; in test_vphn() local
|
| /OK3568_Linux_fs/kernel/drivers/base/test/ |
| H A D | property-entry-test.c | 10 static void pe_test_uints(struct kunit *test) in pe_test_uints() 101 static void pe_test_uint_arrays(struct kunit *test) in pe_test_uint_arrays() 216 static void pe_test_strings(struct kunit *test) in pe_test_strings() 282 static void pe_test_bool(struct kunit *test) in pe_test_bool() 301 static void pe_test_move_inline_u8(struct kunit *test) in pe_test_move_inline_u8() 331 static void pe_test_move_inline_str(struct kunit *test) in pe_test_move_inline_str() 364 static void pe_test_reference(struct kunit *test) in pe_test_reference()
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/core/utils/ |
| H A D | concurrencytest.py | 62 def _add_result_with_semaphore(self, method, test, *args, **kwargs): argument 90 def _addResult(self, method, test, *args, exception = False, **kwargs): argument 93 def addError(self, test, err = None, **kwargs): argument 97 def addFailure(self, test, err = None, **kwargs): argument 101 def addSuccess(self, test, **kwargs): argument 104 def addExpectedFailure(self, test, err = None, **kwargs): argument 107 def addUnexpectedSuccess(self, test, **kwargs): argument 117 def _addResult(self, method, test, *args, exception = False, **kwargs): argument 131 def _addResult(self, method, test, *args, exception = False, **kwargs): argument
|
| /OK3568_Linux_fs/kernel/tools/build/feature/ |
| H A D | test-clang-bpf-co-re.c | 4 struct test { struct 9 volatile struct test global_value_for_test = {}; argument
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/manual/ |
| H A D | kernel-dev.json | 3 "test": { object 25 "test": { object 47 "test": { object 69 "test": { object 91 "test": { object 113 "test": { object 135 "test": { object 157 "test": { object 179 "test": { object
|