Function report |
Source Code:fs\crypto\hooks.c |
Create Date:2022-07-28 20:23:45 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__fscrypt_prepare_link
Proto:int __fscrypt_prepare_link(struct inode *inode, struct inode *dir, struct dentry *dentry)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct inode * | inode | |
struct inode * | dir | |
struct dentry * | dentry |
57 | err = 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 |
62 | If protected by d_lock & Encrypted name (dir key was unavailable) Then Return -ENOKEY |
65 | If Not fscrypt_has_permitted_context(dir, inode) Then Return -EXDEV |
68 | Return 0 |
Name | Describe |
---|---|
fscrypt_prepare_link | 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 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |