Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

Name:pmbr_part_valid

Proto:static inline int pmbr_part_valid(gpt_mbr_record *part)

Type:int

Parameter:

TypeParameterName
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
Caller
NameDescribe
is_pmbr_valids_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)