Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Returns true if any portion of [ptr,ptr+n) over laps with [low,high).

Proto:static bool overlaps(const unsigned long ptr, unsigned long n, unsigned long low, unsigned long high)

Type:bool

Parameter:

TypeParameterName
const unsigned longptr
unsigned longn
unsigned longlow
unsigned longhigh
106  check_low = ptr
107  check_high = check_low + n
110  If check_low >= high || check_high <= low Then Return false
113  Return true
Caller
NameDescribe
check_kernel_text_objectIs this address range in the kernel text area?