函数逻辑报告 |
Source Code:fs\crypto\crypto.c |
Create Date:2022-07-29 10:56:51 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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.
函数原型:int fscrypt_decrypt_pagecache_blocks(struct page *page, unsigned int len, unsigned int offs)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
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 | 如果WARN_ON_ONCE(!PageLocked(page))则返回:负EINVAL |
251 | 如果WARN_ON_ONCE(len <= 0 || !IS_ALIGNED(len | offs, blocksize))则返回:负EINVAL |
260 | 返回:0 |
名称 | 描述 |
---|---|
fscrypt_decrypt_bio |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |