函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ldm_compare_tocblocks - Compare two tocblock objects*@toc1: First toc*@toc2: Second toc* This compares the two tocblock structures @toc1 and @toc2.* Return: 'true' Identical* 'false' Different

函数原型:static bool ldm_compare_tocblocks(const struct tocblock *toc1, const struct tocblock *toc2)

返回类型:bool

参数:

类型参数名称
const struct tocblock *toc1
const struct tocblock *toc2
239  BUG_ON(!toc1 || !toc2)
241  返回:bitmap1_start恒等于bitmap1_startbitmap1_size恒等于bitmap1_sizebitmap2_start恒等于bitmap2_startbitmap2_size恒等于bitmap2_size且非字符串指定长度比较且非字符串指定长度比较
调用者
名称描述
ldm_validate_tocblocksldm_validate_tocblocks - Validate the table of contents and its backups*@state: Partition check state including device holding the LDM Database*@base: Offset, into @state->bdev, of the database*@ldb: Cache of the database structures* Find and compare the