Function report |
Source Code:block\partitions\efi.c |
Create Date:2022-07-28 17:31:17 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:pmbr_part_valid
Proto:static inline int pmbr_part_valid(gpt_mbr_record *part)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| gpt_mbr_record * | part |
| 144 | If EFI and legacy non-EFI OS types != EFI_PMBR_OSTYPE_EFI_GPT Then Go to invalid |
| 148 | If le32_to_cpu( used by EFI - start addr of the on disk pt ) != GPT_PRIMARY_PARTITION_TABLE_LBA Then Go to invalid |
| 151 | Return GPT_MBR_PROTECTIVE |
| 152 | invalid : |
| 153 | Return 0 |
| Name | Describe |
|---|---|
| is_pmbr_valid | s_pmbr_valid(): test Protective MBR for validity*@mbr: pointer to a legacy mbr structure*@total_sectors: amount of sectors in the device* Description: Checks for a valid protective or hybrid* master boot record (MBR) |
| 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 |