Function report | 
Source Code:fs\io_uring.c | 
Create Date:2022-07-28 20:22:10 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Get as many references to a file as we have IOs left in this submission,* assuming most submissions are for one file, or at least that each file* has more than one submission.
Proto:static struct file *io_file_get(struct io_submit_state *state, int fd)
Type:struct file
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct io_submit_state * | state | |
| int | fd | 
| 1461 | If * File reference cache Then | 
| 1467 | io_file_put(state) | 
| 1469 | * File reference cache = fget_many(fd, ios_left) | 
| 1470 | If Not * File reference cache Then Return NULL | 
| 1475 | used_refs = 1 | 
| 1476 | ios_left-- | 
| 1477 | Return * File reference cache | 
| Name | Describe | 
|---|---|
| io_req_set_file | 
| 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  |