函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\partitions\efi.c Create Date:2022-07-27 19:06:44
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:pmbr_part_valid

函数原型:static inline int pmbr_part_valid(gpt_mbr_record *part)

返回类型:int

参数:

类型参数名称
gpt_mbr_record *part
144  如果 EFI and legacy non-EFI OS types 不等于EFI_PMBR_OSTYPE_EFI_GPT则转到:invalid
148  如果le32_to_cpu( used by EFI - start addr of the on disk pt )不等于GPT_PRIMARY_PARTITION_TABLE_LBA则转到:invalid
151  返回:GPT_MBR_PROTECTIVE
152  invalid :
153  返回:0
调用者
名称描述
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)