Function report |
Source Code:kernel\dma\debug.c |
Create Date:2022-07-28 10:35:25 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:debug_dma_free_coherent
Proto:void debug_dma_free_coherent(struct device *dev, size_t size, void *virt, dma_addr_t addr)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct device * | dev | |
size_t | size | |
void * | virt | |
dma_addr_t | addr |
1468 | struct dma_debug_entry ref = {type = dma_debug_coherent, dev = dev, offset = offset_in_page(virt), dev_addr = addr, size = size, direction = DMA_BIDIRECTIONAL, } |
1481 | If 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. Then pfn = vmalloc_to_pfn(virt) |
1483 | Else pfn = page_to_pfn(virt_to_page(kaddr) returns a valid pointer if and only if* virt_addr_valid(kaddr) returns true.(virt)) |
1486 | If Value for the false possibility is greater at compile time(dma_debug_disabled()) Then Return |
1489 | check_unmap( & ref) |
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 |