| Function report | 
| Source Code: lib\sg_pool.c | Create Date:2022-07-28 07:20:33 | 
| Last Modify:2022-05-21 18:25:42 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:sg_alloc_table_chained - Allocate and chain SGLs in an sg table*@table: The sg table header to use*@nents: Number of entries in sg list*@first_chunk: first SGL*@nents_first_chunk: number of the SGL of @first_chunk* Description:
Proto:int sg_alloc_table_chained(struct sg_table *table, int nents, struct scatterlist *first_chunk, unsigned nents_first_chunk)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct sg_table * | table | |
| int | nents | |
| struct scatterlist * | first_chunk | |
| unsigned | nents_first_chunk | 
| 118 | If first_chunk && nents_first_chunk Then | 
| 119 | If nents <= nents_first_chunk Then | 
| 127 | If nents_first_chunk <= 1 Then | 
| 128 | first_chunk = NULL | 
| 129 | nents_first_chunk = 0 | 
| 137 | 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 |