Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:d_inode - Get the actual inode of this dentry*@dentry: The dentry to query* This is the helper normal filesystems should use to get at their own inodes* in their own dentries and ignore the layering superimposed upon them.

Proto:static inline struct inode *d_inode(const struct dentry *dentry)

Type:struct inode

Parameter:

TypeParameterName
const struct dentry *dentry
520  Return Where the name belongs to - NULL is * negative
Caller
NameDescribe
relay_set_buf_dentry
relay_switch_subbuflay_switch_subbuf - switch to a new sub-buffer*@buf: channel buffer*@length: size of current event* Returns either the length passed in or 0 if full.* Performs sub-buffer-switch tasks such as invoking callbacks,
trace_create_cpu_file
remove_event_file_dir
bpf_obj_do_pin
bpf_show_optionsDisplay the mount options in /proc/mounts.
perf_addr_filter_matchCheck whether inode and address range match filter criteria.
perf_event_parse_addr_filterAddress filter string parser
mqueue_unlink
prepare_open
do_mq_open
SYSCALL_DEFINE1
blk_mq_debugfs_show
blk_mq_debugfs_write
blk_mq_debugfs_open
debugfs_create_files
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
securityfs_removesecurityfs_remove - removes a file or directory from the securityfs filesystem*@dentry: a pointer to a the dentry of the file or directory to be removed
selinux_dentry_init_security
selinux_dentry_create_files_as
selinux_inode_copy_up
sel_make_dirdeclaration for sel_make_class_dirs
smack_inode_copy_up
smack_dentry_create_files_as
aafs_show_path
aafs_createaafs_create - create a dentry in the apparmorfs filesystem*@name: name of dentry to create*@mode: permissions the file should have*@parent: parent directory for this dentry*@data: data to store on inode
aafs_removeaafs_remove - removes a file or directory from the apparmorfs filesystem*@dentry: dentry of the file/directory/symlink to removed.
__aa_fs_create_rawdata
__aafs_profile_rmdirRequires: @profile->ns->lock held
ns_mkdir_op
__aafs_ns_rmdirRequires: @ns->lock held
aa_mk_null_file
policy_readlink
__aa_loaddata_update
pipefs_dnamepipefs_dname() is called from d_path().
vfs_readlinkvfs_readlink - copy symlink body into userspace buffer*@dentry: dentry on which to get symbolic link*@buffer: user memory pointer*@buflen: size of buffer* Does not touch atime. That's up to the caller if necessary* Does not call security hook.
vfs_get_linkvfs_get_link - get symlink body*@dentry: dentry on which to get symbolic link*@done: caller needs to free returned data with this* Calls security hook and i_op->get_link() on the supplied inode.* It does not touch atime
page_readlink
touch_atime
should_remove_suidThe logic we want is* if suid or (sgid and xgrp)* remove privs
dentry_needs_remove_privsReturn mask of changes for notify_change() that need to be done as a* response to write or truncate. Return 0 if nothing has to be changed.* Negative value on error (change should be denied).
setattr_preparesetattr_prepare - check if attribute changes to a dentry are allowed*@dentry: dentry to check*@attr: attributes to change* Check if we are allowed to change the attributes contained in @attr* in the given dentry
vfs_listxattr
__vfs_removexattr
simple_getattr
dcache_readdirDirectory is locked and all positive dentries in it are safe, since* for ramfs-type trees they can't go away without unlink() or rmdir(),* both impossible due to the lock on directory.
simple_link
simple_unlink
simple_rmdir
simple_rename
simple_setattrsimple_setattr - setattr for simple filesystem*@dentry: dentry*@iattr: iattr structure* Returns 0 on success, -error on failure
empty_dir_getattr
ns_dname
ns_prune_dentry
nsfs_show_path
fanotify_fid_inodeThe inode to use as identifier when reporting fid depends on the event.* Report the modified directory inode on dirent modification events.* Report the "victim" inode otherwise.* For example:
fscrypt_d_revalidateValidate dentries in encrypted directories to make sure we aren't potentially* caching stale dentries after a key has been added.
fscrypt_file_openscrypt_file_open - prepare to open a possibly-encrypted regular file*@inode: the inode being opened*@filp: the struct file being set up* Currently, an encrypted regular file can only be opened if its encryption key
__fscrypt_prepare_rename
fsverity_prepare_setattrsverity_prepare_setattr() - prepare to change a verity inode's attributes*@dentry: dentry through which the inode is being changed*@attr: attributes to change* Verity files are immutable, so deny truncates. This isn't covered by the
kill_node
bm_entry_write
bm_register_write/register
bm_status_write
dquot_quota_on
dquot_quota_on_mountThis function is used when filesystem needs to initialize quotas* during mount time.
mknod_ptmx
update_ptmx_mode
devpts_pty_newdevpts_pty_new -- create a new inode in /dev/pts/*@ptmx_inode: inode of the master*@device: major+minor of the node to be created*@index: used as a name of the node*@priv: what's given back by devpts_get_priv* The created inode is returned
devpts_pty_killdevpts_pty_kill -- remove inode form /dev/pts/*@inode: inode of the slave to be removed* This is an inverse operation of devpts_pty_new.
ramfs_nommu_setattrhandle a change of attributes* - we're specifically interested in a change of size