函数逻辑报告 |
Source Code:block\blk-ioc.c |
Create Date:2022-07-27 18:39:42 |
| Last Modify:2020-03-17 23:16:06 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:struct io_context *get_task_io_context(struct task_struct *task, gfp_t gfp_flags, int node)
返回类型:struct io_context
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct task_struct * | task | |
| gfp_t | gfp_flags | |
| int | node |
| 303 | 循环 |
| 305 | ioc等于io_context |
| 306 | 如果此条件成立可能性大(为编译器优化)(ioc)则 |
| 308 | task_unlock(task) |
| 309 | 返回:ioc |
| 311 | task_unlock(task) |
| 312 | 当非create_task_io_context(task, gfp_flags, node)循环 |
| 314 | 返回:NULL |
| 名称 | 描述 |
|---|---|
| set_task_ioprio | |
| copy_io | 复制I/O |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |