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_end_gap

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

Type:unsigned long

Parameter:

TypeParameterName
struct vm_area_struct *vma
2470  vm_end = The first byte after our end addresswithin vm_mm.
2472  If Flags, see mm.h. & VM_GROWSUP Then
2473  vm_end += stack_guard_gap
2474  If vm_end < The first byte after our end addresswithin vm_mm. Then vm_end = -PAGE_SIZE
2477  Return vm_end
Caller
NameDescribe
vma_compute_gap
__vma_link_rb
__vma_adjustWe cannot adjust vm_start, vm_end, vm_pgoff fields of a vma that* is already present in an i_mmap tree without adjusting the tree.* The following helper function should be used when such adjustments* are necessary
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):
detach_vmas_to_be_unmappedCreate a list of vma's touched by the unmap, removing them from the mm's* vma list as we go..