函数逻辑报告 |
Source Code:security\integrity\ima\ima_crypto.c |
Create Date:2022-07-27 22:00:33 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:ma_alloc_pages() - Allocate contiguous pages
函数原型:static void *ima_alloc_pages(loff_t max_size, size_t *allocated_size, int last_warn)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
loff_t | max_size | |
size_t * | allocated_size | |
int | last_warn |
129 | ptr等于Common helper functions. Never use with __GFP_HIGHMEM because the returned* address cannot represent highmem pages. Use alloc_pages and then kmap if* you need to access high mem. |
130 | 如果ptr则 |
131 | allocated_size等于PAGE_SIZE左移order位 |
132 | 返回:ptr |
138 | gfp_mask等于GFP_KERNEL |
143 | ptr等于Common helper functions. Never use with __GFP_HIGHMEM because the returned* address cannot represent highmem pages. Use alloc_pages and then kmap if* you need to access high mem. |
144 | 如果ptr则 |
145 | allocated_size等于PAGE_SIZE |
146 | 返回:ptr |
149 | allocated_size等于0 |
150 | 返回:NULL |
名称 | 描述 |
---|---|
ima_calc_file_hash_atfm |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |