Function report |
Source Code:block\partitions\ibm.c |
Create Date:2022-07-28 17:31:00 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:find_cms1_partitions
Proto:static int find_cms1_partitions(struct parsed_partitions *state, struct hd_geometry *geo, int blocksize, char name[], union label_t *label, sector_t labelsect)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct parsed_partitions * | state | |
struct hd_geometry * | geo | |
int | blocksize | |
char | name | |
union label_t * | label | |
sector_t | labelsect |
256 | blocksize = Disk block size |
258 | If Disk offset when reserved != 0 Then |
262 | offset = Disk offset when reserved * secperblk |
263 | size = ( Disk size in CMS blocks - 1) * secperblk |
264 | Else |
278 | size = Disk size in CMS blocks * secperblk |
281 | put_partition(state, 1, offset, size - offset) |
283 | Return 1 |
Name | Describe |
---|---|
ibm_partition | This is the main function, called by check.c |
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 |