函数逻辑报告 |
Source Code:mm\hugetlb.c |
Create Date:2022-07-27 16:56:05 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Add the huge page range represented by [f, t) to the reserve* map
函数原型:static long region_add(struct resv_map *resv, long f, long t)
返回类型:long
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct resv_map * | resv | |
| long | f | |
| long | t |
| 316 | add等于0 |
| 318 | 加自旋锁 |
| 330 | VM_BUG_ON(region_cache_count <= 0) |
| 332 | region_cache_count自减 |
| 335 | 删除链表项 |
| 339 | 添加链表项 |
| 342 | 转到:out_locked |
| 345 | add等于Must be called with resv->lock held. Calling this with count_only == true* will count the number of pages to be added but will not modify the linked* list. |
| 347 | out_locked : |
| 348 | adds_in_progress自减 |
| 349 | 自旋锁解锁 |
| 351 | 返回:add |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |