Function report |
Source Code:fs\io_uring.c |
Create Date:2022-07-28 20:22:24 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Sets up an aio uring context, and returns the fd. Applications asks for a* ring size, we return the actual sq/cq ring sizes (among other things) in the* params structure passed in.
Proto:static long io_uring_setup(unsigned int entries, struct io_uring_params __user *params)
Type:long
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned int | entries | |
| struct io_uring_params __user * | params |
| 5426 | If copy_from_user( & p, params, size of p ) Then Return -EFAULT |
| 5433 | If flags & ~( _context is polled | SQ poll thread | sq_thread_cpu is valid | app defines CQ size ) Then Return -EINVAL |
| 5437 | ret = io_uring_create(entries, & p) |
| 5441 | If copy_to_user(params, & p, size of p ) Then Return -EFAULT |
| 5444 | Return ret |
| Name | Describe |
|---|---|
| SYSCALL_DEFINE2 |
| 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 |