Function report |
Source Code:kernel\dma\debug.c |
Create Date:2022-07-28 10:35:22 |
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_unmap_sg
Proto:void debug_dma_unmap_sg(struct device *dev, struct scatterlist *sglist, int nelems, int dir)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct device * | dev | |
struct scatterlist * | sglist | |
int | nelems | |
int | dir |
1402 | mapped_ents = 0 |
1404 | If Value for the false possibility is greater at compile time(dma_debug_disabled()) Then Return |
1409 | struct dma_debug_entry ref = {type = dma_debug_sg, dev = dev, pfn = page_to_pfn(sg_page(s)), offset = offset, dev_addr = These macros should be used after a dma_map_sg call has been done* to get bus addresses of each of the SG entries and their lengths(s), size = sg_dma_len(s), direction = dir, sg_call_ents = nelems, } |
1420 | If mapped_ents && i >= mapped_ents Then Break |
1423 | If Not i Then mapped_ents = get_nr_mapped_entries(dev, & ref) |
1426 | 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 |