Function report |
Source Code:include\linux\dma-noncoherent.h |
Create Date:2022-07-28 10:32:25 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Check if an allocation needs to be marked uncached to be coherent.
Proto:static __always_inline bool dma_alloc_need_uncached(struct device *dev, unsigned long attrs)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct device * | dev | |
| unsigned long | attrs |
| 30 | If dev_is_dma_coherent(dev) Then Return false |
| 32 | If attrs & DMA_ATTR_NO_KERNEL_MAPPING: Lets the platform to avoid creating a kernel* virtual mapping for the allocated buffer. Then Return false |
| 37 | Return true |
| Name | Describe |
|---|---|
| dma_direct_alloc_pages | |
| dma_direct_alloc | |
| dma_direct_free |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |