Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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

Proto:int register_filesystem(struct file_system_type *fs)

Type:int

Parameter:

TypeParameterName
struct file_system_type *fs
74  res = 0
77  If parameters && Not fs_validate_description(parameters) Then Return -EINVAL
80  BUG_ON(strchr(name, '.'))
81  If next Then Return -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  If p Then res = -EBUSY
87  Else p = fs
89  write_unlock( & file_systems_lock)
90  Return res
Caller
NameDescribe
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