函数逻辑报告 |
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 |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Check if an allocation needs to be marked uncached to be coherent.
函数原型:static __always_inline bool dma_alloc_need_uncached(struct device *dev, unsigned long attrs)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct device * | dev | |
unsigned long | attrs |
30 | 如果dev_is_dma_coherent(dev)则返回:false |
32 | 如果attrs按位与DMA_ATTR_NO_KERNEL_MAPPING: Lets the platform to avoid creating a kernel* virtual mapping for the allocated buffer.则返回:false |
37 | 返回:true |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |