函数逻辑报告

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

函数名称:为目录项建立索引

函数原型:void d_instantiate(struct dentry *entry, struct inode *inode)

返回类型:void

参数:

类型参数名称
struct dentry *entry
struct inode *inode
1952  BUG_ON(!hlist_unhashed( & de alias list ))
1953  如果inode
1954  security_d_instantiate(entry, inode)
1955  加自旋锁
1956  __d_instantiate(entry, inode)
1957  自旋锁解锁
调用者
名称描述
securityfs_create_dentrysecurityfs_create_dentry - create a dentry in the securityfs filesystem*@name: a pointer to a string containing the name of the file to create.*@mode: the permission that the file should have*@parent: a pointer to the parent dentry for this file
__aafs_setup_d_inode__aafs_setup_d_inode - basic inode setup for apparmorfs*@dir: parent directory for the dentry*@dentry: dentry we are seting the inode up for*@mode: permissions the file should have*@data: data to store on inode
aa_mk_null_file
d_make_root
d_tmpfile
simple_link
__ns_get_path
bm_register_write/register
ramfs_mknodSMP-safe
ramfs_symlink
bpf_dentry_finalize