Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:scrypt_prepare_rename - prepare for a rename between possibly-encrypted directories*@old_dir: source directory*@old_dentry: dentry for source file*@new_dir: target directory*@new_dentry: dentry for target location (may be negative unless

Proto:static inline int fscrypt_prepare_rename(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry, unsigned int flags)

Type:int

Parameter:

TypeParameterName
struct inode *old_dir
struct dentry *old_dentry
struct inode *new_dir
struct dentry *new_dentry
unsigned intflags
612  If IS_ENCRYPTED(old_dir) || IS_ENCRYPTED(new_dir) Then Return __fscrypt_prepare_rename(old_dir, old_dentry, new_dir, new_dentry, flags)
615  Return 0