Function report |
Source Code:block\partitions\ibm.c |
Create Date:2022-07-28 17:30:53 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:find_vol1_partitions
Proto:static int find_vol1_partitions(struct parsed_partitions *state, struct hd_geometry *geo, int blocksize, char name[], union label_t *label)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct parsed_partitions * | state | |
| struct hd_geometry * | geo | |
| int | blocksize | |
| char | name | |
| union label_t * | label |
| 156 | counter = 0 |
| 159 | memcpy( & f1, data, sizeof(structvtoc_format1_label)) |
| 160 | put_dev_sector(sect) |
| 162 | If format identifier == ASCII -> EBCDIC conversion table ['4'] || format identifier == ASCII -> EBCDIC conversion table ['5'] || format identifier == ASCII -> EBCDIC conversion table ['7'] || format identifier == ASCII -> EBCDIC conversion table ['9'] Then |
| 171 | If format identifier != ASCII -> EBCDIC conversion table ['1'] && format identifier != ASCII -> EBCDIC conversion table ['8'] Then Break |
| 182 | put_partition(state, counter + 1, offset, size) |
| 183 | counter++ |
| 184 | blk++ |
| 189 | If Not data Then Return -1 |
| 192 | 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 |