函数逻辑报告 |
Source Code:fs\dcache.c |
Create Date:2022-07-29 10:37:27 |
Last Modify:2020-03-18 10:27:32 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:dput - release a dentry*@dentry: dentry to release * Release a dentry. This will drop the usage count and if appropriate* call the dentry unlink method as well as removing it from the queues and* releasing its resources
函数原型:void dput(struct dentry *dentry)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct dentry * | dentry |
名称 | 描述 |
---|---|
cgroup1_get_tree | |
audit_get_nd | Get path information necessary for adding watches. |
audit_alloc_mark | |
SYSCALL_DEFINE1 | |
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 |
inode_doinit_with_dentry | |
sel_make_bools | declaration for sel_write_load |
sel_make_avc_files | |
sel_make_initcon_files | |
sel_make_perm_files | |
sel_make_class_dir_entries | |
sel_make_policycap | |
sel_make_dir | declaration for sel_make_class_dirs |
sel_fill_super | |
smack_d_instantiate | smack_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. |
dump_common_audit_data | dump_common_audit_data - helper to dump common audit data*@a : common audit data |
tomoyo_get_attributes | moyo_get_attributes - Revalidate "struct inode".*@obj: Pointer to "struct tomoyo_obj_info".* Returns nothing. |
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_mk_null_file | |
vfs_get_super | vfs_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 |
path_put | path_put - put a reference to a path*@path: path to put the reference to* Given a path decrement the reference count to the dentry and the vfsmount. |
unlazy_child | lazy_child - try to switch to ref-walk mode |
path_put_conditional | |
path_to_nameidata | |
follow_up | llow_up - Find the mountpoint of path's vfsmount* Given a path, find the mountpoint of its source file system |
follow_managed | Handle 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_down | Follow 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_mount | Skip to top of mountpoint pile in refwalk mode for follow_dotdot() |
path_parent_directory | |
lookup_dcache | This looks up the name in dcache and possibly revalidates the found dentry.* NULL is returned if the dentry does not exist in the cache. |
__lookup_hash | Parent directory has inode locked exclusive. This is one* and only case when ->lookup() gets called on non in-lookup* dentries - as the matter of fact, this only gets called* when directory is guaranteed to have no in-lookup children* at all. |
lookup_fast | |
__lookup_slow | Fast lookup failed, do it the slow way |
lookup_positive_unlocked | Like lookup_one_len_unlocked(), except that it yields ERR_PTR(-ENOENT)* on negatives |
path_pts | |
atomic_open | Attempt to atomically look up, create and open a file from a negative* dentry |
lookup_open | Look up and maybe create and open the last component |
vfs_tmpfile | |
do_tmpfile | |
filename_create | |
done_path_create | |
vfs_rmdir | |
do_rmdir | |
do_unlinkat | Make sure that the actual truncation of the file will occur outside its* directory's i_mutex. Truncate can take a long time if there is a lot of* writeout happening, and we don't want to prevent access to the directory* while waiting on the I/O. |
vfs_rename | vfs_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 |
do_renameat2 | |
dget_parent | |
d_prune_aliases | Try to kill dentries associated with this inode.* WARNING: you must own a reference to inode. |
do_one_tree | |
d_invalidate | 废除目录项 |
__d_instantiate_anon | |
d_add_ci | d_add_ci - lookup or allocate new dentry with case-exact name*@inode: the inode case-insensitive lookup has found*@dentry: the negative dentry that was passed to the parent's lookup func*@name: the case-exact name to be associated with the returned |
d_alloc_parallel | |
d_splice_alias | 链接目录项 |
cleanup_mnt | |
ksys_umount | Now umount can handle mount points as well as block devices.* This is important for filesystems which use unnamed block devices.* We now support a flag for forced unmount like the other 'big iron'* unixes |
dcache_dir_close | |
scan_positives | Returns an element of siblings' list.* We are looking for ; if* found, dentry is grabbed and returned to caller.* If no such element exists, NULL is returned. |
dcache_dir_lseek | |
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_unlink | |
simple_fill_super | he inodes created here are not hashed. If you use iunique to generate* unique inode values later for this filesystem, then you must take care* to pass it an appropriate max_reserved value to avoid collisions. |
block_dump___mark_inode_dirty | |
__ns_get_path | |
fc_drop_locked | |
put_fs_context | put_fs_context - Dispose of a superblock configuration context.*@fc: The context to dispose of. |
__fsnotify_parent | Notify this dentry's parent about a child's events. |
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 |
shrink_dcache_inode | Try to evict the inode's dentries from the dentry cache. If the inode is a* directory, then it can have at most one dentry; however, that dentry may be* pinned by child dentries, so first try to evict the children too. |
load_misc_binary | he loader itself |
kill_node | |
bm_register_write | /register |
dquot_quota_on_mount | This function is used when filesystem needs to initialize quotas* during mount time. |
devpts_mntget | Try to find a suitable devpts filesystem. We support the following* scenarios:* - The ptmx device node is located in the same directory as the devpts* mount where the pts device nodes are located.* This is e |
mknod_ptmx | |
devpts_fill_super | |
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. |
cgroup_do_get_tree |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |