Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:dma_contiguous_reserve_area() - reserve custom contiguous area*@size: Size of the reserved area (in bytes),*@base: Base address of the reserved area optional, use 0 for any*@limit: End address of the reserved memory (optional, 0 for any).

Proto:int __init dma_contiguous_reserve_area(phys_addr_t size, phys_addr_t base, phys_addr_t limit, struct cma **res_cma, bool fixed)

Type:int

Parameter:

TypeParameterName
phys_addr_tsize
phys_addr_tbase
phys_addr_tlimit
struct cma **res_cma
boolfixed
169  ret = cma_declare_contiguous(base, size, limit, 0, 0, fixed, "reserved", res_cma)
171  If ret Then Return ret
175  dma_contiguous_early_fixup(cma_get_base( * res_cma), cma_get_size( * res_cma))
178  Return 0
Caller
NameDescribe
dma_contiguous_reservedma_contiguous_reserve() - reserve area(s) for contiguous memory handling*@limit: End address of the reserved memory (optional, 0 for any)