Function report | 
Source Code:kernel\dma\contiguous.c | 
Create Date:2022-07-28 10:33:36 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:dma_alloc_contiguous() - allocate contiguous pages*@dev: Pointer to device for which the allocation is performed
Proto:struct page *dma_alloc_contiguous(struct device *dev, size_t size, gfp_t gfp)
Type:struct page
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct device * | dev | |
| size_t | size | |
| gfp_t | gfp | 
| 234 | count = size >> PAGE_SHIFT determines the page size | 
| 240 | Else if count > 1 Then cma = dma_contiguous_default_area | 
| 244 | If cma && gfpflags_allow_blocking(gfp) Then | 
| 245 | align = 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 | 
| 251 | Return page | 
| 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  |