函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\crypto\keysetup.c Create Date:2022-07-29 10:57:30
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:select_encryption_mode

函数原型:static struct fscrypt_mode *select_encryption_mode(const union fscrypt_policy *policy, const struct inode *inode)

返回类型:struct fscrypt_mode

参数:

类型参数名称
const union fscrypt_policy *policy
const struct inode *inode
53  如果S_ISREG(i_mode)则返回:available_modes[Return the contents encryption mode of a valid encryption policy ]
56  如果S_ISDIR(i_mode)或S_ISLNK(i_mode)则返回:available_modes[Return the filenames encryption mode of a valid encryption policy ]
59  WARN_ONCE(1, "fscrypt: filesystem tried to load encryption info for inode %lu, which is not encryptable (file type %d)\n", Stat data, not accessed from path walking , (i_mode & S_IFMT))
61  返回:错误号
调用者
名称描述
fscrypt_get_encryption_info