函数逻辑报告 |
Source Code:mm\zbud.c |
Create Date:2022-07-27 18:00:46 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:zbud_free() - frees the allocation associated with the given handle*@pool: pool in which the allocation resided*@handle: handle associated with the allocation returned by zbud_alloc()* In the case that the zbud page in which the allocation resides is
函数原型:void zbud_free(struct zbud_pool *pool, unsigned long handle)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct zbud_pool * | pool | |
unsigned long | handle |
435 | 加自旋锁 |
439 | 如果handle减ZHDR_SIZE_ALIGNED按位与PAGE_MASK的反则last_chunks等于0 |
441 | 否则first_chunks等于0 |
444 | 如果under_reclaim则 |
446 | 自旋锁解锁 |
447 | 返回 |
451 | 删除链表项 |
453 | 如果first_chunks恒等于0且last_chunks恒等于0则 |
458 | 否则 |
464 | 自旋锁解锁 |
名称 | 描述 |
---|---|
zbud_zpool_free |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |