Home
last modified time | relevance | path

Searched refs:KUNIT_ASSERT_NOT_NULL (Results 1 – 25 of 44) sorted by relevance

12

/linux/drivers/gpu/drm/ttm/tests/
A Dttm_device_test.c26 KUNIT_ASSERT_NOT_NULL(test, ttm_dev); in ttm_device_init_basic()
32 KUNIT_ASSERT_NOT_NULL(test, ttm_dev->wq); in ttm_device_init_basic()
36 KUNIT_ASSERT_NOT_NULL(test, ttm_sys_man); in ttm_device_init_basic()
39 KUNIT_ASSERT_NOT_NULL(test, ttm_sys_man->func); in ttm_device_init_basic()
55 KUNIT_ASSERT_NOT_NULL(test, ttm_devs); in ttm_device_init_multiple()
63 KUNIT_ASSERT_NOT_NULL(test, ttm_devs[i].wq); in ttm_device_init_multiple()
82 KUNIT_ASSERT_NOT_NULL(test, ttm_dev); in ttm_device_fini_basic()
88 KUNIT_ASSERT_NOT_NULL(test, man); in ttm_device_fini_basic()
106 KUNIT_ASSERT_NOT_NULL(test, ttm_dev); in ttm_device_init_no_vma_man()
163 KUNIT_ASSERT_NOT_NULL(test, ttm_dev); in ttm_device_init_pools()
[all …]
A Dttm_pool_test.c35 KUNIT_ASSERT_NOT_NULL(test, priv); in ttm_pool_test_init()
61 KUNIT_ASSERT_NOT_NULL(test, bo); in ttm_tt_kunit_init()
65 KUNIT_ASSERT_NOT_NULL(test, tt); in ttm_tt_kunit_init()
84 KUNIT_ASSERT_NOT_NULL(test, tt); in ttm_pool_pre_populated()
87 KUNIT_ASSERT_NOT_NULL(test, pool); in ttm_pool_pre_populated()
148 KUNIT_ASSERT_NOT_NULL(test, tt); in ttm_pool_alloc_basic()
210 KUNIT_ASSERT_NOT_NULL(test, tt); in ttm_pool_alloc_basic_dma_addr()
213 KUNIT_ASSERT_NOT_NULL(test, bo); in ttm_pool_alloc_basic_dma_addr()
254 KUNIT_ASSERT_NOT_NULL(test, tt); in ttm_pool_alloc_order_caching_match()
283 KUNIT_ASSERT_NOT_NULL(test, tt); in ttm_pool_alloc_caching_mismatch()
[all …]
A Dttm_tt_test.c51 KUNIT_ASSERT_NOT_NULL(test, tt); in ttm_tt_init_basic()
77 KUNIT_ASSERT_NOT_NULL(test, tt); in ttm_tt_init_misaligned()
98 KUNIT_ASSERT_NOT_NULL(test, tt); in ttm_tt_fini_basic()
118 KUNIT_ASSERT_NOT_NULL(test, tt); in ttm_tt_fini_sg()
139 KUNIT_ASSERT_NOT_NULL(test, tt); in ttm_tt_fini_shmem()
196 KUNIT_ASSERT_NOT_NULL(test, tt); in ttm_tt_create_ttm_exists()
254 KUNIT_ASSERT_NOT_NULL(test, bo->ttm); in ttm_tt_destroy_basic()
281 KUNIT_ASSERT_NOT_NULL(test, tt); in ttm_tt_populate_populated_ttm()
305 KUNIT_ASSERT_NOT_NULL(test, tt); in ttm_tt_unpopulate_basic()
328 KUNIT_ASSERT_NOT_NULL(test, tt); in ttm_tt_unpopulate_empty_ttm()
[all …]
A Dttm_resource_test.c31 KUNIT_ASSERT_NOT_NULL(test, priv); in ttm_resource_test_init()
34 KUNIT_ASSERT_NOT_NULL(test, priv->devs); in ttm_resource_test_init()
55 KUNIT_ASSERT_NOT_NULL(test, priv->devs->ttm_dev); in ttm_init_test_mocks()
70 KUNIT_ASSERT_NOT_NULL(test, man); in ttm_init_test_manager()
125 KUNIT_ASSERT_NOT_NULL(test, res); in ttm_resource_init_basic()
166 KUNIT_ASSERT_NOT_NULL(test, res); in ttm_resource_init_pinned()
196 KUNIT_ASSERT_NOT_NULL(test, res); in ttm_resource_fini_basic()
212 KUNIT_ASSERT_NOT_NULL(test, man); in ttm_resource_manager_init_basic()
220 KUNIT_ASSERT_NOT_NULL(test, &man->move_lock); in ttm_resource_manager_init_basic()
240 KUNIT_ASSERT_NOT_NULL(test, res); in ttm_resource_manager_usage_basic()
[all …]
A Dttm_kunit_helpers.c180 KUNIT_ASSERT_NOT_NULL(test, bo); in ttm_bo_kunit_init()
204 KUNIT_ASSERT_NOT_NULL(test, place); in ttm_place_kunit_init()
224 KUNIT_ASSERT_NOT_NULL(test, devs); in ttm_test_devices_basic()
250 KUNIT_ASSERT_NOT_NULL(test, ttm_dev); in ttm_test_devices_all()
275 KUNIT_ASSERT_NOT_NULL(test, priv); in ttm_test_devices_init()
289 KUNIT_ASSERT_NOT_NULL(test, priv); in ttm_test_devices_all_init()
A Dttm_bo_test.c252 KUNIT_ASSERT_NOT_NULL(test, ttm_dev); in ttm_bo_unreserve_basic()
291 KUNIT_ASSERT_NOT_NULL(test, ttm_dev); in ttm_bo_unreserve_pinned()
340 KUNIT_ASSERT_NOT_NULL(test, ttm_dev); in ttm_bo_unreserve_bulk()
343 KUNIT_ASSERT_NOT_NULL(test, ttm_dev); in ttm_bo_unreserve_bulk()
395 KUNIT_ASSERT_NOT_NULL(test, ttm_dev); in ttm_bo_put_basic()
438 KUNIT_ASSERT_NOT_NULL(test, ttm_dev); in ttm_bo_put_shared_resv()
445 KUNIT_ASSERT_NOT_NULL(test, external_resv); in ttm_bo_put_shared_resv()
450 KUNIT_ASSERT_NOT_NULL(test, fence); in ttm_bo_put_shared_resv()
478 KUNIT_ASSERT_NOT_NULL(test, ttm_dev); in ttm_bo_pin_basic()
513 KUNIT_ASSERT_NOT_NULL(test, ttm_dev); in ttm_bo_pin_unpin_resource()
[all …]
A Dttm_bo_validate_test.c35 KUNIT_ASSERT_NOT_NULL(test, placement); in ttm_placement_kunit_init()
58 KUNIT_ASSERT_NOT_NULL(test, fence); in alloc_mock_fence()
117 KUNIT_ASSERT_NOT_NULL(test, bo); in ttm_bo_init_reserved_sys_man()
166 KUNIT_ASSERT_NOT_NULL(test, bo); in ttm_bo_init_reserved_mock_man()
206 KUNIT_ASSERT_NOT_NULL(test, bo); in ttm_bo_init_reserved_resv()
245 KUNIT_ASSERT_NOT_NULL(test, bo); in ttm_bo_validate_basic()
391 KUNIT_ASSERT_NOT_NULL(test, bo); in ttm_bo_validate_same_placement()
432 KUNIT_ASSERT_NOT_NULL(test, bo); in ttm_bo_validate_busy_placement()
479 KUNIT_ASSERT_NOT_NULL(test, bo); in ttm_bo_validate_multihop()
717 KUNIT_ASSERT_NOT_NULL(test, bo); in ttm_bo_validate_move_fence_not_signaled()
[all …]
/linux/drivers/gpu/drm/tests/
A Ddrm_hdmi_state_helper_test.c253 KUNIT_ASSERT_NOT_NULL(test, priv); in drm_test_check_broadcast_rgb_crtc_mode_changed()
316 KUNIT_ASSERT_NOT_NULL(test, priv); in drm_test_check_broadcast_rgb_crtc_mode_not_changed()
379 KUNIT_ASSERT_NOT_NULL(test, priv); in drm_test_check_broadcast_rgb_auto_cea_mode()
435 KUNIT_ASSERT_NOT_NULL(test, priv); in drm_test_check_broadcast_rgb_auto_cea_mode_vic_1()
445 KUNIT_ASSERT_NOT_NULL(test, mode); in drm_test_check_broadcast_rgb_auto_cea_mode_vic_1()
491 KUNIT_ASSERT_NOT_NULL(test, priv); in drm_test_check_broadcast_rgb_full_cea_mode()
549 KUNIT_ASSERT_NOT_NULL(test, priv); in drm_test_check_broadcast_rgb_full_cea_mode_vic_1()
559 KUNIT_ASSERT_NOT_NULL(test, mode); in drm_test_check_broadcast_rgb_full_cea_mode_vic_1()
607 KUNIT_ASSERT_NOT_NULL(test, priv); in drm_test_check_broadcast_rgb_limited_cea_mode()
665 KUNIT_ASSERT_NOT_NULL(test, priv); in drm_test_check_broadcast_rgb_limited_cea_mode_vic_1()
[all …]
A Ddrm_modes_test.c24 KUNIT_ASSERT_NOT_NULL(test, priv); in drm_test_modes_init()
48 KUNIT_ASSERT_NOT_NULL(test, mode); in drm_test_modes_analog_tv_ntsc_480i()
78 KUNIT_ASSERT_NOT_NULL(test, expected); in drm_test_modes_analog_tv_ntsc_480i_inlined()
81 KUNIT_ASSERT_NOT_NULL(test, mode); in drm_test_modes_analog_tv_ntsc_480i_inlined()
95 KUNIT_ASSERT_NOT_NULL(test, mode); in drm_test_modes_analog_tv_pal_576i()
125 KUNIT_ASSERT_NOT_NULL(test, expected); in drm_test_modes_analog_tv_pal_576i_inlined()
128 KUNIT_ASSERT_NOT_NULL(test, mode); in drm_test_modes_analog_tv_pal_576i_inlined()
142 KUNIT_ASSERT_NOT_NULL(test, mode); in drm_test_modes_analog_tv_mono_576i()
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 …]
A Ddrm_client_modeset_test.c59 KUNIT_ASSERT_NOT_NULL(test, priv); in drm_client_modeset_test_init()
96 KUNIT_ASSERT_NOT_NULL(test, expected_mode); in drm_test_pick_cmdline_res_1920_1080_60()
109 KUNIT_ASSERT_NOT_NULL(test, mode); in drm_test_pick_cmdline_res_1920_1080_60()
147 KUNIT_ASSERT_NOT_NULL(test, mode); in drm_test_pick_cmdline_named()
150 KUNIT_ASSERT_NOT_NULL(test, expected_mode); in drm_test_pick_cmdline_named()
A Ddrm_connector_test.c500 KUNIT_ASSERT_NOT_NULL(test, prop); in drm_test_connector_hdmi_init_bpc_8()
512 KUNIT_ASSERT_NOT_NULL(test, prop); in drm_test_connector_hdmi_init_bpc_8()
541 KUNIT_ASSERT_NOT_NULL(test, prop); in drm_test_connector_hdmi_init_bpc_10()
553 KUNIT_ASSERT_NOT_NULL(test, prop); in drm_test_connector_hdmi_init_bpc_10()
582 KUNIT_ASSERT_NOT_NULL(test, prop); in drm_test_connector_hdmi_init_bpc_12()
594 KUNIT_ASSERT_NOT_NULL(test, prop); in drm_test_connector_hdmi_init_bpc_12()
947 KUNIT_ASSERT_NOT_NULL(test, prop); in drm_test_drm_connector_attach_broadcast_rgb_property()
972 KUNIT_ASSERT_NOT_NULL(test, prop); in drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector()
1000 KUNIT_ASSERT_NOT_NULL(test, mode); in drm_test_drm_hdmi_compute_mode_clock_rgb()
1021 KUNIT_ASSERT_NOT_NULL(test, mode); in drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc()
[all …]
A Ddrm_probe_helper_test.c40 KUNIT_ASSERT_NOT_NULL(test, priv); in drm_probe_helper_test_init()
130 KUNIT_ASSERT_NOT_NULL(test, mode); in drm_test_connector_helper_tv_get_modes_check()
133 KUNIT_ASSERT_NOT_NULL(test, expected); in drm_test_connector_helper_tv_get_modes_check()
141 KUNIT_ASSERT_NOT_NULL(test, mode); in drm_test_connector_helper_tv_get_modes_check()
144 KUNIT_ASSERT_NOT_NULL(test, expected); in drm_test_connector_helper_tv_get_modes_check()
A Ddrm_gem_shmem_test.c76 KUNIT_ASSERT_NOT_NULL(test, buf); in drm_gem_shmem_test_obj_create_private()
79 KUNIT_ASSERT_NOT_NULL(test, sgt); in drm_gem_shmem_test_obj_create_private()
144 KUNIT_ASSERT_NOT_NULL(test, shmem->pages); in drm_gem_shmem_test_pin_pages()
148 KUNIT_ASSERT_NOT_NULL(test, shmem->pages[i]); in drm_gem_shmem_test_pin_pages()
178 KUNIT_ASSERT_NOT_NULL(test, shmem->vaddr); in drm_gem_shmem_test_vmap()
253 KUNIT_ASSERT_NOT_NULL(test, shmem->pages); in drm_gem_shmem_test_get_sg_table()
A Ddrm_plane_helper_test.c55 KUNIT_ASSERT_NOT_NULL(test, plane); in drm_plane_helper_init()
58 KUNIT_ASSERT_NOT_NULL(test, fb); in drm_plane_helper_init()
63 KUNIT_ASSERT_NOT_NULL(test, mock); in drm_plane_helper_init()
A Ddrm_kunit_helpers.c110 KUNIT_ASSERT_NOT_NULL(test, ctx); in drm_kunit_helper_acquire_ctx_alloc()
300 KUNIT_ASSERT_NOT_NULL(test, crtc); in drm_kunit_helper_create_crtc()
/linux/net/handshake/
A Dhandshake-test.c172 KUNIT_ASSERT_NOT_NULL(test, req); in handshake_req_submit_test2()
191 KUNIT_ASSERT_NOT_NULL(test, req); in handshake_req_submit_test3()
217 KUNIT_ASSERT_NOT_NULL(test, req); in handshake_req_submit_test4()
252 KUNIT_ASSERT_NOT_NULL(test, req); in handshake_req_submit_test5()
264 KUNIT_ASSERT_NOT_NULL(test, hn); in handshake_req_submit_test5()
322 KUNIT_ASSERT_NOT_NULL(test, req); in handshake_req_cancel_test1()
358 KUNIT_ASSERT_NOT_NULL(test, req); in handshake_req_cancel_test2()
373 KUNIT_ASSERT_NOT_NULL(test, hn); in handshake_req_cancel_test2()
400 KUNIT_ASSERT_NOT_NULL(test, req); in handshake_req_cancel_test3()
415 KUNIT_ASSERT_NOT_NULL(test, hn); in handshake_req_cancel_test3()
[all …]
/linux/drivers/gpu/drm/xe/tests/
A Dxe_lmtt_test.c29 KUNIT_ASSERT_NOT_NULL(test, ops->lmtt_root_pd_level); in test_ops()
30 KUNIT_ASSERT_NOT_NULL(test, ops->lmtt_pte_num); in test_ops()
31 KUNIT_ASSERT_NOT_NULL(test, ops->lmtt_pte_size); in test_ops()
32 KUNIT_ASSERT_NOT_NULL(test, ops->lmtt_pte_shift); in test_ops()
33 KUNIT_ASSERT_NOT_NULL(test, ops->lmtt_pte_index); in test_ops()
34 KUNIT_ASSERT_NOT_NULL(test, ops->lmtt_pte_encode); in test_ops()
/linux/drivers/clk/
A Dclk-fractional-divider_test.c22 KUNIT_ASSERT_NOT_NULL(test, fd); in clk_fd_test_approximation_max_denominator()
51 KUNIT_ASSERT_NOT_NULL(test, fd); in clk_fd_test_approximation_max_numerator()
80 KUNIT_ASSERT_NOT_NULL(test, fd); in clk_fd_test_approximation_max_denominator_zero_based()
110 KUNIT_ASSERT_NOT_NULL(test, fd); in clk_fd_test_approximation_max_numerator_zero_based()
/linux/drivers/thunderbolt/
A Dtest.c908 KUNIT_ASSERT_NOT_NULL(test, path); in tb_test_path_not_bonded_lane0()
970 KUNIT_ASSERT_NOT_NULL(test, path); in tb_test_path_not_bonded_lane1()
2678 KUNIT_ASSERT_NOT_NULL(test, p); in tb_test_property_parse()
2682 KUNIT_ASSERT_NOT_NULL(test, p); in tb_test_property_parse()
2686 KUNIT_ASSERT_NOT_NULL(test, p); in tb_test_property_parse()
2690 KUNIT_ASSERT_NOT_NULL(test, p); in tb_test_property_parse()
2697 KUNIT_ASSERT_NOT_NULL(test, p); in tb_test_property_parse()
2703 KUNIT_ASSERT_NOT_NULL(test, p); in tb_test_property_parse()
2707 KUNIT_ASSERT_NOT_NULL(test, p); in tb_test_property_parse()
2711 KUNIT_ASSERT_NOT_NULL(test, p); in tb_test_property_parse()
[all …]
/linux/net/wireless/tests/
A Dfragmentation.c26 KUNIT_ASSERT_NOT_NULL(test, data); in defragment_0()
61 KUNIT_ASSERT_NOT_NULL(test, data); in defragment_1()
109 KUNIT_ASSERT_NOT_NULL(test, data); in defragment_2()
148 KUNIT_ASSERT_NOT_NULL(test, data); in defragment_at_end()
A Dscan.c237 KUNIT_ASSERT_NOT_NULL(test, parent); in KUNIT_ARRAY_PARAM_DESC()
238 KUNIT_ASSERT_NOT_NULL(test, child); in KUNIT_ARRAY_PARAM_DESC()
239 KUNIT_ASSERT_NOT_NULL(test, reference); in KUNIT_ARRAY_PARAM_DESC()
240 KUNIT_ASSERT_NOT_NULL(test, out); in KUNIT_ARRAY_PARAM_DESC()
293 KUNIT_ASSERT_NOT_NULL(test, malformed); in test_gen_new_ie_malformed()
294 KUNIT_ASSERT_NOT_NULL(test, out); in test_gen_new_ie_malformed()
361 KUNIT_ASSERT_NOT_NULL(test, inform_bss.chan); in test_inform_bss_ssid_only()
552 KUNIT_ASSERT_NOT_NULL(test, input); in KUNIT_ARRAY_PARAM_DESC()
557 KUNIT_ASSERT_NOT_NULL(test, inform_bss.chan); in KUNIT_ARRAY_PARAM_DESC()
621 KUNIT_ASSERT_NOT_NULL(test, link_bss); in KUNIT_ARRAY_PARAM_DESC()
[all …]
A Dutil.c21 KUNIT_ASSERT_NOT_NULL(test, ops); in t_wiphy_init()
24 KUNIT_ASSERT_NOT_NULL(test, wiphy); in t_wiphy_init()
/linux/drivers/net/wireless/intel/iwlwifi/mvm/tests/
A Dlinks.c187 KUNIT_ASSERT_NOT_NULL(test, vif); in KUNIT_ARRAY_PARAM_DESC()
200 KUNIT_ASSERT_NOT_NULL(test, ies); in KUNIT_ARRAY_PARAM_DESC()
388 KUNIT_ASSERT_NOT_NULL(test, vif); in KUNIT_ARRAY_PARAM_DESC()
389 KUNIT_ASSERT_NOT_NULL(test, trans); in KUNIT_ARRAY_PARAM_DESC()
403 KUNIT_ASSERT_NOT_NULL(test, conf); in KUNIT_ARRAY_PARAM_DESC()
409 KUNIT_ASSERT_NOT_NULL(test, conf); in KUNIT_ARRAY_PARAM_DESC()
/linux/net/core/
A Dnet_test.c159 KUNIT_ASSERT_NOT_NULL(test, page); in gso_test_func()
161 KUNIT_ASSERT_NOT_NULL(test, skb); in gso_test_func()
170 KUNIT_ASSERT_NOT_NULL(test, page); in gso_test_func()
193 KUNIT_ASSERT_NOT_NULL(test, page); in gso_test_func()
198 KUNIT_ASSERT_NOT_NULL(test, frag_skb); in gso_test_func()

Completed in 57 milliseconds

12