函数逻辑报告

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_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,

函数原型:static inline int fscrypt_prepare_setattr(struct dentry *dentry, struct iattr *attr)

返回类型:int

参数:

类型参数名称
struct dentry *dentry
struct iattr *attr
671  如果ia_valid按位与ATTR_SIZE则返回:scrypt_require_key - require an inode's encryption key*@inode: the inode we need the key for* If the inode is encrypted, set up its encryption key if not already done
673  返回:0