函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\mm.h Create Date:2022-07-27 06:44:51
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:vm_start_gap

函数原型:static inline unsigned long vm_start_gap(struct vm_area_struct *vma)

返回类型:unsigned long

参数:

类型参数名称
struct vm_area_struct *vma
2458  vm_start等于Our start address within vm_mm.
2460  如果Flags, see mm.h. 按位与general info on the segment
2461  vm_start减等于stack_guard_gap
2462  如果vm_start大于Our start address within vm_mm. vm_start等于0
2465  返回:vm_start
调用者
名称描述
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):