函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\dcache.c Create Date:2022-07-29 10:37:32
Last Modify:2020-03-18 10:27:32 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:d_make_root

函数原型:struct dentry *d_make_root(struct inode *root_inode)

返回类型:struct dentry

参数:

类型参数名称
struct inode *root_inode
1986  struct dentry * res = NULL
1988  如果root_inode
1989  res等于d_alloc_anon(i_sb)
1990  如果res为目录项建立索引
1992  否则放置一个索引节点
1995  返回:res
调用者
名称描述
pseudo_fs_fill_super
simple_fill_superhe inodes created here are not hashed. If you use iunique to generate* unique inode values later for this filesystem, then you must take care* to pass it an appropriate max_reserved value to avoid collisions.
devpts_fill_super
ramfs_fill_super