/linux-master/drivers/gpu/drm/xe/tests/ |
H A D | xe_bo_test.h | 9 struct kunit; 11 void xe_ccs_migrate_kunit(struct kunit *test); 12 void xe_bo_evict_kunit(struct kunit *test);
|
H A D | xe_mocs_test.h | 9 struct kunit; 11 void xe_live_mocs_kernel_kunit(struct kunit *test); 12 void xe_live_mocs_reset_kunit(struct kunit *test);
|
H A D | xe_dma_buf_test.h | 9 struct kunit; 11 void xe_dma_buf_kunit(struct kunit *test);
|
H A D | xe_migrate_test.h | 9 struct kunit; 11 void xe_migrate_sanity_kunit(struct kunit *test);
|
H A D | xe_kunit_helpers.h | 10 struct kunit; 13 struct xe_device *xe_kunit_helper_alloc_xe_device(struct kunit *test, 15 int xe_kunit_helper_xe_device_test_init(struct kunit *test);
|
H A D | xe_pci_test.c | 9 #include <kunit/test.h> 19 struct kunit *test = xe_cur_kunit(); 33 struct kunit *test = xe_cur_kunit(); 45 static void xe_gmdid_graphics_ip(struct kunit *test) 50 static void xe_gmdid_media_ip(struct kunit *test)
|
H A D | xe_dma_buf_test.c | 8 #include <kunit/test.h> 24 MODULE_DESCRIPTION("xe_dma_buf kunit test");
|
/linux-master/include/kunit/ |
H A D | device.h | 16 #include <kunit/test.h> 31 struct device_driver *kunit_driver_create(struct kunit *test, const char *name); 47 struct device *kunit_device_register(struct kunit *test, const char *name); 63 struct device *kunit_device_register_with_driver(struct kunit *test, 76 void kunit_device_unregister(struct kunit *test, struct device *dev);
|
H A D | try-catch.h | 18 struct kunit; 35 * needed to implement kunit->abort() which in turn is needed for implementing 48 struct kunit *test;
|
H A D | static_stub.h | 18 #include <kunit/test.h> 19 #include <kunit/test-bug.h> 52 * void example_test(struct kunit *test) 62 struct kunit *current_test = kunit_get_current_test(); \ 77 void __kunit_activate_static_stub(struct kunit *test, 83 * @test: A pointer to the 'struct kunit' test context for the current test. 103 * @test: A pointer to the 'struct kunit' test context for the current test. 110 void kunit_deactivate_static_stub(struct kunit *test, void *real_fn_addr);
|
H A D | resource.h | 12 #include <kunit/test.h> 67 * void *kunit_kmalloc(struct kunit *test, size_t size, gfp_t gfp) 153 int __kunit_add_resource(struct kunit *test, 169 static inline int kunit_add_resource(struct kunit *test, 180 kunit_find_named_resource(struct kunit *test, const char *name); 191 static inline int kunit_add_named_resource(struct kunit *test, 237 kunit_alloc_and_get_resource(struct kunit *test, 280 static inline void *kunit_alloc_resource(struct kunit *test, 299 typedef bool (*kunit_resource_match_t)(struct kunit *test, 309 static inline bool kunit_resource_name_match(struct kunit *tes [all...] |
H A D | test-bug.h | 22 /* Hooks table: a table of function pointers filled in when kunit loads */ 25 void *(*get_static_stub_address)(struct kunit *test, void *real_fn_addr); 33 * associated struct kunit. This pointer can then be passed to any KUnit 41 static inline struct kunit *kunit_get_current_test(void) 65 static inline struct kunit *kunit_get_current_test(void) { return NULL; }
|
H A D | skbuff.h | 11 #include <kunit/resource.h> 25 * and add it as a resource to the kunit test for automatic cleanup. 29 static inline struct sk_buff *kunit_zalloc_skb(struct kunit *test, int len, 48 static inline void kunit_kfree_skb(struct kunit *test, struct sk_buff *skb)
|
/linux-master/drivers/gpu/drm/ttm/tests/ |
H A D | ttm_kunit_helpers.h | 14 #include <kunit/test.h> 29 struct ttm_buffer_object *ttm_bo_kunit_init(struct kunit *test, 32 struct ttm_place *ttm_place_kunit_init(struct kunit *test, 35 struct ttm_test_devices *ttm_test_devices_basic(struct kunit *test); 36 struct ttm_test_devices *ttm_test_devices_all(struct kunit *test); 38 void ttm_test_devices_put(struct kunit *test, struct ttm_test_devices *devs); 41 int ttm_test_devices_init(struct kunit *test); 42 void ttm_test_devices_fini(struct kunit *test);
|
/linux-master/lib/kunit/ |
H A D | try-catch-impl.h | 3 * Internal kunit try catch implementation to be shared with tests. 12 #include <kunit/try-catch.h> 15 struct kunit; 18 struct kunit *test,
|
H A D | Makefile | 1 obj-$(CONFIG_KUNIT) += kunit.o 3 kunit-objs += test.o \ 14 kunit-objs += debugfs.o 20 obj-$(CONFIG_KUNIT_TEST) += kunit-test.o 27 obj-$(CONFIG_KUNIT_EXAMPLE_TEST) += kunit-example-test.o
|
H A D | hooks.c | 13 #include <kunit/test-bug.h>
|
H A D | hooks-impl.h | 6 * found in include/kunit/test-bug.h. 15 #include <kunit/test-bug.h> 21 void *__kunit_get_static_stub_address_impl(struct kunit *test, void *real_fn_addr);
|
/linux-master/drivers/of/ |
H A D | of_test.c | 8 #include <kunit/test.h> 13 static void of_dtb_root_node_found_by_path(struct kunit *test) 26 static void of_dtb_root_node_populates_of_root(struct kunit *test) 37 static int of_dtb_test_init(struct kunit *test)
|
/linux-master/arch/s390/lib/ |
H A D | test_modules.c | 3 #include <kunit/test.h> 11 static void test_modules_many_vmlinux_relocs(struct kunit *test)
|
H A D | test_kprobes.c | 6 #include <kunit/test.h> 11 static void setup_kprobe(struct kunit *test, struct kprobe *kp, 19 static void test_kprobe_offset(struct kunit *test, struct kprobe *kp, 36 static void test_kprobe_odd(struct kunit *test) 42 static void test_kprobe_in_insn4(struct kunit *test) 48 static void test_kprobe_in_insn6_lo(struct kunit *test) 54 static void test_kprobe_in_insn6_hi(struct kunit *test)
|
/linux-master/drivers/gpu/drm/vc4/tests/ |
H A D | vc4_mock.h | 9 struct drm_crtc *vc4_find_crtc_for_encoder(struct kunit *test, 28 struct vc4_dummy_plane *vc4_dummy_plane(struct kunit *test, 36 struct vc4_dummy_crtc *vc4_mock_pv(struct kunit *test, 49 struct vc4_dummy_output *vc4_dummy_output(struct kunit *test, 56 struct vc4_dev *vc4_mock_device(struct kunit *test); 57 struct vc4_dev *vc5_mock_device(struct kunit *test); 59 int vc4_mock_atomic_add_output(struct kunit *test, 62 int vc4_mock_atomic_del_output(struct kunit *test,
|
/linux-master/include/drm/ |
H A D | drm_kunit_helpers.h | 10 #include <kunit/test.h> 17 struct kunit; 19 struct device *drm_kunit_helper_alloc_device(struct kunit *test); 20 void drm_kunit_helper_free_device(struct kunit *test, struct device *dev); 23 __drm_kunit_helper_alloc_drm_device_with_driver(struct kunit *test, 55 __drm_kunit_helper_alloc_drm_device(struct kunit *test, 99 drm_kunit_helper_acquire_ctx_alloc(struct kunit *test); 102 drm_kunit_helper_atomic_state_alloc(struct kunit *test, 107 drm_kunit_helper_create_primary_plane(struct kunit *test, 116 drm_kunit_helper_create_crtc(struct kunit *tes [all...] |
/linux-master/arch/riscv/kernel/tests/module_test/ |
H A D | test_module_linking_main.c | 9 #include <kunit/test.h> 31 void run_test_set(struct kunit *test); 32 void run_test_sub(struct kunit *test); 33 void run_test_uleb(struct kunit *test); 35 void run_test_set(struct kunit *test) 48 void run_test_sub(struct kunit *test) 64 void run_test_uleb(struct kunit *test)
|
/linux-master/net/mctp/test/ |
H A D | utils.h | 6 #include <kunit/test.h>
|