函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\task_work.h Create Date:2022-07-27 06:57:58
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:init_task_work

函数原型:static inline void init_task_work(struct callback_head *twork, task_work_func_t func)

返回类型:void

参数:

类型参数名称
struct callback_head *twork
task_work_func_tfunc
13  func等于func
调用者
名称描述
irq_threadInterrupt handler thread
uprobe_copy_process复制上下文
keyctl_session_to_parentAttempt to install the calling process's session keyring on the process's* parent process.* The keyring must exist and must grant the caller LINK permission, and the* parent process must be single-threaded and must have the same effective
report_accessdefers execution because cmdline access can sleep
fput_many
mntput_no_expire