函数逻辑报告

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_link - prepare to link an inode into a possibly-encrypted directory*@old_dentry: an existing dentry for the inode being linked*@dir: the target directory*@dentry: negative dentry for the target filename* A new link can only be added to an

函数原型:static inline int fscrypt_prepare_link(struct dentry *old_dentry, struct inode *dir, struct dentry *dentry)

返回类型:int

参数:

类型参数名称
struct dentry *old_dentry
struct inode *dir
struct dentry *dentry
580  如果IS_ENCRYPTED(dir)则返回:__fscrypt_prepare_link(获得目录项的索引节点, dir, dentry)
582  返回:0