/linux-6.15/drivers/hid/ |
D | hid-input-test.c | 10 static void hid_test_input_set_battery_charge_status(struct kunit *test) in hid_test_input_set_battery_charge_status() 31 static void hid_test_input_get_battery_property(struct kunit *test) in hid_test_input_get_battery_property()
|
/linux-6.15/drivers/net/wireless/intel/iwlwifi/mld/tests/ |
D | hcmd.c | 14 static void test_hcmd_names_sorted(struct kunit *test) in test_hcmd_names_sorted() 30 static void test_hcmd_names_for_rx(struct kunit *test) in test_hcmd_names_for_rx()
|
D | agg.c | 469 struct kunit *test = kunit_get_current_test(); in setup_mpdu_desc() local 505 struct kunit *test = kunit_get_current_test(); in alloc_and_setup_skb() local 533 struct kunit *test = kunit_get_current_test(); in setup_reorder_buffer() local 570 struct kunit *test = kunit_get_current_test(); in setup_ba_data() local 601 static void test_reorder_buffer(struct kunit *test) in test_reorder_buffer()
|
D | utils.h | 29 #define KUNIT_ALLOC_AND_ASSERT_SIZE(test, ptr, size) \ argument 35 #define KUNIT_ALLOC_AND_ASSERT(test, ptr) \ argument
|
D | link-selection.c | 80 struct kunit *test = kunit_get_current_test(); in setup_link() local 122 static void test_link_grading(struct kunit *test) in test_link_grading() 250 static void test_iwl_mld_channel_load_allows_emlsr(struct kunit *test) in test_iwl_mld_channel_load_allows_emlsr()
|
/linux-6.15/tools/testing/selftests/resctrl/ |
D | mbm_test.c | 99 static int mbm_setup(const struct resctrl_test *test, in mbm_setup() 129 static int mbm_run_test(const struct resctrl_test *test, const struct user_params *uparams) in mbm_run_test() 169 static bool mbm_feature_check(const struct resctrl_test *test) in mbm_feature_check()
|
D | cmt_test.c | 30 static int cmt_setup(const struct resctrl_test *test, in cmt_setup() 116 static int cmt_run_test(const struct resctrl_test *test, const struct user_params *uparams) in cmt_run_test() 178 static bool cmt_feature_check(const struct resctrl_test *test) in cmt_feature_check()
|
D | mba_test.c | 38 static int mba_setup(const struct resctrl_test *test, in mba_setup() 170 static int mba_run_test(const struct resctrl_test *test, const struct user_params *uparams) in mba_run_test() 210 static bool mba_feature_check(const struct resctrl_test *test) in mba_feature_check()
|
/linux-6.15/drivers/gpu/drm/tests/ |
D | drm_client_modeset_test.c | 53 static int drm_client_modeset_test_init(struct kunit *test) in drm_client_modeset_test_init() 85 static void drm_test_pick_cmdline_res_1920_1080_60(struct kunit *test) in drm_test_pick_cmdline_res_1920_1080_60() 128 static void drm_test_pick_cmdline_named(struct kunit *test) in drm_test_pick_cmdline_named()
|
/linux-6.15/tools/testing/selftests/kvm/arm64/ |
D | page_fault_test.c | 252 static bool guest_prepare(struct test_desc *test) in guest_prepare() 266 static void guest_test_check(struct test_desc *test) in guest_test_check() 278 static void guest_code(struct test_desc *test) in guest_code() 366 struct test_desc *test = p->test_desc; in setup_uffd() local 387 static void free_uffd(struct test_desc *test, struct uffd_desc *pt_uffd, in free_uffd() 541 struct test_desc *test) in setup_abort_handlers() 621 static void setup_default_handlers(struct test_desc *test) in setup_default_handlers() 630 static void check_event_counts(struct test_desc *test) in check_event_counts() 639 struct test_desc *test = p->test_desc; in print_test_banner() local 657 struct test_desc *test) in vcpu_run_loop() [all …]
|
/linux-6.15/drivers/net/wireless/intel/iwlwifi/tests/ |
D | devinfo.c | 22 static void devinfo_table_order(struct kunit *test) in devinfo_table_order() 45 static void devinfo_pci_ids(struct kunit *test) in devinfo_pci_ids()
|
/linux-6.15/drivers/fpga/tests/ |
D | fpga-region-test.c | 102 static void fpga_region_test_class_find(struct kunit *test) in fpga_region_test_class_find() 117 static void fpga_region_test_program_fpga(struct kunit *test) in fpga_region_test_program_fpga() 157 static int fpga_region_test_init(struct kunit *test) in fpga_region_test_init()
|
/linux-6.15/lib/math/tests/ |
D | int_log_kunit.c | 44 static void intlog2_test(struct kunit *test) in intlog2_test() 53 static void intlog10_test(struct kunit *test) in intlog10_test()
|
/linux-6.15/tools/testing/selftests/bpf/ |
D | test_progs.c | 347 static void print_test_result(const struct prog_test_def *test, const struct test_state *test_state) in print_test_result() 403 static void dump_test_log(const struct prog_test_def *test, in dump_test_log() 521 struct prog_test_def *test = env.test; in test__end_subtest() local 547 struct prog_test_def *test = env.test; in test__start_subtest() local 657 int bpf_find_map(const char *test, struct bpf_object *obj, const char *name) in bpf_find_map() 1377 struct prog_test_def *test = &prog_test_defs[test_num]; in run_one_test() local 1504 struct prog_test_def *test; in dispatch_thread() local 1641 struct prog_test_def *test = &prog_test_defs[i]; in calculate_summary_and_print_errors() local 1724 struct prog_test_def *test = &prog_test_defs[i]; in server_main() local 1853 struct prog_test_def *test = &prog_test_defs[test_to_run]; in worker_main() local [all …]
|
/linux-6.15/security/ipe/ |
D | policy_tests.c | 247 static void ipe_parser_unsigned_test(struct kunit *test) in ipe_parser_unsigned_test() 274 static void ipe_parser_widestring_test(struct kunit *test) in ipe_parser_widestring_test()
|
/linux-6.15/drivers/firewire/ |
D | device-attribute-test.c | 82 static void device_attr_simple_avc(struct kunit *test) in device_attr_simple_avc() 164 static void device_attr_legacy_avc(struct kunit *test) in device_attr_legacy_avc()
|
/linux-6.15/tools/testing/radix-tree/ |
D | maple.c | 30 #define RCU_MT_BUG_ON(test, y) {if (y) { test->stop = true; } MT_BUG_ON(test->mt, y); } argument 63 struct rcu_test_struct2 *test; member 34352 static void rcu_reader_register(struct rcu_test_struct2 *test) in rcu_reader_register() 34362 unsigned int id, struct rcu_test_struct2 *test) in rcu_reader_setup() 34377 struct rcu_test_struct2 *test = reader->test; in rcu_reader_fwd() local 34487 struct rcu_test_struct2 *test = reader->test; in rcu_reader_rev() local 34617 static void rcu_stress_rev(struct maple_tree *mt, struct rcu_test_struct2 *test, in rcu_stress_rev() 34676 static void rcu_stress_fwd(struct maple_tree *mt, struct rcu_test_struct2 *test, in rcu_stress_fwd() 34749 struct rcu_test_struct2 test; in rcu_stress() local 34850 int eval_rcu_entry(struct rcu_test_struct *test, void *entry, bool *update_2, in eval_rcu_entry() [all …]
|
/linux-6.15/sound/soc/ |
D | soc-ops-test.c | 68 struct kunit *test; member 382 static int soc_ops_test_init(struct kunit *test) in soc_ops_test_init() 414 static void soc_ops_test_exit(struct kunit *test) in soc_ops_test_exit() 432 static void soc_ops_test_info(struct kunit *test) in soc_ops_test_info() 476 static void soc_ops_test_access(struct kunit *test) in soc_ops_test_access()
|
/linux-6.15/net/wireless/tests/ |
D | util.h | 34 struct kunit *test; member 43 #define T_WIPHY(test, ctx) ({ \ argument
|
/linux-6.15/lib/tests/ |
D | longest_symbol_kunit.c | 39 static void test_longest_symbol(struct kunit *test) in test_longest_symbol() 44 static void test_longest_symbol_kallsyms(struct kunit *test) in test_longest_symbol_kallsyms()
|
/linux-6.15/security/landlock/ |
D | audit.c | 157 static void test_get_hierarchy(struct kunit *const test) in test_get_hierarchy() 219 static void test_get_denied_layer(struct kunit *const test) in test_get_denied_layer() 311 static void test_get_layer_from_deny_masks(struct kunit *const test) in test_get_layer_from_deny_masks()
|
/linux-6.15/tools/testing/selftests/bpf/prog_tests/ |
D | btf_skc_cls_ingress.c | 234 struct test { struct 236 void (*run)(struct test_btf_skc_cls_ingress *skel); argument 240 static struct test tests[] = { argument
|
/linux-6.15/lib/ |
D | test_hexdump.c | 68 int groupsize, char *test, in test_hexdump_prepare_test() 128 char test[TEST_HEXDUMP_BUF_SIZE]; in test_hexdump() local 164 char test[TEST_HEXDUMP_BUF_SIZE]; in test_hexdump_overflow() local
|
/linux-6.15/drivers/gpu/drm/xe/tests/ |
D | xe_pci.c | 62 struct kunit *test = kunit_get_current_test(); in fake_read_gmdid() local 76 struct kunit *test = kunit_get_current_test(); in xe_pci_fake_device_init() local
|
/linux-6.15/drivers/net/ethernet/microchip/vcap/ |
D | vcap_api_debugfs_kunit.c | 292 static void vcap_api_addr_keyset_test(struct kunit *test) in vcap_api_addr_keyset_test() 343 static void vcap_api_show_admin_raw_test(struct kunit *test) in vcap_api_show_admin_raw_test() 401 static void vcap_api_show_admin_test(struct kunit *test) in vcap_api_show_admin_test() 474 static void vcap_api_show_admin_rule_test(struct kunit *test) in vcap_api_show_admin_rule_test()
|