Lines Matching refs:kmod_test_device

80 struct kmod_test_device;
102 struct kmod_test_device *test_dev;
122 struct kmod_test_device { struct
157 static struct kmod_test_device *misc_dev_to_test_dev(struct miscdevice *misc_dev) in misc_dev_to_test_dev() argument
159 return container_of(misc_dev, struct kmod_test_device, misc_dev); in misc_dev_to_test_dev()
162 static struct kmod_test_device *dev_to_test_dev(struct device *dev) in dev_to_test_dev()
172 static void kmod_test_done_check(struct kmod_test_device *test_dev, in kmod_test_done_check()
190 struct kmod_test_device *test_dev = info->test_dev; in test_kmod_put_module()
213 struct kmod_test_device *test_dev = info->test_dev; in run_request()
244 struct kmod_test_device *test_dev = info->test_dev; in tally_work_test()
284 static void tally_up_work(struct kmod_test_device *test_dev) in tally_up_work()
312 static int try_one_request(struct kmod_test_device *test_dev, unsigned int idx) in try_one_request()
343 static void test_dev_kmod_stop_tests(struct kmod_test_device *test_dev) in test_dev_kmod_stop_tests()
381 static int try_requests(struct kmod_test_device *test_dev) in try_requests()
418 static int run_test_driver(struct kmod_test_device *test_dev) in run_test_driver()
435 static int run_test_fs_type(struct kmod_test_device *test_dev) in run_test_fs_type()
456 struct kmod_test_device *test_dev = dev_to_test_dev(dev); in config_show()
501 static int __trigger_config_run(struct kmod_test_device *test_dev) in __trigger_config_run()
520 static int trigger_config_run(struct kmod_test_device *test_dev) in trigger_config_run()
561 struct kmod_test_device *test_dev = dev_to_test_dev(dev); in trigger_config_store()
631 static void kmod_config_free(struct kmod_test_device *test_dev) in kmod_config_free()
649 struct kmod_test_device *test_dev = dev_to_test_dev(dev); in config_test_driver_store()
684 struct kmod_test_device *test_dev = dev_to_test_dev(dev); in config_test_driver_show()
696 struct kmod_test_device *test_dev = dev_to_test_dev(dev); in config_test_fs_store()
715 struct kmod_test_device *test_dev = dev_to_test_dev(dev); in config_test_fs_show()
723 static int trigger_config_run_type(struct kmod_test_device *test_dev, in trigger_config_run_type()
764 static void free_test_dev_info(struct kmod_test_device *test_dev) in free_test_dev_info()
770 static int kmod_config_sync_info(struct kmod_test_device *test_dev) in kmod_config_sync_info()
800 static int __kmod_config_init(struct kmod_test_device *test_dev) in __kmod_config_init()
842 struct kmod_test_device *test_dev = dev_to_test_dev(dev); in reset_store()
867 static int test_dev_config_update_uint_sync(struct kmod_test_device *test_dev, in test_dev_config_update_uint_sync()
870 int (*test_sync)(struct kmod_test_device *test_dev)) in test_dev_config_update_uint_sync()
901 static int test_dev_config_update_uint_range(struct kmod_test_device *test_dev, in test_dev_config_update_uint_range()
925 static int test_dev_config_update_int(struct kmod_test_device *test_dev, in test_dev_config_update_int()
943 static ssize_t test_dev_config_show_int(struct kmod_test_device *test_dev, in test_dev_config_show_int()
956 static ssize_t test_dev_config_show_uint(struct kmod_test_device *test_dev, in test_dev_config_show_uint()
973 struct kmod_test_device *test_dev = dev_to_test_dev(dev); in test_result_store()
984 struct kmod_test_device *test_dev = dev_to_test_dev(dev); in config_num_threads_store()
996 struct kmod_test_device *test_dev = dev_to_test_dev(dev); in config_num_threads_show()
1007 struct kmod_test_device *test_dev = dev_to_test_dev(dev); in config_test_case_store()
1020 struct kmod_test_device *test_dev = dev_to_test_dev(dev); in config_test_case_show()
1031 struct kmod_test_device *test_dev = dev_to_test_dev(dev); in test_result_show()
1056 static int kmod_config_init(struct kmod_test_device *test_dev) in kmod_config_init()
1067 static struct kmod_test_device *alloc_test_dev_kmod(int idx) in alloc_test_dev_kmod()
1070 struct kmod_test_device *test_dev; in alloc_test_dev_kmod()
1073 test_dev = vzalloc(sizeof(struct kmod_test_device)); in alloc_test_dev_kmod()
1112 static void free_test_dev_kmod(struct kmod_test_device *test_dev) in free_test_dev_kmod()
1124 static struct kmod_test_device *register_test_dev_kmod(void) in register_test_dev_kmod()
1126 struct kmod_test_device *test_dev = NULL; in register_test_dev_kmod()
1164 struct kmod_test_device *test_dev; in test_kmod_init()
1196 void unregister_test_dev_kmod(struct kmod_test_device *test_dev) in unregister_test_dev_kmod()
1214 struct kmod_test_device *test_dev, *tmp; in test_kmod_exit()