函数逻辑报告 |
Source Code:block\partitions\efi.c |
Create Date:2022-07-27 19:07:18 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:d_valid_gpt() - Search disk for valid GPT headers and PTEs*@state: disk parsed partitions*@gpt: GPT header ptr, filled on return.*@ptes: PTEs ptr, filled on return.* Description: Returns 1 if valid, 0 on error.
函数原型:static int find_valid_gpt(struct parsed_partitions *state, gpt_header **gpt, gpt_entry **ptes)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct parsed_partitions * | state | |
| gpt_header ** | gpt | |
| gpt_entry ** | ptes |
| 587 | gpt_header * pgpt = NULL, * agpt = NULL |
| 593 | 如果非ptes则返回:0 |
| 605 | 释放内存 |
| 610 | pr_debug("Device has a %s MBR\n", good_pmbr == GPT_MBR_PROTECTIVE ? "protective" : "hybrid") |
| 631 | 如果good_pgpt则 |
| 640 | 否则如果good_agpt则 |
| 649 | fail : |
| 650 | 释放内存 |
| 651 | 释放内存 |
| 652 | 释放内存 |
| 653 | 释放内存 |
| 654 | * gpt = NULL |
| 655 | * ptes = NULL |
| 656 | 返回:0 |
| 名称 | 描述 |
|---|---|
| efi_partition | _partition(struct parsed_partitions *state)*@state: disk parsed partitions* Description: called from check.c, if the disk contains GPT* partitions, sets up partition entries in the kernel.* If the first block on the disk is a legacy MBR, |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |