函数逻辑报告

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

函数名称:gister_filesystem - register a new filesystem*@fs: the file system structure* Adds the file system passed to the list of file systems the kernel* is aware of for mount and other syscalls

函数原型:int register_filesystem(struct file_system_type *fs)

返回类型:int

参数:

类型参数名称
struct file_system_type *fs
74  res等于0
77  如果parameters且非fs_validate_description(parameters)则返回:负EINVAL
80  BUG_ON(strchr(name, '.'))
81  如果next则返回:负EBUSY
83  write_lock( & file_systems_lock)
84  p等于find_filesystem(name, strlen - Find the length of a string*@s: The string to be sized)
85  如果pres等于负EBUSY
87  否则p等于fs
89  write_unlock( & file_systems_lock)
90  返回:res
调用者
名称描述
cgroup_initgroup_init - cgroup initialization* Register cgroup filesystem and /proc file, and initialize* any subsystems that didn't request early init.
bpf_init
init_sel_fs
init_smk_fs_smk_fs - get the smackfs superblock* register the smackfs* Do not register smackfs if Smack wasn't enabled* on boot
bdev_cache_init
init_misc_binfmt
init_devpts_fs
init_ramfs_fs
rdtgroup_initdtgroup_init - rdtgroup initialization* Setup resctrl file system including set up root, create mount point,* register rdtgroup filesystem, and initialize files under root directory.* Return: 0 on success or -errno
shmem_init