Function report |
Source Code:kernel\dma\direct.c |
Create Date:2022-07-28 10:33:11 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:dma_direct_free_pages
Proto:void dma_direct_free_pages(struct device *dev, size_t size, void *cpu_addr, dma_addr_t dma_addr, unsigned long attrs)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct device * | dev | |
size_t | size | |
void * | cpu_addr | |
dma_addr_t | dma_addr | |
unsigned long | attrs |
215 | page_order = get_order - Determine the allocation order of a memory size*@size: The size for which to get the order* Determine the allocation order of a particular sized block of memory |
220 | dma_free_contiguous(dev, cpu_addr, size) |
221 | Return |
228 | If force_dma_unencrypted(dev) Then set_memory_encrypted((unsignedlong)cpu_addr, 1 << page_order) |
234 | dma_free_contiguous(dev, dma_direct_to_page(dev, dma_addr), size) |
Name | Describe |
---|---|
gart_free_coherent | a coherent mapping |
dma_direct_free | |
gart_alloc_coherent | allocate and map a coherent mapping |
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 |