函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:deactivate_locked_super - drop an active reference to superblock*@s: superblock to deactivate* Drops an active reference to superblock, converting it into a temporary* one if there is no other active references left

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

返回类型:void

参数:

类型参数名称
struct super_block *s
331  fs等于s_type
332  如果atomic_dec_and_test( & s_active)则
333  cleancache_invalidate_fs(s)
334  Remove one
335  kill_sb(s)
342  list_lru_destroy( & s_dentry_lru)
343  list_lru_destroy( & s_inode_lru)
345  put_filesystem(fs)
346  put_super - drop a temporary reference to superblock*@sb: superblock in question* Drops a temporary reference, frees superblock if there's no* references left.
347  否则
348  lease a write lock
调用者
名称描述
cgroup1_get_tree
deactivate_super降低活跃性
vfs_get_supervfs_get_super - Get a superblock with a search key set in s_fs_info.*@fc: The filesystem context holding the parameters*@keying: How to distinguish superblocks*@fill_super: Helper to initialise a new superblock
get_tree_bdevget_tree_bdev - Get a superblock based on a single block device*@fc: The filesystem context holding the parameters*@fill_super: Helper to initialise a new superblock
mount_bdev
mount_nodev
mount_single
freeze_superze_super - lock the filesystem and force it into a consistent state*@sb: the super to lock* Syncs the super to make sure the filesystem is consistent and calls the fs's* freeze_fs. Subsequent calls to this without first thawing the fs will return* -EBUSY.
thaw_super_locked
fc_drop_locked
cgroup_do_get_tree