Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\fs_context.c Create Date:2022-07-28 20:13:06
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:put_fs_context - Dispose of a superblock configuration context.*@fc: The context to dispose of.

Proto:void put_fs_context(struct fs_context *fc)

Type:void

Parameter:

TypeParameterName
struct fs_context *fc
493  If root Then
494  sb = d_sb
495  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
496  root = NULL
497  deactivate_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,
500  If need_free && ops && free Then free(fc)
503  security_free_mnt_opts( & security)
504  put_net(net_ns)
505  put_user_ns(user_ns)
506  put_cred - Release a reference to a set of credentials*@cred: The credentials to release* Release a reference to a set of credentials, deleting them when the last ref* is released
507  Free a logging structure.
508  put_filesystem(fs_type)
509  kfree(source)
510  kfree(fc)
Caller
NameDescribe
reconfigure_single
vfs_kern_mount
do_umount_root
do_remounthange filesystem flags. dir should be a physical root of filesystem.* If you've mounted a non-root directory somewhere and want to do remount* on it - tough luck.
do_new_mountreate a new mount for userspace and request it to be added into the* namespace's tree
alloc_fs_contextalloc_fs_context - Create a filesystem context.*@fs_type: The filesystem type.*@reference: The dentry from which this one derives (or NULL)*@sb_flags: Filesystem/superblock flags (SB_*)*@sb_flags_mask: Applicable members of @sb_flags
vfs_dup_fs_contextvfs_dup_fc_config: Duplicate a filesystem context.*@src_fc: The context to copy.
fscontext_release
fscontext_create_fdAttach a filesystem context to a file and an fd.
SYSCALL_DEFINE2Open a filesystem by name so that it can be configured for mounting.* We are allowed to specify a container in which the filesystem will be* opened, thereby indicating which namespaces will be used (notably, which
SYSCALL_DEFINE3Pick a superblock into a context for reconfiguration.
do_emergency_remount_callback