Function report |
Source Code:block\partitions\ldm.c |
Create Date:2022-07-28 17:27:51 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ldm_get_vstr - Read a length-prefixed string into a buffer*@block: Pointer to the length marker*@buffer: Location to copy string to*@buflen: Size of the output buffer* Many of the strings in the LDM Database are not NULL terminated. Instead
Proto:static int ldm_get_vstr(const u8 *block, u8 *buffer, int buflen)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const u8 * | block | |
| u8 * | buffer | |
| int | buflen | 1, String was truncated. |
| 699 | If length >= 1, String was truncated. Then |
| 700 | ldm_error("Truncating string %d -> %d.", length, 1, String was truncated.) |
| 701 | length = 1, String was truncated. - 1 |
| 705 | Return length |
| Name | Describe |
|---|---|
| ldm_parse_cmp3 | ldm_parse_cmp3 - Read a raw VBLK Component object into a vblk structure*@buffer: Block of data being worked on*@buflen: Size of the block of data*@vb: In-memory vblk in which to return information |
| ldm_parse_dgr3 | ldm_parse_dgr3 - Read a raw VBLK Disk Group object into a vblk structure*@buffer: Block of data being worked on*@buflen: Size of the block of data*@vb: In-memory vblk in which to return information |
| ldm_parse_dgr4 | ldm_parse_dgr4 - Read a raw VBLK Disk Group object into a vblk structure*@buffer: Block of data being worked on*@buflen: Size of the block of data*@vb: In-memory vblk in which to return information |
| ldm_parse_dsk3 | ldm_parse_dsk3 - Read a raw VBLK Disk object into a vblk structure*@buffer: Block of data being worked on*@buflen: Size of the block of data*@vb: In-memory vblk in which to return information* Read a raw VBLK Disk object (version 3) into a vblk structure |
| ldm_parse_vol5 | ldm_parse_vol5 - Read a raw VBLK Volume object into a vblk structure*@buffer: Block of data being worked on*@buflen: Size of the block of data*@vb: In-memory vblk in which to return information |
| ldm_parse_vblk | ldm_parse_vblk - Read a raw VBLK object into a vblk structure*@buf: Block of data being worked on*@len: Size of the block of data*@vb: In-memory vblk in which to return information* Read a raw VBLK object into a vblk structure |
| 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 |