Function report |
Source Code:kernel\fork.c |
Create Date:2022-07-28 08:58:12 |
| Last Modify:2020-03-17 11:04:53 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:copy_io
Proto:static int copy_io(unsigned long clone_flags, struct task_struct *tsk)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned long | clone_flags | |
| struct task_struct * | tsk |
| 1479 | ioc = io_context |
| 1482 | If Not ioc Then Return 0 |
| 1487 | If clone_flags & Clone io context Then |
| 1488 | ioc_task_link(ioc) |
| 1489 | io_context = ioc |
| 1490 | Else if ioprio_valid(ioprio) Then |
| 1491 | new_ioc = get_task_io_context(tsk, GFP_KERNEL, NUMA_NO_NODE) |
| 1492 | If Value for the false possibility is greater at compile time(!new_ioc) Then Return -ENOMEM |
| 1496 | put_io_context(new_ioc) |
| 1499 | Return 0 |
| Name | Describe |
|---|---|
| copy_process | Create a new process |
| 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 |