函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:get_fs_type

函数原型:struct file_system_type *get_fs_type(const char *name)

返回类型:struct file_system_type

参数:

类型参数名称
const char *name
268  dot等于strchr - Find the first occurrence of the character c in the string s.*@s: the string to be searched*@c: the character to search for
269  len等于如果dotdotname否则strlen - Find the length of a string*@s: The string to be sized
271  fs等于__get_fs_type(name, len)
272  如果非fsrequest_module("fs-%.*s", len, name)恒等于0则
273  fs等于__get_fs_type(name, len)
274  WARN_ONCE(!fs, "request_module fs-%.*s succeeded, but still no fs?\n", len, name)
277  如果dotfs且非fs_flags按位与FS_HAS_SUBTYPE的值则
278  put_filesystem(fs)
279  fs = NULL
281  返回:fs
调用者
名称描述
aa_new_mount
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
run_request
trace_automount