函数逻辑报告 |
Source Code:block\genhd.c |
Create Date:2022-07-27 18:54:26 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:disk_expand_part_tbl - expand disk->part_tbl*@disk: disk to expand part_tbl for*@partno: expand such that this partno can fit in* Expand disk->part_tbl such that @partno can fit in. disk->part_tbl
函数原型:int disk_expand_part_tbl(struct gendisk *disk, int partno)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct gendisk * | disk | |
int | partno |
1303 | 如果disk_max_parts(disk)且target大于disk_max_parts(disk)则返回:负EINVAL |
1309 | new_ptbl等于根据内存节点分配内存 |
1320 | 返回:0 |
名称 | 描述 |
---|---|
__alloc_disk_node | |
add_partition | Must be called either with bd_mutex held, before a disk can be opened or* after all disk users are gone. |
blk_add_partitions |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |