函数逻辑报告 |
Source Code:mm\zbud.c |
Create Date:2022-07-27 18:00:51 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:zbud_reclaim_page() - evicts allocations from a pool page and frees it*@pool: pool from which a page will attempt to be evicted*@retries: number of pages on the LRU list for which eviction will* be attempted before failing* zbud reclaim is different from
函数原型:int zbud_reclaim_page(struct zbud_pool *pool, unsigned int retries)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct zbud_pool * | pool | |
| unsigned int | retries |
| 506 | first_handle等于0, last_handle等于0 |
| 508 | 加自旋锁 |
| 516 | 删除链表项 |
| 517 | 删除链表项 |
| 519 | under_reclaim = true |
| 524 | first_handle等于0 |
| 525 | last_handle等于0 |
| 526 | 如果first_chunks则first_handle等于Encodes the handle of a particular buddy within a zbud page* Pool lock should be held as this function accesses first|last_chunks |
| 528 | 如果last_chunks则last_handle等于Encodes the handle of a particular buddy within a zbud page* Pool lock should be held as this function accesses first|last_chunks |
| 530 | 自旋锁解锁 |
| 533 | 如果first_handle则 |
| 538 | 如果last_handle则 |
| 543 | next : |
| 544 | 加自旋锁 |
| 545 | under_reclaim = false |
| 546 | 如果first_chunks恒等于0且last_chunks恒等于0则 |
| 555 | 否则如果first_chunks恒等于0或last_chunks恒等于0则 |
| 560 | 否则 |
| 562 | 添加链表项 |
| 566 | 添加链表项 |
| 568 | 自旋锁解锁 |
| 569 | 返回:负EAGAIN |
| 名称 | 描述 |
|---|---|
| zbud_zpool_shrink |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |