Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\super.c Create Date:2022-07-28 20:02:24
Last Modify:2022-05-24 06:42:17 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:void deactivate_locked_super(struct super_block *s)

Type:void

Parameter:

TypeParameterName
struct super_block *s
331  fs = s_type
332  If atomic_dec_and_test( & s_active) Then
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  Else
348  lease a write lock
Caller
NameDescribe
cgroup1_get_tree
deactivate_superdeactivate_super - drop an active reference to superblock*@s: superblock to deactivate* Variant of deactivate_locked_super(), except that superblock is *not** locked by caller. If we are going to drop the final active reference,
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