Function report |
Source Code:block\partitions\ldm.c |
Create Date:2022-07-28 17:28:33 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ldm_ldmdb_add - Adds a raw VBLK entry to the ldmdb database*@data: Raw VBLK to add to the database*@len: Size of the raw VBLK*@ldb: Cache of the database structures* The VBLKs are sorted into categories. Partitions are also sorted by offset.* N
Proto:static bool ldm_ldmdb_add(u8 *data, int len, struct ldmdb *ldb)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
u8 * | data | |
int | len | |
struct ldmdb * | ldb |
1172 | vb = Allocation memory |
1173 | If Not vb Then |
1174 | ldm_crit("Out of memory.") |
1175 | Return false |
1180 | Return false |
1185 | Case type == Disk Group, version 3 |
1186 | Case type == Disk Group, version 4 |
1189 | Case type == Disk, version 3 |
1190 | Case type == Disk, version 4 |
1193 | Case type == Volume, version 5 |
1196 | Case type == Component, version 3 |
1199 | Case type == Partition, version 3 |
1203 | If disk_id == disk_id && VBLK Partition > VBLK Partition Then |
1210 | Break |
1212 | Return true |
Name | Describe |
---|---|
ldm_frag_commit | ldm_frag_commit - Validate fragmented VBLKs and add them to the database*@frags: Linked list of VBLK fragments*@ldb: Cache of the database structures* Now that all the fragmented VBLKs have been collected, they must be added to* the database for later use |
ldm_get_vblks | ldm_get_vblks - Read the on-disk database of VBLKs into memory*@state: Partition check state including device holding the LDM Database*@base: Offset, into @state->bdev, of the database*@ldb: Cache of the database structures* To use the information from |
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 |