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_unlinked

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

Type:int

Parameter:

TypeParameterName
const struct dentry *dentry
341  Return d_unhashed - is dentry hashed*@dentry: entry to check* Returns true if the dentry passed is not currently hashed. && Not linux/include/linux/dcache.h* Dirent cache data structures* (C) Copyright 1997 Thomas Schoebel-Theuer,* with heavy changes by Linus Torvalds(dentry)
Caller
NameDescribe
d_namespace_pathd_namespace_path - lookup a name associated with a given path*@path: path to lookup (NOT NULL)*@buf: buffer to store path to (NOT NULL)*@name: Returns - pointer for start of path name with in @buf (NOT NULL)*@flags: flags controlling path
is_deleteds_deleted - test if a file has been completely unlinked*@dentry: dentry of file to test for deletion (NOT NULL)* Returns: %1 if deleted else %0
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_tmpfile
get_mountpoint
SYSCALL_DEFINE2pivot_root Semantics:* Moves the root file system of the current process to the directory put_old,* makes new_root as the new root file system of the current process, and sets* root/cwd of all processes which had them on the current root to new_root
path_with_deletedsame as __d_path but appends "(deleted)" for unlinked files.
dentry_path
SYSCALL_DEFINE2NOTE! The user-level library version returns a* character pointer
inotify_handle_event