函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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).

函数原型:int __init dma_contiguous_reserve_area(phys_addr_t size, phys_addr_t base, phys_addr_t limit, struct cma **res_cma, bool fixed)

返回类型:int

参数:

类型参数名称
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  如果ret则返回:ret
175  dma_contiguous_early_fixup(cma_get_base( * res_cma), cma_get_size( * res_cma))
178  返回:0
调用者
名称描述
dma_contiguous_reservedma_contiguous_reserve() - reserve area(s) for contiguous memory handling*@limit: End address of the reserved memory (optional, 0 for any)