Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__dma_common_pages_remap

Proto:static struct vm_struct *__dma_common_pages_remap(struct page **pages, size_t size, pgprot_t prot, const void *caller)

Type:struct vm_struct

Parameter:

TypeParameterName
struct page **pages
size_tsize
pgprot_tprot
const void *caller
28  area = get_vm_area_caller(size, dma_alloc_coherent , caller)
29  If Not area Then Return NULL
32  If map_vm_area(area, prot, pages) Then
33  vunmap(addr)
34  Return NULL
37  Return area
Caller
NameDescribe
dma_common_pages_remapRemaps an array of PAGE_SIZE pages into another vm_area.* Cannot be used in non-sleeping contexts
dma_common_contiguous_remapRemaps an allocated contiguous region into another vm_area.* Cannot be used in non-sleeping contexts