Home
last modified time | relevance | path

Searched refs:test (Results 1 – 25 of 1491) sorted by relevance

12345678910>>...60

/linux/drivers/gpu/drm/tests/
H A Ddrm_cmdline_parser_test.c25 KUNIT_EXPECT_FALSE(test, mode.rb); in drm_test_cmdline_force_e_only()
26 KUNIT_EXPECT_FALSE(test, mode.cvt); in drm_test_cmdline_force_e_only()
43 KUNIT_EXPECT_FALSE(test, mode.rb); in drm_test_cmdline_force_D_only_not_digital()
44 KUNIT_EXPECT_FALSE(test, mode.cvt); in drm_test_cmdline_force_D_only_not_digital()
65 KUNIT_EXPECT_FALSE(test, mode.rb); in drm_test_cmdline_force_D_only_hdmi()
66 KUNIT_EXPECT_FALSE(test, mode.cvt); in drm_test_cmdline_force_D_only_hdmi()
87 KUNIT_EXPECT_FALSE(test, mode.rb); in drm_test_cmdline_force_D_only_dvi()
105 KUNIT_EXPECT_FALSE(test, mode.rb); in drm_test_cmdline_force_d_only()
127 KUNIT_EXPECT_FALSE(test, mode.rb); in drm_test_cmdline_res()
171 KUNIT_EXPECT_TRUE(test, mode.rb); in drm_test_cmdline_res_vesa_rblank()
[all …]
H A Ddrm_format_test.c25 KUNIT_ASSERT_NOT_NULL(test, info); in drm_test_format_block_width_one_plane()
36 KUNIT_ASSERT_NOT_NULL(test, info); in drm_test_format_block_width_two_plane()
48 KUNIT_ASSERT_NOT_NULL(test, info); in drm_test_format_block_width_three_plane()
61 KUNIT_ASSERT_NOT_NULL(test, info); in drm_test_format_block_width_tiled()
81 KUNIT_ASSERT_NOT_NULL(test, info); in drm_test_format_block_height_one_plane()
92 KUNIT_ASSERT_NOT_NULL(test, info); in drm_test_format_block_height_two_plane()
104 KUNIT_ASSERT_NOT_NULL(test, info); in drm_test_format_block_height_three_plane()
117 KUNIT_ASSERT_NOT_NULL(test, info); in drm_test_format_block_height_tiled()
137 KUNIT_ASSERT_NOT_NULL(test, info); in drm_test_format_min_pitch_one_plane_8bpp()
160 KUNIT_ASSERT_NOT_NULL(test, info); in drm_test_format_min_pitch_one_plane_16bpp()
[all …]
H A Ddrm_gem_shmem_test.c95 KUNIT_ASSERT_EQ(test, ret, 0); in drm_gem_shmem_test_obj_create_private()
98 KUNIT_ASSERT_EQ(test, ret, 0); in drm_gem_shmem_test_obj_create_private()
101 KUNIT_ASSERT_EQ(test, ret, 0); in drm_gem_shmem_test_obj_create_private()
142 KUNIT_ASSERT_EQ(test, ret, 0); in drm_gem_shmem_test_pin_pages()
145 KUNIT_ASSERT_EQ(test, ret, 0); in drm_gem_shmem_test_pin_pages()
176 KUNIT_ASSERT_EQ(test, ret, 0); in drm_gem_shmem_test_vmap()
179 KUNIT_ASSERT_EQ(test, ret, 0); in drm_gem_shmem_test_vmap()
287 KUNIT_EXPECT_TRUE(test, ret); in drm_gem_shmem_test_madvise()
325 KUNIT_EXPECT_TRUE(test, ret); in drm_gem_shmem_test_purge()
332 KUNIT_EXPECT_TRUE(test, ret); in drm_gem_shmem_test_purge()
[all …]
/linux/lib/kunit/
H A Dkunit-test.c44 test, in kunit_test_try_catch_successful_try_no_catch()
76 test, in kunit_test_try_catch_unsuccessful_try_does_catch()
130 test, in kunit_test_fault_null_dereference()
187 KUNIT_EXPECT_TRUE(test, list_empty(&ctx->test.resources)); in kunit_resource_test_init_resources()
231 &ctx->test, in kunit_resource_test_destroy_resource()
252 &ctx->test, in kunit_resource_test_remove_resource()
414 KUNIT_EXPECT_TRUE(test, list_empty(&test->resources)); in kunit_resource_test_static()
450 KUNIT_EXPECT_TRUE(test, list_empty(&test->resources)); in kunit_resource_test_named()
605 KUNIT_EXPECT_TRUE(test, test->log->append_newlines); in kunit_log_test()
621 KUNIT_EXPECT_NULL(test, test->log); in kunit_log_test()
[all …]
H A Dkunit-example-test.c30 KUNIT_EXPECT_EQ(test, 1 + 1, 2); in example_simple_test()
114 KUNIT_EXPECT_TRUE(test, true); in example_all_expect_macros_test()
115 KUNIT_EXPECT_FALSE(test, false); in example_all_expect_macros_test()
126 KUNIT_EXPECT_NOT_ERR_OR_NULL(test, test); in example_all_expect_macros_test()
128 KUNIT_EXPECT_PTR_NE(test, test, NULL); in example_all_expect_macros_test()
129 KUNIT_EXPECT_NULL(test, NULL); in example_all_expect_macros_test()
130 KUNIT_EXPECT_NOT_NULL(test, test); in example_all_expect_macros_test()
264 KUNIT_ASSERT_NULL(test, test->priv); in example_priv_test()
267 test->priv = kunit_kzalloc(test, 1, GFP_KERNEL); in example_priv_test()
268 KUNIT_EXPECT_NOT_NULL(test, test->priv); in example_priv_test()
[all …]
H A Dstring-stream-test.c153 current->kunit_test = test; in string_stream_resource_free_test()
295 KUNIT_EXPECT_EQ(test, strlen(get_concatenated_string(test, stream_1)), 0); in string_stream_append_test()
305 KUNIT_EXPECT_STREQ(test, get_concatenated_string(test, stream_1), in string_stream_append_test()
327 KUNIT_EXPECT_STREQ(test, get_concatenated_string(test, stream_1), combined_content); in string_stream_append_test()
336 KUNIT_EXPECT_STREQ(test, get_concatenated_string(test, stream_1), stream_2_content); in string_stream_append_test()
359 KUNIT_EXPECT_STREQ(test, get_concatenated_string(test, stream_1), in string_stream_append_auto_newline_test()
374 KUNIT_EXPECT_STREQ(test, get_concatenated_string(test, stream_1), in string_stream_append_auto_newline_test()
398 KUNIT_EXPECT_STREQ(test, get_concatenated_string(test, stream), "Add this line"); in string_stream_append_empty_string_test()
420 KUNIT_EXPECT_STREQ(test, get_concatenated_string(test, stream), in string_stream_no_auto_newline_test()
447 KUNIT_EXPECT_STREQ(test, get_concatenated_string(test, stream), in string_stream_auto_newline_test()
[all …]
H A Dexecutor_test.c17 static void dummy_test(struct kunit *test) {} in dummy_test() argument
58 KUNIT_ASSERT_EQ(test, err, 0); in filter_suites_test()
59 free_suite_set_at_end(test, &got); in filter_suites_test()
84 KUNIT_ASSERT_EQ(test, err, 0); in filter_suites_test_glob_test()
85 free_suite_set_at_end(test, &got); in filter_suites_test_glob_test()
111 KUNIT_ASSERT_EQ(test, err, 0); in filter_suites_to_empty_test()
174 KUNIT_ASSERT_EQ(test, err, 0); in filter_attr_test()
175 free_suite_set_at_end(test, &got); in filter_attr_test()
202 KUNIT_ASSERT_EQ(test, err, 0); in filter_attr_empty_test()
224 KUNIT_ASSERT_EQ(test, err, 0); in filter_attr_skip_test()
[all …]
/linux/drivers/platform/chrome/
H A Dcros_ec_proto_test.c64 KUNIT_EXPECT_EQ(test, in cros_ec_proto_test_prepare_tx_legacy_normal()
170 KUNIT_EXPECT_EQ(test, ret, 0); in cros_ec_proto_test_check_result()
259 KUNIT_EXPECT_EQ(test, ret, 0); in cros_ec_proto_test_query_all_normal()
381 KUNIT_EXPECT_EQ(test, ret, 0); in cros_ec_proto_test_query_all_no_pd_return_error()
446 KUNIT_EXPECT_EQ(test, ret, 0); in cros_ec_proto_test_query_all_no_pd_return0()
503 KUNIT_EXPECT_EQ(test, ret, 0); in cros_ec_proto_test_query_all_legacy_normal_v3_return_error()
568 KUNIT_EXPECT_EQ(test, ret, 0); in cros_ec_proto_test_query_all_legacy_normal_v3_return0()
849 KUNIT_EXPECT_EQ(test, ret, 0); in cros_ec_proto_test_query_all_no_mkbp()
937 KUNIT_EXPECT_EQ(test, ret, 0); in cros_ec_proto_test_query_all_no_mkbp_return_error()
1025 KUNIT_EXPECT_EQ(test, ret, 0); in cros_ec_proto_test_query_all_no_mkbp_return0()
[all …]
/linux/lib/
H A Dstring_kunit.c16 #define STRCMP_TEST_EXPECT_EQUAL(test, fn, ...) KUNIT_EXPECT_EQ(test, fn(__VA_ARGS__), 0) argument
17 #define STRCMP_TEST_EXPECT_LOWER(test, fn, ...) KUNIT_EXPECT_LT(test, fn(__VA_ARGS__), 0) argument
18 #define STRCMP_TEST_EXPECT_GREATER(test, fn, ...) KUNIT_EXPECT_GT(test, fn(__VA_ARGS__), 0) argument
26 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, p); in string_test_memset16()
55 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, p); in string_test_memset32()
84 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, p); in string_test_memset64()
124 KUNIT_ASSERT_NULL(test, result); in string_test_strchr()
127 KUNIT_ASSERT_NULL(test, result); in string_test_strchr()
151 KUNIT_ASSERT_NULL(test, result); in string_test_strnchr()
157 KUNIT_ASSERT_NULL(test, result); in string_test_strnchr()
[all …]
H A Dfortify_kunit.c92 KUNIT_EXPECT_EQ(test, __compiletime_strlen(test->name), SIZE_MAX); in fortify_test_known_sizes()
130 KUNIT_EXPECT_EQ(test, expected, expected)
241 KUNIT_EXPECT_TRUE(test, orig != NULL); \
359 kunit_device_unregister(test, dev); \
412 KUNIT_EXPECT_EQ(test, pad.buf[end], '\0'); in fortify_test_strlen()
413 KUNIT_EXPECT_EQ(test, pad.bytes_after, 0); in fortify_test_strlen()
870 KUNIT_ASSERT_EQ(test, srcA[0], 'A'); \
872 KUNIT_ASSERT_EQ(test, srcB[0], 'B'); \
1009 KUNIT_EXPECT_NOT_NULL(test, copy); in fortify_test_kmemdup()
1015 KUNIT_EXPECT_NOT_NULL(test, copy); in fortify_test_kmemdup()
[all …]
H A Dlist-test.c249 KUNIT_EXPECT_EQ(test, i, 4); in list_test_list_bulk_move_tail()
255 KUNIT_EXPECT_EQ(test, i, 2); in list_test_list_bulk_move_tail()
363 KUNIT_EXPECT_EQ(test, i, 4); in list_test_list_rotate_to_front()
405 KUNIT_EXPECT_EQ(test, i, 2); in list_test_list_cut_position()
433 KUNIT_EXPECT_EQ(test, i, 1); in list_test_list_cut_before()
463 KUNIT_EXPECT_EQ(test, i, 5); in list_test_list_splice()
488 KUNIT_EXPECT_EQ(test, i, 5); in list_test_list_splice_tail()
513 KUNIT_EXPECT_EQ(test, i, 5); in list_test_list_splice_init()
540 KUNIT_EXPECT_EQ(test, i, 5); in list_test_list_splice_tail_init()
562 KUNIT_EXPECT_TRUE_MSG(test, in list_test_list_entry_is_head()
[all …]
/linux/mm/kasan/
H A Dkasan_test.c341 KUNIT_EXPECT_KASAN_FAIL(test, in krealloc_more_oob_helper()
373 KUNIT_EXPECT_KASAN_FAIL(test, in krealloc_less_oob_helper()
428 KUNIT_ASSERT_NULL(test, ptr2); in krealloc_uaf()
566 KUNIT_EXPECT_KASAN_FAIL(test, in kmalloc_oob_in_memset()
592 KUNIT_EXPECT_KASAN_FAIL(test, in kmalloc_memmove_negative_size()
611 KUNIT_EXPECT_KASAN_FAIL(test, in kmalloc_memmove_invalid_size()
870 KUNIT_EXPECT_KASAN_FAIL(test, in rcu_uaf()
895 KUNIT_EXPECT_KASAN_FAIL(test, in workqueue_uaf()
1072 KUNIT_ASSERT_EQ(test, ret, 0); in mempool_prepare_kmalloc()
1461 KUNIT_EXPECT_KASAN_FAIL(test, in kasan_memchr()
[all …]
/linux/drivers/base/test/
H A Dproperty-entry-test.c31 KUNIT_EXPECT_EQ(test, error, 1); in pe_test_uints()
34 KUNIT_EXPECT_EQ(test, error, 0); in pe_test_uints()
35 KUNIT_EXPECT_EQ(test, val_u8, 8); in pe_test_uints()
38 KUNIT_EXPECT_EQ(test, error, 0); in pe_test_uints()
42 KUNIT_EXPECT_NE(test, error, 0); in pe_test_uints()
45 KUNIT_EXPECT_NE(test, error, 0); in pe_test_uints()
48 KUNIT_EXPECT_NE(test, error, 0); in pe_test_uints()
51 KUNIT_EXPECT_EQ(test, error, 0); in pe_test_uints()
55 KUNIT_EXPECT_EQ(test, error, 1); in pe_test_uints()
58 KUNIT_EXPECT_EQ(test, error, 0); in pe_test_uints()
[all …]
/linux/include/kunit/
H A Dtest.h126 void (*run_case)(struct kunit *test);
246 int (*init)(struct kunit *test);
247 void (*exit)(struct kunit *test);
536 (test)->name, ##__VA_ARGS__)
589 #define KUNIT_SUCCEED(test) _KUNIT_SAVE_LOC(test) argument
617 _KUNIT_FAILED(test, \
657 _KUNIT_FAILED(test, \
719 _KUNIT_FAILED(test, \
781 _KUNIT_FAILED(test, \
815 _KUNIT_FAILED(test, \
[all …]
/linux/drivers/thunderbolt/
H A Dtest.c158 sw = alloc_host(test); in alloc_host_usb4()
428 host = alloc_host(test); in tb_test_path_basic()
445 host = alloc_host(test); in tb_test_path_not_connected_walk()
500 host = alloc_host(test); in tb_test_path_single_hop_walk()
558 host = alloc_host(test); in tb_test_path_daisy_chain_walk()
619 host = alloc_host(test); in tb_test_path_simple_tree_walk()
698 host = alloc_host(test); in tb_test_path_complex_tree_walk()
798 host = alloc_host(test); in tb_test_path_max_length_walk()
848 host = alloc_host(test); in tb_test_path_not_connected()
901 host = alloc_host(test); in tb_test_path_not_bonded_lane0()
[all …]
/linux/tools/pci/
H A Dpcitest.c53 if (test->barnum >= 0 && test->barnum <= 5) { in run_test()
98 if (test->msinum > 0 && test->msinum <= 32) { in run_test()
107 if (test->msixnum > 0 && test->msixnum <= 2048) { in run_test()
128 if (test->read) { in run_test()
140 if (test->copy) { in run_test()
162 test = calloc(1, sizeof(*test)); in main()
163 if (!test) { in main()
184 if (test->barnum < 0 || test->barnum > 5) in main()
192 if (test->msinum < 1 || test->msinum > 32) in main()
197 if (test->msixnum < 1 || test->msixnum > 2048) in main()
[all …]
/linux/drivers/clk/
H A Dclk-gate_test.c17 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, pdev); in clk_gate_register_test_dev()
21 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ret); in clk_gate_register_test_dev()
40 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ret); in clk_gate_register_test_parent_names()
60 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ret); in clk_gate_register_test_parent_data()
112 KUNIT_EXPECT_TRUE(test, IS_ERR(ret)); in clk_gate_register_test_hiword_invalid()
141 test->priv = ctx = kunit_kzalloc(test, sizeof(*ctx), GFP_KERNEL); in clk_gate_test_alloc_ctx()
156 KUNIT_EXPECT_EQ(test, prate, rate); in clk_gate_test_parent_rate()
209 ctx = clk_gate_test_alloc_ctx(test); in clk_gate_test_init()
288 ctx = clk_gate_test_alloc_ctx(test); in clk_gate_test_invert_init()
361 ctx = clk_gate_test_alloc_ctx(test); in clk_gate_test_hiword_init()
[all …]
H A Dclk_test.c179 test->priv = ctx; in clk_test_init_with_ops()
245 KUNIT_ASSERT_EQ(test, in clk_test_set_get_rate()
340 test->priv = ctx; in clk_uncached_test_init()
463 test->priv = ctx; in clk_multiple_parents_mux_test_init()
627 test->priv = ctx; in clk_orphan_transparent_multiple_parent_mux_test_init()
974 test->priv = ctx; in clk_single_parent_mux_test_init()
1248 test->priv = ctx; in clk_orphan_transparent_single_parent_mux_test_init()
1339 test->priv = ctx; in clk_orphan_two_level_root_last_test_init()
2197 test->priv = ctx; in clk_leaf_mux_set_rate_parent_test_init()
2413 test->priv = ctx; in clk_mux_notifier_test_init()
[all …]
/linux/drivers/gpu/drm/xe/tests/
H A Dxe_guc_db_mgr_test.c15 xe_kunit_helper_xe_device_test_init(test); in guc_dbm_test_init()
19 test->priv = dbm; in guc_dbm_test_init()
23 static void test_empty(struct kunit *test) in test_empty() argument
25 struct xe_guc_db_mgr *dbm = test->priv; in test_empty()
28 KUNIT_ASSERT_EQ(test, dbm->count, 0); in test_empty()
39 struct xe_guc_db_mgr *dbm = test->priv; in test_default()
124 KUNIT_ASSERT_NE(test, id2, id1); in test_range_overlap()
134 KUNIT_ASSERT_NE(test, id2, id1); in test_range_overlap()
139 KUNIT_ASSERT_NE(test, id3, id1); in test_range_overlap()
140 KUNIT_ASSERT_NE(test, id3, id2); in test_range_overlap()
[all …]
H A Dxe_guc_relay_test.c35 test->priv = &fake; in relay_test_init()
38 xe = test->priv; in relay_test_init()
49 test->priv = relay; in relay_test_init()
88 KUNIT_EXPECT_EQ(test, TEST_VFID, in replacement_xe_guc_ct_send_recv_expects_pf2guc_relay()
90 KUNIT_EXPECT_EQ(test, TEST_RID, in replacement_xe_guc_ct_send_recv_expects_pf2guc_relay()
217 KUNIT_ASSERT_EQ(test, 0, in pf_sends_pf2guc()
239 KUNIT_ASSERT_NOT_NULL(test, reply); in replacement_xe_guc_ct_send_recv_loopback_relay()
263 KUNIT_EXPECT_EQ(test, err, 0); in replacement_xe_guc_ct_send_recv_loopback_relay()
478 struct xe_device *xe = test->priv; in xe_drops_guc2pf_if_not_ready()
488 struct xe_device *xe = test->priv; in xe_drops_guc2vf_if_not_ready()
[all …]
/linux/drivers/gpu/drm/ttm/tests/
H A Dttm_tt_test.c26 test->priv = priv; in ttm_tt_test_init()
66 bo = ttm_bo_kunit_init(test, test->priv, params->size); in ttm_tt_init_basic()
92 bo = ttm_bo_kunit_init(test, test->priv, size); in ttm_tt_init_misaligned()
113 bo = ttm_bo_kunit_init(test, test->priv, BO_SIZE); in ttm_tt_fini_basic()
133 bo = ttm_bo_kunit_init(test, test->priv, BO_SIZE); in ttm_tt_fini_sg()
154 bo = ttm_bo_kunit_init(test, test->priv, BO_SIZE); in ttm_tt_fini_shmem()
171 bo = ttm_bo_kunit_init(test, test->priv, BO_SIZE); in ttm_tt_create_basic()
190 bo = ttm_bo_kunit_init(test, test->priv, BO_SIZE); in ttm_tt_create_invalid_bo_type()
211 bo = ttm_bo_kunit_init(test, test->priv, BO_SIZE); in ttm_tt_create_ttm_exists()
242 bo = ttm_bo_kunit_init(test, test->priv, BO_SIZE); in ttm_tt_create_failed()
[all …]
/linux/sound/soc/codecs/
H A Dcs-amp-lib-test.c89 kunit_activate_static_stub(test, in cs_amp_lib_test_cal_data_too_short_test()
132 kunit_activate_static_stub(test, in cs_amp_lib_test_cal_count_too_big_test()
159 kunit_activate_static_stub(test, in cs_amp_lib_test_no_cal_data_test()
212 kunit_activate_static_stub(test, in cs_amp_lib_test_get_efi_cal_by_uid_test()
218 KUNIT_EXPECT_EQ(test, ret, 0); in cs_amp_lib_test_get_efi_cal_by_uid_test()
247 kunit_activate_static_stub(test, in cs_amp_lib_test_get_efi_cal_by_index_unchecked_test()
253 KUNIT_EXPECT_EQ(test, ret, 0); in cs_amp_lib_test_get_efi_cal_by_index_unchecked_test()
288 KUNIT_EXPECT_EQ(test, ret, 0); in cs_amp_lib_test_get_efi_cal_by_index_checked_test()
359 KUNIT_EXPECT_EQ(test, ret, 0); in cs_amp_lib_test_get_efi_cal_by_index_fallback_test()
561 KUNIT_EXPECT_EQ(test, ret, 0); in cs_amp_lib_test_write_cal_data_test()
[all …]
/linux/drivers/net/ethernet/microchip/vcap/
H A Dvcap_api_kunit.c304 KUNIT_EXPECT_EQ(test, 0, ret); in test_vcap_xn_rule_creator()
311 KUNIT_EXPECT_EQ(test, 0, ret); in test_vcap_xn_rule_creator()
903 KUNIT_EXPECT_EQ(test, 0, ret); in vcap_api_encode_rule_keyset_test()
975 KUNIT_EXPECT_EQ(test, 0, ret); in vcap_api_encode_rule_actionset_test()
980 KUNIT_EXPECT_EQ(test, 0, ret); in vcap_api_encode_rule_actionset_test()
1030 KUNIT_EXPECT_EQ(test, 0, ret); in vcap_api_rule_add_keyvalue_test()
1043 KUNIT_EXPECT_EQ(test, 0, ret); in vcap_api_rule_add_keyvalue_test()
1057 KUNIT_EXPECT_EQ(test, 0, ret); in vcap_api_rule_add_keyvalue_test()
1070 KUNIT_EXPECT_EQ(test, 0, ret); in vcap_api_rule_add_keyvalue_test()
1083 KUNIT_EXPECT_EQ(test, 0, ret); in vcap_api_rule_add_keyvalue_test()
[all …]
/linux/drivers/firewire/
H A Ddevice-attribute-test.c119 KUNIT_EXPECT_STREQ(test, buf, "0xffffff\n"); in device_attr_simple_avc()
123 KUNIT_EXPECT_STREQ(test, buf, "0xffffff\n"); in device_attr_simple_avc()
140 KUNIT_EXPECT_STREQ(test, buf, "0xffffff\n"); in device_attr_simple_avc()
151 KUNIT_EXPECT_STREQ(test, buf, "0x00a02d\n"); in device_attr_simple_avc()
155 KUNIT_EXPECT_STREQ(test, buf, "0x010001\n"); in device_attr_simple_avc()
157 kunit_kfree(test, buf); in device_attr_simple_avc()
200 KUNIT_EXPECT_STREQ(test, buf, "0x012345\n"); in device_attr_legacy_avc()
204 KUNIT_EXPECT_STREQ(test, buf, "0xfedcba\n"); in device_attr_legacy_avc()
229 KUNIT_EXPECT_STREQ(test, buf, "0xabcdef\n"); in device_attr_legacy_avc()
233 KUNIT_EXPECT_STREQ(test, buf, "0x543210\n"); in device_attr_legacy_avc()
[all …]
H A Duapi-test.c12 static void structure_layout_event_response(struct kunit *test) in structure_layout_event_response() argument
16 KUNIT_EXPECT_EQ(test, 20, sizeof(struct fw_cdev_event_response)); in structure_layout_event_response()
19 KUNIT_EXPECT_EQ(test, 24, sizeof(struct fw_cdev_event_response)); in structure_layout_event_response()
23 KUNIT_EXPECT_EQ(test, 8, offsetof(struct fw_cdev_event_response, type)); in structure_layout_event_response()
30 static void structure_layout_event_request3(struct kunit *test) in structure_layout_event_request3() argument
32 KUNIT_EXPECT_EQ(test, 56, sizeof(struct fw_cdev_event_request3)); in structure_layout_event_request3()
35 KUNIT_EXPECT_EQ(test, 8, offsetof(struct fw_cdev_event_request3, type)); in structure_layout_event_request3()
49 static void structure_layout_event_response2(struct kunit *test) in structure_layout_event_response2() argument
51 KUNIT_EXPECT_EQ(test, 32, sizeof(struct fw_cdev_event_response2)); in structure_layout_event_response2()
63 static void structure_layout_event_phy_packet2(struct kunit *test) in structure_layout_event_phy_packet2() argument
[all …]

12345678910>>...60