函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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

函数原型: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)

返回类型:int

参数:

类型参数名称
struct inode *old_dir
struct dentry *old_dentry
struct inode *new_dir
struct dentry *new_dentry
unsigned intflags
612  如果IS_ENCRYPTED(old_dir)或IS_ENCRYPTED(new_dir)则返回:__fscrypt_prepare_rename(old_dir, old_dentry, new_dir, new_dentry, flags)
615  返回:0