Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__kmod_config_init

Proto:static int __kmod_config_init(struct kmod_test_device *test_dev)

Type:int

Parameter:

TypeParameterName
struct kmod_test_device *test_dev
809  config = config
810  ret = -ENOMEM
812  __kmod_config_free(config)
814  copied = config_copy_test_driver_name(config, TEST_START_DRIVER, strlen(TEST_START_DRIVER))
816  If copied != strlen(TEST_START_DRIVER) Then Go to err_out
819  copied = config_copy_test_fs(config, TEST_START_TEST_FS, strlen(TEST_START_TEST_FS))
821  If copied != strlen(TEST_START_TEST_FS) Then Go to err_out
824  num_threads = kmod_init_test_thread_limit()
825  test_result = 0
826  test_case = TEST_START_TEST_CASE
828  ret = kmod_config_sync_info(test_dev)
829  If ret Then Go to err_out
832  test_is_oom = false
834  Return 0
836  err_out :
837  test_is_oom = true
838  WARN_ON(test_is_oom)
840  __kmod_config_free(config)
842  Return ret
Caller
NameDescribe
reset_store
kmod_config_init