Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:mod_sysfs_teardown

Proto:static void mod_sysfs_teardown(struct module *mod)

Type:void

Parameter:

TypeParameterName
struct module *mod
1938  del_usage_links(mod)
1939  module_remove_modinfo_attrs(mod, - 1)
1940  module_param_sysfs_remove(mod)
1941  kobject_put() - Decrement refcount for object.*@kobj: object.* Decrement the refcount, and if 0, call kobject_cleanup().
1942  kobject_put() - Decrement refcount for object.*@kobj: object.* Decrement the refcount, and if 0, call kobject_cleanup().
1943  mod_sysfs_fini(mod)
Caller
NameDescribe
free_moduleFree a module, remove from lists, etc.
load_moduleAllocate and load the module: note that size of section 0 is alwayszero, and we rely on this for optional sections.