Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\dma\debug.c Create Date:2022-07-28 10:35:09
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:overlap

Proto:static inline bool overlap(void *addr, unsigned long len, void *start, void *end)

Type:bool

Parameter:

TypeParameterName
void *addr
unsigned longlen
void *start
void *end
1118  a1 = addr
1119  b1 = a1 + len
1120  a2 = start
1121  b2 = end
1123  Return Not ( b1 <= a2 || a1 >= b2 )
Caller
NameDescribe
check_for_illegal_area