函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\module.c Create Date:2022-07-27 11:58:39
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:mod_sysfs_teardown

函数原型:static void mod_sysfs_teardown(struct module *mod)

返回类型:void

参数:

类型参数名称
struct module *mod
1938  del_usage_links(mod)
1939  module_remove_modinfo_attrs(mod, - 1)
1940  module_param_sysfs_remove(mod)
1941  递减引用计数对象
1942  递减引用计数对象
1943  mod_sysfs_fini(mod)
调用者
名称描述
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.