Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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.

Proto:void vunmap(const void *addr)

Type:void

Parameter:

TypeParameterName
const void *addr
2400  BUG_ON(in_interrupt())
2401  might_sleep()
2402  If addr Then __vunmap(addr, 0)
Caller
NameDescribe
__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