函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:dma_coherent_ok

函数原型:static bool dma_coherent_ok(struct device *dev, phys_addr_t phys, size_t size)

返回类型:bool

参数:

类型参数名称
struct device *dev
phys_addr_tphys
size_tsize
86  返回:phys_to_dma_direct(dev, phys)加size减1小于等于min_not_zero - return the minimum that is _not_ zero, unless both are zero*@x: value1*@y: value2( Like dma_mask, but for alloc_coherent mappings as not all hardware supports 64 bit addresses for consistent allocations such descriptors. , upstream dma constraint )
调用者
名称描述
__dma_direct_alloc_pages