Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:vm_start_gap

Proto:static inline unsigned long vm_start_gap(struct vm_area_struct *vma)

Type:unsigned long

Parameter:

TypeParameterName
struct vm_area_struct *vma
2458  vm_start = Our start address within vm_mm.
2460  If Flags, see mm.h. & general info on the segment Then
2461  vm_start -= stack_guard_gap
2462  If vm_start > Our start address within vm_mm. Then vm_start = 0
2465  Return vm_start
Caller
NameDescribe
arch_get_unmapped_area
arch_get_unmapped_area_topdown
SYSCALL_DEFINE1
vma_compute_gap
unmapped_area
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):