| Function report | 
| Source Code: fs\io_uring.c | Create Date:2022-07-28 20:22:19 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:io_sqe_alloc_file_tables
Proto:static int io_sqe_alloc_file_tables(struct io_ring_ctx *ctx, unsigned nr_tables, unsigned nr_files)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct io_ring_ctx * | ctx | |
| unsigned | nr_tables | |
| unsigned | nr_files | 
| 4261 | this_files = min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(nr_files, IORING_MAX_FILES_TABLE) | 
| 4262 | files = kcalloc - allocate memory for an array. The memory is set to zero.*@n: number of elements.*@size: element size.*@flags: the type of memory to allocate (see kmalloc). | 
| 4264 | If Not files Then Break | 
| 4266 | nr_files -= this_files | 
| 4276 | Return 1 | 
| Name | Describe | 
|---|---|
| io_sqe_files_register | 
| 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 |