函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Free a region of KVA allocated by alloc_vmap_area

函数原型:static void free_vmap_area(struct vmap_area *va)

返回类型:void

参数:

类型参数名称
struct vmap_area *va
1072  加自旋锁
1073  unlink_va(va, & vmap_area_root)
1074  自旋锁解锁
1079  加自旋锁
1080  Merge de-allocated chunk of VA memory with previous* and next free blocks. If coalesce is not done a new* free area is inserted. If VA has been merged, it is* freed.
1081  自旋锁解锁
调用者
名称描述
alloc_vmap_areaAllocate a region of KVA of the specified size and alignment, within the* vstart and vend.
new_vmap_blockw_vmap_block - allocates new vmap_block and occupies 2^order pages in this* block