函数逻辑报告 |
Source Code:kernel\resource.c |
Create Date:2022-07-27 10:04:59 |
| Last Modify:2022-05-22 11:14:39 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Find empty slot in the resource tree with the given range and* alignment constraints
函数原型:static int __find_resource(struct resource *root, struct resource *old, struct resource *new, resource_size_t size, struct resource_constraint *constraint)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct resource * | root | |
| struct resource * | old | |
| struct resource * | new | |
| resource_size_t | size | |
| struct resource_constraint * | constraint |
| 609 | 循环 |
| 618 | resource_clip( & tmp, min, max) |
| 619 | arch_remove_reservations( & tmp) |
| 622 | start等于@a is a power of 2 value (start, align) |
| 624 | flags等于flags按位与No address assigned yet 的反 |
| 630 | 如果start小于等于end且True iff r1 completely contains r2 则 |
| 638 | next : |
| 645 | 返回:负EBUSY |
| 名称 | 描述 |
|---|---|
| find_resource | Find empty slot in the resource tree given range and alignment. |
| reallocate_resource | allocate_resource - allocate a slot in the resource tree given range & alignment |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |