函数逻辑报告 |
Source Code:include\linux\dma-mapping.h |
Create Date:2022-07-27 06:51:43 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:dma_map_single_attrs
函数原型:static inline dma_addr_t dma_map_single_attrs(struct device *dev, void *ptr, size_t size, enum dma_data_direction dir, unsigned long attrs)
返回类型:dma_addr_t
参数:
类型 | 参数 | 名称 |
---|---|---|
struct device * | dev | |
void * | ptr | |
size_t | size | |
enum dma_data_direction | dir | |
unsigned long | attrs |
584 | 如果dev_WARN_ONCE(dev, Determine if an address is within the vmalloc range* On nommu, vmalloc/vfree wrap through kmalloc/kfree directly, so there* is no special casing required., "rejecting DMA map of vmalloc memory\n")则返回:DMA_MAPPING_ERROR |
587 | debug_dma_map_single(dev, ptr, size) |
588 | 返回:dma_map_page_attrs(dev, virt_to_page(kaddr) returns a valid pointer if and only if* virt_addr_valid(kaddr) returns true.(ptr), offset_in_page(ptr), size, dir, attrs) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |