Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\dcache.h Create Date:2022-07-28 05:41:56
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:d_unhashed - is dentry hashed*@dentry: entry to check* Returns true if the dentry passed is not currently hashed.

Proto:static inline int d_unhashed(const struct dentry *dentry)

Type:int

Parameter:

TypeParameterName
const struct dentry *dentry
336  Return hlist_bl_unhashed( & lookup hash list )
Caller
NameDescribe
__d_dropdrop a dentry
retain_dentry
fast_dputTry to do a lockless dput(), and return whether that was successful
__d_find_aliasd_find_alias - grab a hashed alias of inode*@inode: inode in question* If inode has a hashed alias, or is a directory and has any alias,* acquire the reference to alias and return it
d_set_mountedCalled by mount code to set a mountpoint and check if the mountpoint is* reachable (e.g. NFS can unhash a directory dentry and then the complete* subtree can become unreachable).* Only one of d_invalidate() and d_set_mounted() must succeed. For
d_invalidateinvalidate a dentry
__d_lookup_rcu__d_lookup_rcu - search for a dentry (racy, store-free)*@parent: parent dentry*@name: qstr of name we wish to find*@seqp: returns d_seq value at the point where the dentry was found* Returns: dentry, or NULL* __d_lookup_rcu is the dcache lookup function
__d_lookup__d_lookup - search for a dentry (racy)*@parent: parent dentry*@name: qstr of name we wish to find* Returns: dentry, or NULL* __d_lookup is like d_lookup, however it may (rarely) return a* false-negative result due to unrelated rename activity
d_alloc_parallel
d_exact_aliasd_exact_alias - find and hash an exact unhashed alias*@entry: dentry to add*@inode: The inode to go with this dentry* If an unhashed dentry with the same name/parent and desired* inode already exists, hash and return it. Otherwise, return* NULL.
__d_move__d_move - move a dentry*@dentry: entry to move*@target: new dentry*@exchange: exchange the two dentries* Update the dcache to reflect the move of a file name
d_splice_aliassplice a disconnected dentry into the tree if one exists
d_genocide_kill
do_coredump