函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:vunmap - release virtual mapping obtained by vmap()*@addr: memory base address* Free the virtually contiguous memory area starting at @addr,* which was created from the page array passed to vmap().* Must not be called in interrupt context.

函数原型:void vunmap(const void *addr)

返回类型:void

参数:

类型参数名称
const void *addr
2400  BUG_ON(in_interrupt())
2401  might_sleep()
2402  如果addr__vunmap(addr, 0)
调用者
名称描述
__dma_common_pages_remap
dma_common_free_remapUnmaps a range previously mapped by dma_common_*_remap
kimage_free
relay_destroy_buflay_destroy_buf - destroy an rchan_buf struct and associated buffer*@buf: the buffer struct
vmapvmap - map an array of pages into virtually contiguous space*@pages: array of page pointers*@count: number of pages to map*@flags: vm_area->flags*@prot: page protection for the mapping* Maps @count pages from @pages into contiguous kernel virtual* space