函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:dev_is_dma_coherent

函数原型:static inline bool dev_is_dma_coherent(struct device *dev)

返回类型:bool

参数:

类型参数名称
struct device *dev
20  返回:true
调用者
名称描述
dma_pgprotReturn the page attributes used for mapping dma_alloc_* memory, either in* kernel space if remapping is needed, or to userspace through dma_mmap_*.
dma_direct_map_page
dma_direct_can_mmap
dma_alloc_need_uncachedCheck if an allocation needs to be marked uncached to be coherent.