Function report |
Source Code:block\blk-ioc.c |
Create Date:2022-07-28 17:04:26 |
| Last Modify:2020-03-17 23:16:06 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:get_task_io_context - get io_context of a task*@task: task of interest*@gfp_flags: allocation flags, used if allocation is necessary*@node: allocation node, used if allocation is necessary* Return io_context of @task
Proto:struct io_context *get_task_io_context(struct task_struct *task, gfp_t gfp_flags, int node)
Type:struct io_context
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct task_struct * | task | |
| gfp_t | gfp_flags | |
| int | node |
| 303 | Do |
| 305 | ioc = io_context |
| 306 | If Value is more likely to compile time(ioc) Then |
| 308 | task_unlock(task) |
| 309 | Return ioc |
| 311 | task_unlock(task) |
| 312 | When Not create_task_io_context(task, gfp_flags, node) cycle |
| 314 | Return NULL |
| Name | Describe |
|---|---|
| set_task_ioprio |
| 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 |