Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\vmalloc.h Create Date:2022-07-28 05:46:16
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Lowlevel-APIs (not for driver use!)

Proto:static inline size_t get_vm_area_size(const struct vm_struct *area)

Type:size_t

Parameter:

TypeParameterName
const struct vm_struct *area
150  If Not (flags & don't add guard page ) Then Return size - PAGE_SIZE
153  Else Return size
Caller
NameDescribe
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