函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\super.c Create Date:2022-07-29 10:32:25
Last Modify:2022-05-24 06:42:17 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:mount_single

函数原型:struct dentry *mount_single(struct file_system_type *fs_type, int flags, void *data, int (*fill_super)(struct super_block *, void *, int ))

返回类型:struct dentry

参数:

类型参数名称
struct file_system_type *fs_type
intflags
void *data
int (*fill_super
1510  s等于查找或创建超级块
1511  如果是错误则返回:错误指示
1513  如果非s_root
1514  error等于fill_super(s, data, flags & SB_SILENT ? 1 : 0)
1515  如果非errors_flags或等于SB_ACTIVE
1517  否则
1518  error等于reconfigure_single(s, flags, data)
1520  如果此条件成立可能性小(为编译器优化)(error)则
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  返回:错误号
1524  返回:获得目录项引用