Function report |
Source Code:lib\test_kmod.c |
Create Date:2022-07-28 06:34:47 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:trigger_config_run_type
Proto:static int trigger_config_run_type(struct kmod_test_device *test_dev, enum kmod_test_case test_case, const char *test_str)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct kmod_test_device * | test_dev | |
enum kmod_test_case | test_case | |
const char * | test_str |
734 | copied = 0 |
737 | mutex_lock( & config_mutex) |
740 | Case test_case == TEST_KMOD_DRIVER |
742 | test_driver = NULL |
745 | Break |
746 | Case test_case == TEST_KMOD_FS_TYPE |
748 | test_driver = NULL |
751 | Break |
752 | Default |
753 | mutex_unlock( & config_mutex) |
754 | Return -EINVAL |
759 | mutex_unlock( & config_mutex) |
762 | test_is_oom = true |
763 | Return -ENOMEM |
766 | test_is_oom = false |
768 | Return trigger_config_run(test_dev) |
Name | Describe |
---|---|
test_kmod_init |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |