函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk.h Create Date:2022-07-27 13:22:52
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:reate_io_context - try to create task->io_context*@gfp_mask: allocation mask*@node: allocation node* If %current->io_context is %NULL, allocate a new io_context and install* it. Returns the current %current->io_context which may be %NULL if

函数原型:static inline struct io_context *create_io_context(gfp_t gfp_mask, int node)

返回类型:struct io_context

参数:

类型参数名称
gfp_tgfp_mask
intnode
299  WARN_ON_ONCE(已禁止中断())
300  如果此条件成立可能性小(为编译器优化)(!io_context)则create_task_io_context(当前进程, gfp_mask, node)
302  返回:io_context
调用者
名称描述
generic_make_request_checks