Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\partitions\ldm.c Create Date:2022-07-28 17:27:25
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:static bool ldm_compare_tocblocks(const struct tocblock *toc1, const struct tocblock *toc2)

Type:bool

Parameter:

TypeParameterName
const struct tocblock *toc1
const struct tocblock *toc2
239  BUG_ON(!toc1 || !toc2)
241  Return bitmap1_start == bitmap1_start && bitmap1_size == bitmap1_size && bitmap2_start == bitmap2_start && bitmap2_size == bitmap2_size && Not strncmp( We have exactly two bitmaps. , We have exactly two bitmaps. , size of We have exactly two bitmaps. ) && Not strncmp(bitmap2_name, bitmap2_name, size of bitmap2_name )
Caller
NameDescribe
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