Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\asm-generic\sections.h Create Date:2022-07-28 05:49:00
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:memory_contains - checks if an object is contained within a memory region*@begin: virtual address of the beginning of the memory region*@end: virtual address of the end of the memory region*@virt: virtual address of the memory object*@size: size of the

Proto:static inline bool memory_contains(void *begin, void *end, void *virt, size_t size)

Type:bool

Parameter:

TypeParameterName
void *begin
void *end
void *virt
size_tsize
108  Return virt >= begin && virt + size <= end