Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\dma-mapping.h Create Date:2022-07-28 05:51:32
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:dma_is_direct

Proto:static inline bool dma_is_direct(const struct dma_map_ops *ops)

Type:bool

Parameter:

TypeParameterName
const struct dma_map_ops *ops
193  Return Value is more likely to compile time(!ops)
Caller
NameDescribe
dma_get_sgtable_attrsThe whole dma_get_sgtable() idea is fundamentally unsafe - it seems* that the intention is to allow exporting memory allocated via the* coherent DMA APIs through the dma_buf API, which only accepts a* scattertable. This presents a couple of problems:* 1
dma_can_mmapdma_can_mmap - check if a given device supports dma_mmap_**@dev: device to check* Returns %true if @dev supports dma_mmap_coherent() and dma_mmap_attrs() to* map DMA allocations to userspace.
dma_mmap_attrsdma_mmap_attrs - map a coherent DMA allocation into user space*@dev: valid struct device pointer, or NULL for ISA and EISA-like devices*@vma: vm_area_struct describing requested user mapping*@cpu_addr: kernel CPU-view address returned from
dma_get_required_mask
dma_alloc_attrs
dma_free_attrs
dma_supported
dma_cache_sync
dma_max_mapping_size