函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\fs_context.c Create Date:2022-07-29 10:44:01
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:fc_drop_locked

函数原型:void fc_drop_locked(struct fs_context *fc)

返回类型:void

参数:

类型参数名称
struct fs_context *fc
330  sb等于d_sb
331  dput - release a dentry*@dentry: dentry to release * Release a dentry. This will drop the usage count and if appropriate* call the dentry unlink method as well as removing it from the queues and* releasing its resources
332  root = NULL
333  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
调用者
名称描述
do_new_mount_fcCreate a new mount using a superblock configuration and request it* be added to the namespace tree.
vfs_fsconfig_lockedCheck the state and apply the configuration. Note that this function is* allowed to 'steal' the value by setting param->xxx to NULL before returning.
vfs_get_treevfs_get_tree - Get the mountable root*@fc: The superblock configuration context.* The filesystem is invoked to get or create a superblock which can then later* be used for mounting. The filesystem places a pointer to the root to be