Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Search for an unmapped address range

Proto:static inline unsigned long vm_unmapped_area(struct vm_unmapped_area_info *info)

Type:unsigned long

Parameter:

TypeParameterName
struct vm_unmapped_area_info *info
2386  If flags & VM_UNMAPPED_AREA_TOPDOWN Then Return unmapped_area_topdown(info)
2388  Else Return unmapped_area(info)
Caller
NameDescribe
arch_get_unmapped_area
arch_get_unmapped_area_topdown
arch_get_unmapped_areaGet an address range which is currently unmapped.* For shmat() with addr=0.* Ugly calling convention alert:* Return value with the low bits set means error value,* ie* if (ret & ~PAGE_MASK)* error = ret;
arch_get_unmapped_area_topdownThis mmap-allocator allocates new areas top-down from below the* stack's low limit (the base):