Function report |
Source Code:block\partitions\check.c |
Create Date:2022-07-28 17:25:23 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:allocate_partitions
Proto:static struct parsed_partitions *allocate_partitions(struct gendisk *hd)
Type:struct parsed_partitions
Parameter:
Type | Parameter | Name |
---|---|---|
struct gendisk * | hd |
120 | state = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). |
121 | If Not state Then Return NULL |
124 | nr = disk_max_parts(hd) |
126 | If Not parts Then |
133 | Return state |
Name | Describe |
---|---|
check_partition |
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 |