函数逻辑报告 | 
Source Code:kernel\trace\tracing_map.c | 
Create Date:2022-07-27 13:13:51 | 
| Last Modify:2020-03-17 19:44:05 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:tracing_map_array_alloc
函数原型:struct tracing_map_array *tracing_map_array_alloc(unsigned int n_elts, unsigned int entry_size)
返回类型:struct tracing_map_array
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| unsigned int | n_elts | |
| unsigned int | entry_size | 
| 326 | 如果非a则返回:NULL | 
| 330 | entries_per_page等于PAGE_SIZE除1左移entry_size_shift位的值 | 
| 335 | entry_mask等于1左移entry_shift位的值减1 | 
| 342 | pages[i]等于get_zeroed_page(GFP_KERNEL) | 
| 346 | out : | 
| 347 | 返回:a | 
| 348 | free : | 
| 349 | tracing_map_array_free(a) | 
| 350 | a = NULL | 
| 352 | 转到:out | 
| 名称 | 描述 | 
|---|---|
| tracing_map_alloc_elts | |
| tracing_map_create | racing_map_create - Create a lock-free map and element pool*@map_bits: The size of the map (2 ** map_bits)*@key_size: The size of the key for the map in bytes*@ops: Optional client-defined tracing_map_ops instance*@private_data: Client data associated | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |