函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ldm_compare_privheads - Compare two privhead objects*@ph1: First privhead*@ph2: Second privhead* This compares the two privhead structures @ph1 and @ph2.* Return: 'true' Identical* 'false' Different

函数原型:static bool ldm_compare_privheads(const struct privhead *ph1, const struct privhead *ph2)

返回类型:bool

参数:

类型参数名称
const struct privhead *ph1
const struct privhead *ph2
215  BUG_ON(!ph1 || !ph2)
217  返回:Offsets and sizes are in sectors. 恒等于Offsets and sizes are in sectors. ver_minor恒等于ver_minorlogical_disk_start恒等于logical_disk_startlogical_disk_size恒等于logical_disk_sizeconfig_start恒等于config_startconfig_size恒等于config_sizeuuid_equal( & disk_id, & disk_id)
调用者
名称描述
ldm_validate_privheadsldm_validate_privheads - Compare the primary privhead with its backups*@state: Partition check state including device holding the LDM Database*@ph1: Memory struct to fill with ph contents* Read and compare all three privheads from disk