Function report |
Source Code:fs\crypto\crypto.c |
Create Date:2022-07-28 20:23:31 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:scrypt_decrypt_pagecache_blocks() - Decrypt filesystem blocks in a pagecache page*@page: The locked pagecache page containing the block(s) to decrypt*@len: Total size of the block(s) to decrypt. Must be a nonzero* multiple of the filesystem's block size.
Proto:int fscrypt_decrypt_pagecache_blocks(struct page *page, unsigned int len, unsigned int offs)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct page * | page | |
| unsigned int | len | |
| unsigned int | offs |
| 243 | lblk_num = ( Our offset within mapping. << PAGE_SHIFT determines the page size - blockbits ) + (offs >> blockbits) |
| 248 | If WARN_ON_ONCE(!PageLocked(page)) Then Return -EINVAL |
| 251 | If WARN_ON_ONCE(len <= 0 || !IS_ALIGNED(len | offs, blocksize)) Then Return -EINVAL |
| 260 | Return 0 |
| Name | Describe |
|---|---|
| fscrypt_decrypt_bio |
| 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 |