函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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.

函数原型: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)

返回类型:struct vm_area_struct

参数:

类型参数名称
struct mm_struct *mm
unsigned longaddr
unsigned longlen
unsigned longvm_flags
const struct vm_special_mapping *spec
3431  返回:__install_special_mapping(mm, addr, len, vm_flags, (void * )spec, & special_mapping_vmops)
调用者
名称描述
xol_add_vmaSlot allocation for XOL