函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\dma\remap.c Create Date:2022-07-27 11:36:23
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Unmaps a range previously mapped by dma_common_*_remap

函数原型:void dma_common_free_remap(void *cpu_addr, size_t size)

返回类型:void

参数:

类型参数名称
void *cpu_addr
size_tsize
90  area等于find_vm_area(cpu_addr)
92  如果非areaflags不等于dma_alloc_coherent
93  WARN(1, "trying to free invalid coherent area: %p\n", cpu_addr)
94  返回
97  unmap_kernel_range((unsignedlong)cpu_addr, align the pointer to the (next) page boundary (size))
98  vunmap(cpu_addr)