Home
last modified time | relevance | path

Searched defs:test (Results 101 – 125 of 375) sorted by relevance

12345678910>>...15

/Linux-v6.6/lib/kunit/
Dstring-stream.c17 struct kunit *test, int len, gfp_t gfp) in alloc_string_stream_fragment()
34 static void string_stream_fragment_destroy(struct kunit *test, in string_stream_fragment_destroy()
136 struct string_stream *alloc_string_stream(struct kunit *test, gfp_t gfp) in alloc_string_stream()
Dattributes.c175 struct kunit_case *test = is_test ? test_or_suite : NULL; in attr_speed_get() local
186 struct kunit_case *test = is_test ? test_or_suite : NULL; in attr_module_get() local
232 struct kunit_case *test = is_test ? test_or_suite : NULL; in kunit_print_attr() local
/Linux-v6.6/drivers/hid/
Dhid-input-test.c10 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()
Dhid-uclogic-params-test.c139 static void hid_test_uclogic_parse_ugee_v2_desc(struct kunit *test) in hid_test_uclogic_parse_ugee_v2_desc()
177 static void hid_test_uclogic_params_cleanup_event_hooks(struct kunit *test) in hid_test_uclogic_params_cleanup_event_hooks()
/Linux-v6.6/tools/testing/radix-tree/
Dmaple.c29 #define RCU_MT_BUG_ON(test, y) {if (y) { test->stop = true; } MT_BUG_ON(test->mt, y); } argument
62 struct rcu_test_struct2 *test; member
34321 static void rcu_reader_register(struct rcu_test_struct2 *test) in rcu_reader_register()
34331 unsigned int id, struct rcu_test_struct2 *test) in rcu_reader_setup()
34346 struct rcu_test_struct2 *test = reader->test; in rcu_reader_fwd() local
34456 struct rcu_test_struct2 *test = reader->test; in rcu_reader_rev() local
34586 static void rcu_stress_rev(struct maple_tree *mt, struct rcu_test_struct2 *test, in rcu_stress_rev()
34645 static void rcu_stress_fwd(struct maple_tree *mt, struct rcu_test_struct2 *test, in rcu_stress_fwd()
34718 struct rcu_test_struct2 test; in rcu_stress() local
34819 int eval_rcu_entry(struct rcu_test_struct *test, void *entry, bool *update_2, in eval_rcu_entry()
[all …]
/Linux-v6.6/drivers/gpu/drm/tests/
Ddrm_client_modeset_test.c53 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()
125 static void drm_test_pick_cmdline_named(struct kunit *test) in drm_test_pick_cmdline_named()
Ddrm_dp_mst_helper_test.c55 static void drm_test_dp_mst_calc_pbn_mode(struct kunit *test) in drm_test_dp_mst_calc_pbn_mode()
359 struct kunit *test = p->arg; in drm_test_dp_mst_msg_printf() local
364 static void drm_test_dp_mst_sideband_msg_req_decode(struct kunit *test) in drm_test_dp_mst_sideband_msg_req_decode()
Ddrm_connector_test.c21 static void drm_test_get_tv_mode_from_name_valid(struct kunit *test) in drm_test_get_tv_mode_from_name_valid()
52 static void drm_test_get_tv_mode_from_name_truncated(struct kunit *test) in drm_test_get_tv_mode_from_name_truncated()
Ddrm_framebuffer_test.c333 static int drm_framebuffer_test_init(struct kunit *test) in drm_framebuffer_test_init()
350 static void drm_test_framebuffer_create(struct kunit *test) in drm_test_framebuffer_create()
/Linux-v6.6/tools/testing/selftests/kvm/aarch64/
Dpage_fault_test.c253 static bool guest_prepare(struct test_desc *test) in guest_prepare()
267 static void guest_test_check(struct test_desc *test) in guest_test_check()
279 static void guest_code(struct test_desc *test) in guest_code()
367 struct test_desc *test = p->test_desc; in setup_uffd() local
388 static void free_uffd(struct test_desc *test, struct uffd_desc *pt_uffd, in free_uffd()
542 struct test_desc *test) in setup_abort_handlers()
622 static void setup_default_handlers(struct test_desc *test) in setup_default_handlers()
631 static void check_event_counts(struct test_desc *test) in check_event_counts()
640 struct test_desc *test = p->test_desc; in print_test_banner() local
658 struct test_desc *test) in vcpu_run_loop()
[all …]
/Linux-v6.6/lib/
Dstrscpy_kunit.c25 static void tc(struct kunit *test, char *src, int count, int expected, in tc()
82 static void strscpy_test(struct kunit *test) in strscpy_test()
Dtest_hexdump.c68 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
Dtest_list_sort.c29 static void check(struct kunit *test, struct debug_el *ela, struct debug_el *elb) in check()
58 static void list_sort_test(struct kunit *test) in list_sort_test()
/Linux-v6.6/drivers/net/ethernet/microchip/vcap/
Dvcap_api_debugfs_kunit.c292 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()
/Linux-v6.6/samples/kfifo/
Drecord-example.c48 struct kfifo_rec_ptr_1 test; variable
53 static mytest test; variable
/Linux-v6.6/tools/testing/selftests/mm/
Dmremap_test.c34 struct test { struct
57 (struct test){ \ argument
/Linux-v6.6/tools/perf/tests/
Dattr.py36 def __init__(self, test, msg): argument
43 def __init__(self, test, arch): argument
50 def __init__(self, test): argument
/Linux-v6.6/drivers/platform/chrome/
Dcros_kunit_util.c64 struct ec_xfer_mock *cros_kunit_ec_xfer_mock_add(struct kunit *test, size_t size) in cros_kunit_ec_xfer_mock_add()
69 struct ec_xfer_mock *cros_kunit_ec_xfer_mock_addx(struct kunit *test, in cros_kunit_ec_xfer_mock_addx()
/Linux-v6.6/tools/testing/selftests/bpf/progs/
Dlinked_list_fail.c47 #define CHECK(test, op, hexpr) \ argument
71 #define CHECK(test, op, hexpr, nexpr) \ argument
94 #define CHECK(test, op, lexpr, hexpr) \ argument
132 #define CHECK(test, op, lexpr, hexpr, nexpr) \ argument
/Linux-v6.6/tools/testing/selftests/nolibc/
Dnolibc-test.c61 struct test { struct
62 const char *name; /* test name */ argument
63 int (*func)(int min, int max); /* handler */
599 int test; in run_startup() local
828 int test; in run_syscall() local
935 int test; in run_stdlib() local
1072 int test; in run_vfprintf() local
1231 static int is_setting_valid(char *test) in is_setting_valid()
1267 char *test; in main() local
/Linux-v6.6/tools/pci/
Dpcitest.c41 static int run_test(struct pci_test *test) in run_test()
160 struct pci_test *test; in main() local
/Linux-v6.6/fs/ext4/
Dinode-test.c222 static time64_t get_32bit_time(const struct timestamp_expectation * const test) in get_32bit_time()
241 static void inode_test_xtimestamp_decoding(struct kunit *test) in inode_test_xtimestamp_decoding()
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dalign.c602 static int do_test_single(struct bpf_align_test *test) in do_test_single()
695 struct bpf_align_test *test = &tests[i]; in test_align() local
Dbtf.c4324 struct btf_raw_test *test = &raw_tests[test_num - 1]; in do_test_raw() local
4448 const struct btf_get_info_test *test = &get_info_tests[test_num - 1]; in test_big_btf_info() local
4531 const struct btf_get_info_test *test = &get_info_tests[test_num - 1]; in test_btf_id() local
4659 const struct btf_get_info_test *test = &get_info_tests[test_num - 1]; in do_test_get_info() local
4755 const struct btf_file_test *test = &file_tests[test_num - 1]; in do_test_file() local
5387 const struct btf_raw_test *test = &pprint_test_template[test_num]; in do_test_pprint() local
6464 static int test_get_finfo(const struct prog_info_raw_test *test, in test_get_finfo()
6545 static int test_get_linfo(const struct prog_info_raw_test *test, in test_get_linfo()
6765 const struct prog_info_raw_test *test = &info_raw_tests[test_num - 1]; in do_test_info_raw() local
8009 struct btf_dedup_test *test = &dedup_tests[test_num - 1]; in do_test_dedup() local
Dselect_reuseport.c780 const struct test { in test_config() struct
781 void (*fn)(int sotype, sa_family_t family); in test_config()
782 const char *name; in test_config()
783 bool no_inner_map; in test_config()
784 int need_sotype; in test_config()

12345678910>>...15