Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\super.c Create Date:2022-07-28 20:02:30
Last Modify:2022-05-24 06:42:17 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mount_single

Proto:struct dentry *mount_single(struct file_system_type *fs_type, int flags, void *data, int (*fill_super)(struct super_block *, void *, int ))

Type:struct dentry

Parameter:

TypeParameterName
struct file_system_type *fs_type
intflags
void *data
int (*fill_super
1510  s = find or create a superblock
1511  If IS_ERR(s) Then Return ERR_CAST - Explicitly cast an error-valued pointer to another pointer type*@ptr: The pointer to cast.* Explicitly cast an error-valued pointer to another pointer type in such a* way as to make it clear that's what's going on.
1513  If Not s_root Then
1514  error = fill_super(s, data, flags & SB_SILENT ? 1 : 0)
1515  If Not error Then s_flags |= SB_ACTIVE
1517  Else
1518  error = reconfigure_single(s, flags, data)
1520  If Value for the false possibility is greater at compile time(error) Then
1521  deactivate_locked_super - drop an active reference to superblock*@s: superblock to deactivate* Drops an active reference to superblock, converting it into a temporary* one if there is no other active references left
1522  Return ERR_PTR(error)
1524  Return get a reference to a dentry