| Function report | 
| Source Code: lib\scatterlist.c | Create Date:2022-07-28 06:20:41 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:The default behaviour of sg_alloc_table() is to use these kmalloc/kfree* helpers.
Proto:static struct scatterlist *sg_kmalloc(unsigned int nents, gfp_t gfp_mask)
Type:struct scatterlist
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| unsigned int | nents | |
| gfp_t | gfp_mask | 
| 161 | ptr = __get_free_page(gfp_mask) | 
| 163 | Return ptr | 
| 164 | Else Return kmalloc_array - allocate memory for an array.*@n: number of elements.*@size: element size.*@flags: the type of memory to allocate (see kmalloc). | 
| 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 |