Function report | 
Source Code:block\genhd.c | 
Create Date:2022-07-28 17:19:02 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name: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
Proto:int disk_expand_part_tbl(struct gendisk *disk, int partno)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct gendisk * | disk | |
| int | partno | 
| 1303 | If disk_max_parts(disk) && target > disk_max_parts(disk) Then Return -EINVAL | 
| 1320 | Return 0 | 
| Name | Describe | 
|---|---|
| __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 | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |