Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:vmap_block_vaddr

Proto:static void *vmap_block_vaddr(unsigned long va_start, unsigned long pages_off)

Type:void

Parameter:

TypeParameterName
unsigned longva_start
unsigned longpages_off
1477  addr = va_start + (pages_off << PAGE_SHIFT determines the page size )
1478  BUG_ON(We should probably have a fallback mechanism to allocate virtual memory* out of partially filled vmap blocks. However vmap block sizing should be* fairly reasonable according to the vmalloc size, so it shouldn't be a* big problem. != We should probably have a fallback mechanism to allocate virtual memory* out of partially filled vmap blocks. However vmap block sizing should be* fairly reasonable according to the vmalloc size, so it shouldn't be a* big problem.)
1479  Return addr
Caller
NameDescribe
new_vmap_blockw_vmap_block - allocates new vmap_block and occupies 2^order pages in this* block
vb_alloc