函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\fs.h Create Date:2022-07-27 06:44:23
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:inode_unlock

函数原型:static inline void inode_unlock(struct inode *inode)

返回类型:void

参数:

类型参数名称
struct inode *inode
796  lease a write lock
调用者
名称描述
sched_feat_write
audit_get_ndGet path information necessary for adding watches.
audit_alloc_mark
relay_file_read
perf_fasync
generic_file_write_itergeneric_file_write_iter - write data to a file*@iocb: IO state structure*@from: iov_iter with data to write* This is a wrapper around __generic_file_write_iter() to be used by most* filesystems. It takes care of syncing the file in case of O_SYNC file
SYSCALL_DEFINE1
SYSCALL_DEFINE2
memfd_add_seals
do_mq_open
SYSCALL_DEFINE1
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
sel_open_policy
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.
ns_mkdir_op
ns_rmdir_op
aa_mk_null_file
process_measurement
ima_update_xattrma_update_xattr - update 'security.ima' hash value
do_truncate
chmod_common
chown_common
default_llseek
bprm_fill_uid
kern_path_lockeddoes lookup, returns the object with parent locked
unlock_rename
do_lastHandle the last step of open()
filename_create
done_path_create
vfs_rmdir
do_rmdir
vfs_unlinkvfs_unlink - unlink a filesystem object*@dir: parent directory*@dentry: victim*@delegated_inode: returns victim inode, if the inode is delegated.* The caller must hold dir->i_mutex.* If vfs_unlink discovers a delegation, it will return -EWOULDBLOCK and
do_unlinkatMake 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_linkvfs_link - create a new link*@old_dentry: object to be linked*@dir: new parent*@new_dentry: where to create the new link*@delegated_inode: returns inode needing a delegation break* The caller must hold dir->i_mutex* If vfs_link discovers a delegation on
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
fcntl_rw_hint
generic_block_fiemapgeneric_block_fiemap - FIEMAP for block based inodes*@inode: The inode to map*@fieinfo: The mapping information*@start: The initial block to map*@len: The length of the extect to attempt to map*@get_block: The block mapping function for the fs* Calls
iterate_dir
unlock_two_nondirectorieslock_two_nondirectories - release locks from lock_two_nondirectories()*@inode1: first inode to unlock*@inode2: second inode to unlock
lock_mount
unlock_mount
vfs_setxattr
vfs_removexattr
__generic_file_fsync__generic_file_fsync - generic fsync implementation for simple filesystems*@file: file to synchronize*@start: start offset in bytes*@end: end offset in bytes (inclusive)*@datasync: only synchronize essential metadata if true* This is a generic
utimes_common
block_llseekprivate llseek:* for a block special file file_inode(file)->i_size is zero* so we compute the size by hand (just as in block_read/write above)
bd_set_size
do_blockdev_direct_IOThis is a library function for use by filesystem drivers
fscrypt_ioctl_set_policy
enable_verity
generic_add_lease
bm_entry_write
bm_register_write/register
bm_status_write
dquot_quota_syncWrite all dquot structures to disk and make them visible from userspace
vfs_cleanup_quota_inode
dquot_disableTurn quota off on a device. type == -1 ==> quotaoff for all types (umount)
vfs_setup_quota_inodeTurn quotas on on a device
mknod_ptmx
dir_relax