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:get a reference to a dentry

Proto:static inline struct dentry *dget(struct dentry *dentry)

Type:struct dentry

Parameter:

TypeParameterName
struct dentry *dentry
320  If dentry Then lockref_get - Increments reference count unconditionally*@lockref: pointer to lockref structure* This operation is only valid if you already hold a reference* to the object, so you know the count cannot be zero.
322  Return dentry
Caller
NameDescribe
bpf_dentry_finalize
mqueue_create_attr
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
inode_doinit_with_dentry
smack_d_instantiatesmack_d_instantiate - Make sure the blob is correct on an inode*@opt_dentry: dentry where inode will be attached*@inode: the object* Set the inode's security blob if it hasn't been done already.
__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
__aafs_ns_mkdirRequires: @ns->lock held
aa_mk_null_file
policy_get_link
vfs_get_supervfs_get_super - Get a superblock with a search key set in s_fs_info.*@fc: The filesystem context holding the parameters*@keying: How to distinguish superblocks*@fill_super: Helper to initialise a new superblock
get_tree_bdevget_tree_bdev - Get a superblock based on a single block device*@fc: The filesystem context holding the parameters*@fill_super: Helper to initialise a new superblock
mount_bdev
mount_nodev
mount_single
path_getpath_get - get a reference to a path*@path: path to get the reference to* Given a path increment the reference count to the dentry and the vfsmount.
follow_upllow_up - Find the mountpoint of path's vfsmount* Given a path, find the mountpoint of its source file system
follow_automountPerform an automount* - return -EISDIR to tell follow_managed() to stop and return the path we* were called with.
follow_managedHandle a dentry that is managed in some way.* - Flagged for transit management (autofs)* - Flagged as mountpoint* - Flagged as automount point* This may only be called in refwalk mode.* On success path->dentry is known positive.
follow_down_one
follow_downFollow down to the covering mount currently visible to userspace. At each* point, the filesystem owning that dentry may be queried as to whether the* caller is permitted to proceed or not.
follow_mountSkip to top of mountpoint pile in refwalk mode for follow_dotdot()
handle_lookup_down
vfs_rmdir
vfs_renamevfs_rename - rename a filesystem object*@old_dir: parent of source*@old_dentry: source*@new_dir: parent of destination*@new_dentry: destination*@delegated_inode: returns an inode needing a delegation break*@flags: rename flags
shrink_dcache_for_umountdestroy the dentries attached to a superblock on unmounting
d_alloc_cursor
d_splice_aliassplice a disconnected dentry into the tree if one exists
get_mountpoint
vfs_create_mountvfs_create_mount - Create a mount for a configured superblock*@fc: The configuration context with the superblock attached* Create a mount to an already configured superblock. If necessary, the* caller should invoke vfs_get_tree() before calling this.
clone_mnt
lock_mount
SYSCALL_DEFINE3Create a kernel mount representation for a new, prepared superblock* (specified by fs_fd) and attach to an open_tree-like file descriptor.
simple_link
alloc_fs_contextalloc_fs_context - Create a filesystem context.*@fs_type: The filesystem type.*@reference: The dentry from which this one derives (or NULL)*@sb_flags: Filesystem/superblock flags (SB_*)*@sb_flags_mask: Applicable members of @sb_flags
load_misc_binaryhe loader itself
bm_register_write/register
ramfs_mknodSMP-safe
ramfs_symlink