Function report |
Source Code:kernel\dma\mapping.c |
Create Date:2022-07-28 10:32:36 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Create scatter-list for the already allocated DMA buffer.
Proto:int dma_common_get_sgtable(struct device *dev, struct sg_table *sgt, void *cpu_addr, dma_addr_t dma_addr, size_t size, unsigned long attrs)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct device * | dev | |
struct sg_table * | sgt | |
void * | cpu_addr | |
dma_addr_t | dma_addr | |
size_t | size | |
unsigned long | attrs |
115 | page = virt_to_page(kaddr) returns a valid pointer if and only if* virt_addr_valid(kaddr) returns true.(cpu_addr) |
121 | Return ret |
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 |