Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\test_kmod.c Create Date:2022-07-28 06:34:57
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:test_kmod_init

Proto:static int __init test_kmod_init(void)

Type:int

Parameter:Nothing

1179  test_dev = register_test_dev_kmod()
1180  If Not test_dev Then
1181  pr_err("Cannot add first test kmod device\n")
1182  Return -ENODEV
1192  If force_init_test Then
1193  ret = trigger_config_run_type(test_dev, TEST_KMOD_DRIVER, "tun")
1195  If WARN_ON(ret) Then Return ret
1197  ret = trigger_config_run_type(test_dev, TEST_KMOD_FS_TYPE, "btrfs")
1199  If WARN_ON(ret) Then Return ret
1203  Return 0