| Function report | 
| Source Code: fs\io_uring.c | Create Date:2022-07-28 20:22:22 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:io_uring_validate_mmap_request
Proto:static void *io_uring_validate_mmap_request(struct file *file, loff_t pgoff, size_t sz)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct file * | file | |
| loff_t | pgoff | |
| size_t | sz | 
| 5082 | offset = pgoff << PAGE_SHIFT determines the page size | 
| 5088 | Case offset == IORING_OFF_CQ_RING | 
| 5091 | Case offset == IORING_OFF_SQES | 
| 5094 | Default | 
| 5098 | page = virt_to_head_page(ptr) | 
| 5099 | If sz > Returns the number of bytes in this potentially compound page. Then Return ERR_PTR( - EINVAL) | 
| 5102 | Return ptr | 
| Name | Describe | 
|---|---|
| io_uring_mmap | 
| 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 |