函数逻辑报告

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_lookup - prepare to lookup a name in a possibly-encrypted directory*@dir: directory being searched*@dentry: filename being looked up*@fname: (output) the name to use to search the on-disk directory* Prepare for ->lookup() in a directory

函数原型:static inline int fscrypt_prepare_lookup(struct inode *dir, struct dentry *dentry, struct fscrypt_name *fname)

返回类型:int

参数:

类型参数名称
struct inode *dir
struct dentry *dentry
struct fscrypt_name *fname
641  如果IS_ENCRYPTED(dir)则返回:__fscrypt_prepare_lookup(dir, dentry, fname)
644  memset(fname, 0, fname的长度)
645  usr_fname等于d_name
646  name等于name
647  len等于len
648  返回:0