Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\mmap.c Create Date:2022-07-28 14:50:31
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Called with mm->mmap_sem held for writing.* Insert a new vma covering the given region, with the given flags.* Its pages are supplied by the given array of struct page *.* The array can be shorter than len >> PAGE_SHIFT if it's null-terminated.

Proto:struct vm_area_struct *_install_special_mapping(struct mm_struct *mm, unsigned long addr, unsigned long len, unsigned long vm_flags, const struct vm_special_mapping *spec)

Type:struct vm_area_struct

Parameter:

TypeParameterName
struct mm_struct *mm
unsigned longaddr
unsigned longlen
unsigned longvm_flags
const struct vm_special_mapping *spec
3431  Return __install_special_mapping(mm, addr, len, vm_flags, (void * )spec, & special_mapping_vmops)