函数逻辑报告

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

函数名称:fs_context_for_mount

函数原型:struct fs_context *fs_context_for_mount(struct file_system_type *fs_type, unsigned int sb_flags)

返回类型:struct fs_context

参数:

类型参数名称
struct file_system_type *fs_type
unsigned intsb_flags
307  返回: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
调用者
名称描述
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