| /include/kunit/ |
| A D | test.h | 127 void (*run_case)(struct kunit *test); 247 int (*init)(struct kunit *test); 248 void (*exit)(struct kunit *test); 616 (test)->name, ##__VA_ARGS__) 669 #define KUNIT_SUCCEED(test) _KUNIT_SAVE_LOC(test) argument 697 _KUNIT_FAILED(test, \ 737 _KUNIT_FAILED(test, \ 799 _KUNIT_FAILED(test, \ 861 _KUNIT_FAILED(test, \ 895 _KUNIT_FAILED(test, \ [all …]
|
| A D | resource.h | 153 int __kunit_add_resource(struct kunit *test, 203 existing = kunit_find_named_resource(test, name); in kunit_add_named_resource() 237 kunit_alloc_and_get_resource(struct kunit *test, in kunit_alloc_and_get_resource() argument 323 kunit_find_resource(struct kunit *test, in kunit_find_resource() argument 330 spin_lock_irqsave(&test->lock, flags); in kunit_find_resource() 333 if (match(test, res, (void *)match_data)) { in kunit_find_resource() 340 spin_unlock_irqrestore(&test->lock, flags); in kunit_find_resource() 351 kunit_find_named_resource(struct kunit *test, in kunit_find_named_resource() argument 367 int kunit_destroy_resource(struct kunit *test, 476 void kunit_remove_action(struct kunit *test, [all …]
|
| A D | of.h | 11 void of_node_put_kunit(struct kunit *test, struct device_node *node); 16 void of_node_put_kunit(struct kunit *test, struct device_node *node) in of_node_put_kunit() argument 18 kunit_skip(test, "requires CONFIG_OF"); in of_node_put_kunit() 25 int of_overlay_fdt_apply_kunit(struct kunit *test, void *overlay_fdt, 30 of_overlay_fdt_apply_kunit(struct kunit *test, void *overlay_fdt, in of_overlay_fdt_apply_kunit() argument 33 …kunit_skip(test, "requires CONFIG_OF and CONFIG_OF_OVERLAY and CONFIG_OF_EARLY_FLATTREE for root n… in of_overlay_fdt_apply_kunit() 54 static inline int __of_overlay_apply_kunit(struct kunit *test, in __of_overlay_apply_kunit() argument 60 return of_overlay_fdt_apply_kunit(test, overlay_begin, in __of_overlay_apply_kunit() 112 #define of_overlay_apply_kunit(test, overlay_name) \ argument 116 __of_overlay_apply_kunit((test), \
|
| A D | clk.h | 13 clk_get_kunit(struct kunit *test, struct device *dev, const char *con_id); 15 of_clk_get_kunit(struct kunit *test, struct device_node *np, int index); 18 clk_hw_get_clk_kunit(struct kunit *test, struct clk_hw *hw, const char *con_id); 20 clk_hw_get_clk_prepared_enabled_kunit(struct kunit *test, struct clk_hw *hw, 23 int clk_prepare_enable_kunit(struct kunit *test, struct clk *clk); 25 int clk_hw_register_kunit(struct kunit *test, struct device *dev, struct clk_hw *hw); 26 int of_clk_hw_register_kunit(struct kunit *test, struct device_node *node, 29 int of_clk_add_hw_provider_kunit(struct kunit *test, struct device_node *np,
|
| A D | device.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);
|
| A D | platform_device.h | 11 kunit_platform_device_alloc(struct kunit *test, const char *name, int id); 12 int kunit_platform_device_add(struct kunit *test, struct platform_device *pdev); 14 int kunit_platform_device_prepare_wait_for_probe(struct kunit *test, 18 int kunit_platform_driver_register(struct kunit *test,
|
| A D | skbuff.h | 30 static inline struct sk_buff *kunit_zalloc_skb(struct kunit *test, int len, in kunit_zalloc_skb() argument 38 if (kunit_add_action_or_reset(test, kunit_action_kfree_skb, res)) in kunit_zalloc_skb() 49 static inline void kunit_kfree_skb(struct kunit *test, struct sk_buff *skb) in kunit_kfree_skb() argument 54 kunit_release_action(test, kunit_action_kfree_skb, (void *)skb); in kunit_kfree_skb()
|
| A D | static_stub.h | 77 void __kunit_activate_static_stub(struct kunit *test, 95 #define kunit_activate_static_stub(test, real_fn_addr, replacement_addr) do { \ argument 97 __kunit_activate_static_stub(test, real_fn_addr, replacement_addr); \ 110 void kunit_deactivate_static_stub(struct kunit *test, void *real_fn_addr);
|
| A D | try-catch.h | 46 struct kunit *test; member
|
| A D | test-bug.h | 25 void *(*get_static_stub_address)(struct kunit *test, void *real_fn_addr);
|
| /include/crypto/internal/ |
| A D | kdf_selftest.h | 24 kdf_test(const struct kdf_testvec *test, const char *name, in kdf_test() argument 35 u8 *buf = kzalloc(test->expectedlen, GFP_KERNEL); in kdf_test() 48 ret = crypto_kdf_setkey(kmd, test->key, test->keylen, in kdf_test() 49 test->ikm, test->ikmlen); in kdf_test() 55 ret = crypto_kdf_generate(kmd, &test->info, 1, buf, test->expectedlen); in kdf_test() 61 ret = memcmp(test->expected, buf, test->expectedlen); in kdf_test()
|
| /include/drm/ |
| A D | drm_kunit_helpers.h | 20 struct device *drm_kunit_helper_alloc_device(struct kunit *test); 21 void drm_kunit_helper_free_device(struct kunit *test, struct device *dev); 24 __drm_kunit_helper_alloc_drm_device_with_driver(struct kunit *test, 56 __drm_kunit_helper_alloc_drm_device(struct kunit *test, in __drm_kunit_helper_alloc_drm_device() argument 64 KUNIT_ASSERT_NOT_NULL(test, driver); in __drm_kunit_helper_alloc_drm_device() 68 return __drm_kunit_helper_alloc_drm_device_with_driver(test, dev, in __drm_kunit_helper_alloc_drm_device() 101 drm_kunit_helper_atomic_state_alloc(struct kunit *test, 106 drm_kunit_helper_create_primary_plane(struct kunit *test, 115 drm_kunit_helper_create_crtc(struct kunit *test, 122 int drm_kunit_helper_enable_crtc_connector(struct kunit *test, [all …]
|
| /include/linux/ |
| A D | bitops.h | 373 #define bit_clear_unless(ptr, clear, test) \ argument 375 const typeof(*(ptr)) clear__ = (clear), test__ = (test);\
|
| A D | fs.h | 2735 int (*test)(struct super_block *, struct fs_context *), 2738 int (*test)(struct super_block *,void *), 3324 unsigned long hashval, int (*test)(struct inode *, void *), 3327 int (*test)(struct inode *, void *), void *data); 3331 int (*test)(struct inode *, void *), 3335 int (*test)(struct inode *, void *), 3338 int (*test)(struct inode *, void *), 3349 extern int insert_inode_locked4(struct inode *, unsigned long, int (*test)(struct inode *, void *),…
|
| A D | module.h | 61 int (*test)(struct module *); member
|
| /include/linux/firmware/cirrus/ |
| A D | cs_dsp_test_utils.h | 24 struct kunit *test; member
|
| /include/video/ |
| A D | omapfb_dss.h | 698 int (*run_test)(struct omap_dss_device *display, int test);
|
| /include/net/ |
| A D | devlink.h | 761 int (*test)(struct devlink_health_reporter *reporter, member
|
| /include/uapi/linux/ |
| A D | bpf.h | 1661 } test; member
|