Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:has_overlaps

Proto:static bool has_overlaps(sector_t from, sector_t size, sector_t from2, sector_t size2)

Type:bool

Parameter:

TypeParameterName
sector_tfrom
sector_tsize
sector_tfrom2
sector_tsize2
64  end = from + size
65  end2 = from2 + size2
67  If from >= from2 && from < end2 Then Return true
70  If end > from2 && end <= end2 Then Return true
73  If from2 >= from && from2 < end Then Return true
76  If end2 > from && end2 <= end Then Return true
79  Return false
Caller
NameDescribe
cmdline_parts_verifier