Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:free_test_dev_kmod

Proto:static void free_test_dev_kmod(struct kmod_test_device *test_dev)

Type:void

Parameter:

TypeParameterName
struct kmod_test_device *test_dev
1127  If test_dev Then
1128  kfree_const - conditionally free memory*@x: pointer to the memory* Function calls kfree only if @x is not in .rodata section.
1129  name = NULL
1130  free_test_dev_info(test_dev)
1131  kmod_config_free(test_dev)
1132  vfree(test_dev)
1133  test_dev = NULL
Caller
NameDescribe
register_test_dev_kmod
unregister_test_dev_kmod