函数逻辑报告 |
Source Code:block\partitions\ldm.c |
Create Date:2022-07-27 19:03:57 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:static bool ldm_ldmdb_add(u8 *data, int len, struct ldmdb *ldb)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
u8 * | data | |
int | len | |
struct ldmdb * | ldb |
1173 | 如果非vb则 |
1174 | ldm_crit("Out of memory.") |
1175 | 返回:false |
1179 | 释放内存 |
1180 | 返回:false |
1185 | 当:type恒等于Disk Group, version 3 |
1186 | 当:type恒等于Disk Group, version 4 |
1189 | 当:type恒等于Disk, version 3 |
1190 | 当:type恒等于Disk, version 4 |
1193 | 当:type恒等于Volume, version 5 |
1196 | 当:type恒等于Component, version 3 |
1199 | 当:type恒等于Partition, version 3 |
1203 | 如果disk_id恒等于disk_id且 VBLK Partition 大于 VBLK Partition 则 |
1205 | 添加链表项 |
1206 | 返回:true |
1209 | 添加链表项 |
1210 | 退出 |
1212 | 返回:true |
名称 | 描述 |
---|---|
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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |