函数逻辑报告 |
Source Code:include\linux\dcache.h |
Create Date:2022-07-27 06:43:40 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:获得目录项的索引节点
函数原型:static inline struct inode *d_inode(const struct dentry *dentry)
返回类型:struct inode
参数:
类型 | 参数 | 名称 |
---|---|---|
const struct dentry * | dentry |
名称 | 描述 |
---|---|
relay_set_buf_dentry | |
relay_switch_subbuf | lay_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_options | Display the mount options in /proc/mounts. |
perf_addr_filter_match | Check whether inode and address range match filter criteria. |
perf_event_parse_addr_filter | Address 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_dentry | securityfs_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_remove | securityfs_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_dir | declaration for sel_make_class_dirs |
smack_inode_copy_up | |
smack_dentry_create_files_as | |
aafs_show_path | |
aafs_create | aafs_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_remove | aafs_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_rmdir | Requires: @profile->ns->lock held |
ns_mkdir_op | |
__aafs_ns_rmdir | Requires: @ns->lock held |
aa_mk_null_file | |
policy_readlink | |
__aa_loaddata_update | |
pipefs_dname | pipefs_dname() is called from d_path(). |
vfs_readlink | vfs_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_link | vfs_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_suid | The logic we want is* if suid or (sgid and xgrp)* remove privs |
dentry_needs_remove_privs | Return 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_prepare | setattr_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_readdir | Directory 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_setattr | simple_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_inode | The 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_revalidate | Validate dentries in encrypted directories to make sure we aren't potentially* caching stale dentries after a key has been added. |
fscrypt_file_open | scrypt_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_setattr | sverity_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_mount | This function is used when filesystem needs to initialize quotas* during mount time. |
mknod_ptmx | |
update_ptmx_mode | |
devpts_pty_new | devpts_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_kill | devpts_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_setattr | handle a change of attributes* - we're specifically interested in a change of size |
fsnotify_dirent | Notify this @dir inode about a change in the directory entry @dentry.* Unlike fsnotify_parent(), the event will be reported regardless of the* FS_EVENT_ON_CHILD mask on the parent inode. |
fscrypt_prepare_link | scrypt_prepare_link - prepare to link an inode into a possibly-encrypted directory*@old_dentry: an existing dentry for the inode being linked*@dir: the target directory*@dentry: negative dentry for the target filename* A new link can only be added to an |
fscrypt_prepare_setattr | scrypt_prepare_setattr - prepare to change a possibly-encrypted inode's attributes*@dentry: dentry through which the inode is being changed*@attr: attributes to change* Prepare for ->setattr() on a possibly-encrypted inode. On an encrypted file, |
fsverity_prepare_setattr |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |