函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\super.c Create Date:2022-07-29 10:32:20
Last Modify:2022-05-24 06:42:17 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Free a superblock that has never been seen by anyone

函数原型:static void destroy_unused_super(struct super_block *s)

返回类型:void

参数:

类型参数名称
struct super_block *s
178  如果非s则返回
180  lease a write lock
181  list_lru_destroy( & s_dentry_lru)
182  list_lru_destroy( & s_inode_lru)
183  security_sb_free(s)
184  put_user_ns(s_user_ns)
185  释放内存
186  free_prealloced_shrinker( & s_shrink)
188  destroy_super_work( & destroy_work)
调用者
名称描述
alloc_superalloc_super - create new superblock*@type: filesystem type superblock should belong to*@flags: the mount flags*@user_ns: User namespace for the super_block* Allocates and initializes a new &struct super_block. alloc_super()
sget_fcsget_fc - Find or create a superblock*@fc: Filesystem context
sget查找或创建超级块