函数逻辑报告 |
Source Code:mm\z3fold.c |
Create Date:2022-07-27 18:04:36 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Add to the appropriate unbuddied list
函数原型:static inline void add_to_unbuddied(struct z3fold_pool *pool, struct z3fold_header *zhdr)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct z3fold_pool * | pool | |
| struct z3fold_header * | zhdr |
| 641 | 如果first_chunks恒等于0或last_chunks恒等于0或middle_chunks恒等于0则 |
| 643 | unbuddied等于get_cpu_ptr(unbuddied) |
| 645 | freechunks等于Returns the number of free chunks in a z3fold page.* NB: can't be used with HEADLESS pages. |
| 646 | 加自旋锁 |
| 647 | 添加链表项 |
| 648 | 自旋锁解锁 |
| 650 | put_cpu_ptr(unbuddied) |
| 名称 | 描述 |
|---|---|
| compact_single_buddy | |
| do_compact_page | |
| z3fold_alloc | z3fold_alloc() - allocates a region of a given size*@pool: z3fold pool from which to allocate*@size: size in bytes of the desired allocation*@gfp: gfp flags used if the pool needs to grow*@handle: handle of the new allocation* This function will attempt |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |