函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Lowlevel-APIs (not for driver use!)

函数原型:static inline size_t get_vm_area_size(const struct vm_struct *area)

返回类型:size_t

参数:

类型参数名称
const struct vm_struct *area
150  如果非flags按位与don't add guard page 的值则返回:sizePAGE_SIZE
153  否则返回:size
调用者
名称描述
map_vm_area
__vunmap
__vmalloc_area_node
vreadvread() - read vmalloc area in a safe way.*@buf: buffer for reading data*@addr: vm address.*@count: number of bytes to be read.* This function checks that addr is a valid vmalloc'ed area, and* copy data from that area to a given buffer
vwritevwrite() - write vmalloc area in a safe way.*@buf: buffer for source data*@addr: vm address.*@count: number of bytes to be read.* This function checks that addr is a valid vmalloc'ed area, and* copy data from a buffer to the given addr
remap_vmalloc_range_partialmap_vmalloc_range_partial - map vmalloc pages to userspace*@vma: vma to cover*@uaddr: target user address to start at*@kaddr: virtual address of vmalloc kernel memory*@size: size of map area* Returns: 0 for success, -Exxx on failure* This function checks