函数逻辑报告

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_alloc_pseudo - allocate a dentry (for lookup-less filesystems)*@sb: the superblock*@name: qstr of the name* For a filesystem that just pins its dentries in memory and never* performs lookups at all, return an unhashed IS_ROOT dentry.

函数原型:struct dentry *d_alloc_pseudo(struct super_block *sb, const struct qstr *name)

返回类型:struct dentry

参数:

类型参数名称
struct super_block *sb
const struct qstr *name
1819  dentry等于__d_alloc - allocate a dcache entry*@sb: filesystem it will belong to*@name: qstr of the name* Allocates a dentry. It returns %NULL if there is insufficient memory* available. On a success the dentry is returned. The name passed in is
1820  如果此条件成立可能性大(为编译器优化)(dentry)则 protected by d_lock 或等于No RCU delay for freeing
1822  返回:dentry