Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:fs_context_for_mount

Proto:struct fs_context *fs_context_for_mount(struct file_system_type *fs_type, unsigned int sb_flags)

Type:struct fs_context

Parameter:

TypeParameterName
struct file_system_type *fs_type
unsigned intsb_flags
307  Return alloc_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
Caller
NameDescribe
do_new_mountreate a new mount for userspace and request it to be added into the* namespace's tree
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