函数逻辑报告 |
Source Code:block\partitions\ldm.c |
Create Date:2022-07-27 19:03:07 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:ldm_validate_partition_table - Determine whether bdev might be a dynamic disk*@state: Partition check state including device holding the LDM Database* This function provides a weak test to decide whether the device is a dynamic* disk or not
函数原型:static bool ldm_validate_partition_table(struct parsed_partitions *state)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct parsed_partitions * | state |
498 | bool result = false |
502 | data等于read_part_sector(state, 0, & sect) |
503 | 如果非data则 |
504 | ldm_info("Disk read failed.") |
505 | 返回:false |
508 | 如果*data加0x01FE的和不等于cpu_to_le16(s/partitions/msdos.h)则转到:out |
512 | 以i小于4循环如果Borrowed from msdos.c (p)恒等于Formerly SFS (Landis). 则 |
521 | out : |
522 | put_dev_sector(sect) |
523 | 返回:result |
名称 | 描述 |
---|---|
ldm_partition | ldm_partition - Find out whether a device is a dynamic disk and handle it*@state: Partition check state including device holding the LDM Database* This determines whether the device @bdev is a dynamic disk and if so creates |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |