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

Proto:static inline int fscrypt_prepare_lookup(struct inode *dir, struct dentry *dentry, struct fscrypt_name *fname)

Type:int

Parameter:

TypeParameterName
struct inode *dir
struct dentry *dentry
struct fscrypt_name *fname
641  If IS_ENCRYPTED(dir) Then Return __fscrypt_prepare_lookup(dir, dentry, fname)
644  memset(fname, 0, size of fname )
645  usr_fname = d_name
646  name = name
647  len = len
648  Return 0