函数逻辑报告 |
Source Code:block\partitions\aix.c |
Create Date:2022-07-27 19:01:38 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:ad_lba(): Read bytes from disk, starting at given LBA*@state*@lba*@buffer*@count* Description: Reads @count bytes from @state->bdev into @buffer.* Returns number of bytes read on success, 0 on error.
函数原型:static size_t read_lba(struct parsed_partitions *state, u64 lba, u8 *buffer, size_t count)
返回类型:size_t
参数:
类型 | 参数 | 名称 |
---|---|---|
struct parsed_partitions * | state | |
u64 | lba | |
u8 * | buffer | |
size_t | count |
99 | totalreadcount等于0 |
105 | copied等于512 |
107 | data等于read_part_sector(state, lba++, & sect) |
113 | put_dev_sector(sect) |
115 | totalreadcount加等于copied |
118 | 返回:totalreadcount |
名称 | 描述 |
---|---|
alloc_pvd | alloc_pvd(): reads physical volume descriptor*@state*@lba* Description: Returns pvd on success, NULL on error.* Allocates space for pvd and fill it with disk blocks at @lba* Notes: remember to free pvd when you're done! |
alloc_lvn | alloc_lvn(): reads logical volume names*@state*@lba* Description: Returns lvn on success, NULL on error.* Allocates space for lvn and fill it with disk blocks at @lba* Notes: remember to free lvn when you're done! |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |