Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Unmaps a range previously mapped by dma_common_*_remap

Proto:void dma_common_free_remap(void *cpu_addr, size_t size)

Type:void

Parameter:

TypeParameterName
void *cpu_addr
size_tsize
90  area = find_vm_area(cpu_addr)
92  If Not area || flags != dma_alloc_coherent Then
93  WARN(1, "trying to free invalid coherent area: %p\n", cpu_addr)
94  Return
97  unmap_kernel_range((unsignedlong)cpu_addr, align the pointer to the (next) page boundary (size))
98  vunmap(cpu_addr)